]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
HOS & Warden Weapon Spawners (#40860)
authorNox <nebulousnox38@gmail.com>
Fri, 24 Oct 2025 13:58:58 +0000 (06:58 -0700)
committerGitHub <noreply@github.com>
Fri, 24 Oct 2025 13:58:58 +0000 (13:58 +0000)
* Added HOS weapon spawner

Signed-off-by: Nox38 <nebulousnox38@gmail.com>
* Added a new file for the weapon spawns, added warden weapon spawner.

Signed-off-by: Nox38 <nebulousnox38@gmail.com>
* Added offset to the spawners

Signed-off-by: Nox38 <nebulousnox38@gmail.com>
---------

Signed-off-by: Nox38 <nebulousnox38@gmail.com>
Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Resources/Prototypes/Entities/Markers/Spawners/rooms.yml [new file with mode: 0644]

index 48bed23bc9bb834d9d5c0c8e8a1683987d4e9dba..a6add7f4b7b03b1399b69d8404c83c2e8d9a1cad 100644 (file)
@@ -46,7 +46,6 @@
       amount: 2
     - id: NetworkConfigurator
     - id: Binoculars
-    - id: WeaponEnergyShotgun
 
 - type: entityTable
   id: FillLockerWardenHarduit
diff --git a/Resources/Prototypes/Entities/Markers/Spawners/rooms.yml b/Resources/Prototypes/Entities/Markers/Spawners/rooms.yml
new file mode 100644 (file)
index 0000000..34d3287
--- /dev/null
@@ -0,0 +1,36 @@
+# Weapons
+- type: entity
+  parent: MarkerBase
+  id: SpawnPointHeadOfSecurityWeapon
+  name: head of security weapon spawner
+  components:
+  - type: EntityTableSpawner
+    offset: 0.2
+    table: !type:AllSelector
+      children:
+      - id: WeaponSubMachineGunWt550
+      - id: MagazinePistolSubMachineGunTopMounted
+      - id: MagazinePistolSubMachineGunTopMounted
+  - type: Sprite
+    sprite: Markers/jobs.rsi
+    layers:
+    - state: green
+    - sprite: Objects/Weapons/Guns/SMGs/wt550.rsi
+      state: icon
+
+- type: entity
+  parent: MarkerBase
+  id: SpawnPointWardenWeapon
+  name: warden weapon spawner
+  components:
+  - type: EntityTableSpawner
+    offset: 0.2
+    table: !type:AllSelector
+      children:
+      - id: WeaponEnergyShotgun
+  - type: Sprite
+    sprite: Markers/jobs.rsi
+    layers:
+    - state: green
+    - sprite: Objects/Weapons/Guns/Battery/energy_shotgun.rsi
+      state: icon