From 7f608b6fa3d573473f5f546ecec423e17692e6dc Mon Sep 17 00:00:00 2001 From: Stop-Signs Date: Sun, 1 Dec 2024 17:32:00 -0600 Subject: [PATCH] Superweapon Safe and spawner (#2322) * Meow * Update security.yml * This took me 45 minuets please dont roast me * Thanks milon * Fix failcheck * i hate everything --- .../DeltaV/Catalog/Fills/Lockers/security.yml | 21 +++++++++++++++++++ .../Markers/Spawners/Random/safes.yml | 11 ++++++++++ .../Markers/Spawners/Random/security.yml | 21 +++++++++++++++++++ .../Weapons/Guns/Battery/battery_guns.yml | 2 +- 4 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml diff --git a/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml b/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml index 94d0748b3c4..935dd8ff804 100644 --- a/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml +++ b/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml @@ -77,3 +77,24 @@ amount: 2 - id: MagazineRifle amount: 4 + +- type: entity + parent: GunSafe + id: GunSafeRocketLauncher + name: RPG safe + components: + - type: StorageFill + contents: + - id: WeaponLauncherRocket + - id: CartridgeRocket + prob: 0.2 + +- type: entity + parent: GunSafe + id: GunSafeBeamDevastator + name: Devastator safe + components: + - type: StorageFill + contents: + - id: WeaponBeamDevastator + diff --git a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml index 375bdd1d383..6ad9fc975b3 100644 --- a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml +++ b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml @@ -53,3 +53,14 @@ - id: GunSafeEnergyGunMini - id: GunSafePistolUniversal - id: GunSafeSubMachineGunWt550 + +- type: entity + parent: BaseGunSafeSpawner + id: SuperweaponSafeSpawner + suffix: Superweapon + components: + - type: EntityTableSpawner + table: !type:GroupSelector + children: + - id: GunSafeBeamDevastator + - id: GunSafeRocketLauncher \ No newline at end of file diff --git a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml new file mode 100644 index 00000000000..2fda11f0e54 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml @@ -0,0 +1,21 @@ +- type: entity + id: LootSpawnerSecuritySuperweapon + name: security superweapon spawner + suffix: superweapon + parent: MarkerBase + components: + - type: EntityTableSpawner + table: !type:NestedSelector + tableId: RandomSuperweaponTable + +#Table +- type: entityTable + id: RandomSuperweaponTable + table: !type:GroupSelector + children: + - !type:AllSelector + children: + - id: WeaponLauncherRocket + - id: CartridgeRocket + prob: 0.2 + - id: WeaponBeamDevastator \ No newline at end of file diff --git a/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml b/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml index ef2df6b0291..8885134daef 100644 --- a/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml +++ b/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Battery/battery_guns.yml @@ -298,7 +298,7 @@ - type: entity parent: BaseWeaponBattery - id: WeaponBeamDevestator + id: WeaponBeamDevastator name: beam devastator description: A powerful energy weapon that fires multiple rapid laser beams per second components: