From 8e9d76d1a366588ac385edc5cccf75c652530dde Mon Sep 17 00:00:00 2001 From: Stop-Signs Date: Sun, 1 Dec 2024 13:11:51 -0600 Subject: [PATCH] This took me 45 minuets please dont roast me --- .../DeltaV/Catalog/Fills/Lockers/security.yml | 2 +- .../Entities/Markers/Spawners/Random/safes.yml | 14 ++++++++++---- .../Markers/Spawners/Random/security.yml | 18 ++++++++++++++---- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml b/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml index 935dd8ff804..3a3a079829a 100644 --- a/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml +++ b/Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml @@ -87,7 +87,7 @@ contents: - id: WeaponLauncherRocket - id: CartridgeRocket - prob: 0.2 + prob: 0.2 - type: entity parent: GunSafe diff --git a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml index 56edffe1148..a0cd7ca01dd 100644 --- a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml +++ b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/safes.yml @@ -60,7 +60,13 @@ suffix: Superweapon components: - type: EntityTableSpawner - table: !type:GroupSelector - children: - - id: GunSafeBeamDevastator - - id: GunSafeRocketLauncher + table: !type:NestedSelector + tableId: RandomSuperweaponSafeTable + +#Table +- type: entityTable + id: RandomSuperweaponSafeTable + table: !type:GroupSelector + children: + - id: GunSafeRocketLauncher + - id: GunSafeBeamDevastator diff --git a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml index 1eac1e25aff..2cebec52d97 100644 --- a/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml +++ b/Resources/Prototypes/DeltaV/Entities/Markers/Spawners/Random/security.yml @@ -4,7 +4,17 @@ id: LootSpawnerSecuritySuperweapon parent: MarkerBase components: - - type: RandomSpawner - prototypes: - - WeaponBeamDevastator - - WeaponLauncherRocket + - type: EntityTableSpawner + table: !type:NestedSelector + tableId: RandomSuperweaponTable + +#Table +- type: entityTable + id: RandomSuperweaponTable + table: !type:GroupSelector + children: + - !type:AllSelector + children: + - id: WeaponLauncherRocket + - id: CartridgeRocket + - id: WeaponBeamDevastator