]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Insuls Spawner (#34407)
authorSouthbridge <7013162+southbridge-fur@users.noreply.github.com>
Mon, 13 Jan 2025 04:28:20 +0000 (23:28 -0500)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2025 04:28:20 +0000 (05:28 +0100)
* Added insuls spawner, time to test

* adjusted whitespace since that was causing issues

* Update Resources/Prototypes/Entities/Markers/Spawners/Random/maintenance.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Prototypes/Entities/Markers/Spawners/Random/maintenance.yml

index 6a22da58eb952cab8d2e977686daab988fd443c3..be26279365ed6bc7ac930d1b553c2180bbd71b25 100644 (file)
         - Spaceshroom
       chance: 0.6
       offset: 0.0
+
+
+- type: entityTable
+  id: InsulsTable
+  table: !type:GroupSelector
+    children:
+    - id: ClothingHandsGlovesColorYellowBudget # budget insuls
+      weight: 85
+    - id: ClothingHandsGlovesColorYellow # true insuls
+      weight: 10
+    - id: ClothingHandsGlovesFingerlessInsulated # fingerless
+      weight: 4
+    - id: ClothingHandsGlovesConducting # conducting
+      weight: 1
+
+- type: entity
+  name: Maint Loot Spawner
+  id: MaintenanceInsulsSpawner
+  suffix: Insuls, safe
+  parent: MarkerBase
+  components:
+  - type: Sprite
+    layers:
+    - state: red
+    - sprite: Clothing/Hands/Gloves/Color/yellow.rsi
+      state: icon
+  - type: EntityTableSpawner
+    table: !type:NestedSelector
+      tableId: InsulsTable