Skip to content

Commit

Permalink
add random gun safe spawners (DeltaV-Station#1466)
Browse files Browse the repository at this point in the history
* minor bullshittery

* fuck visual studio code

* yaml ops

* yaml ops 2 electric boogaloo
  • Loading branch information
MilonPL authored Jul 7, 2024
1 parent 895028a commit 998beee
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,15 @@
contents:
- id: WeaponEnergyGunMini
amount: 3

- type: entity
parent: GunSafe
id: GunSafeM90Rifle
name: M-90 rifle safe
components:
- type: StorageFill
contents:
- id: WeaponRifleM90
amount: 2
- id: MagazineRifle
amount: 4
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
- type: entity
id: BaseGunSafeSpawner
name: random safe spawner
parent: MarkerBase
abstract: true
components:
- type: Sprite
layers:
- state: red
- sprite: Structures/Storage/closet.rsi
state: shotguncase
- type: RandomSpawner
offset: 0

- type: entity
suffix: Shotgun
id: ShotgunSafeSpawner
parent: BaseGunSafeSpawner
components:
- type: RandomSpawner
prototypes:
- GunSafeShotgunEnforcer
- GunSafeShotgunKammerer
- GunSafeAdjutantShotgun

- type: entity
suffix: Rifle
id: RifleSafeSpawner
parent: BaseGunSafeSpawner
components:
- type: RandomSpawner
prototypes:
- GunSafeVulcanRifle
- GunSafeSubMachineGunDrozd
- GunSafeRifleLecter
- GunSafeM90Rifle

- type: entity
suffix: Handgun
id: HandgunSafeSpawner
parent: BaseGunSafeSpawner
components:
- type: RandomSpawner
prototypes:
- GunSafePistolMk58
rarePrototypes:
- GunSafeEnergyGunMini
- GunSafePistolUniversal
- GunSafeSubMachineGunWt550
rareChance: 0.15

0 comments on commit 998beee

Please sign in to comment.