Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superweapon Safe and spawner #2322

Merged
merged 6 commits into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Stop-Signs marked this conversation as resolved.
Show resolved Hide resolved
- id: CartridgeRocket
prob: 0.2

Stop-Signs marked this conversation as resolved.
Show resolved Hide resolved
- type: entity
parent: GunSafe
id: GunSafeBeamDevastator
name: Devastator safe
components:
- type: StorageFill
contents:
- id: WeaponBeamDevastator

Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,14 @@
- id: GunSafeEnergyGunMini
- id: GunSafePistolUniversal
- id: GunSafeSubMachineGunWt550

- type: entity
parent: BaseGunSafeSpawner
id: SuperweaponSafeSpawner
suffix: Superweapon
components:
- type: EntityTableSpawner
table: !type:GroupSelector
Stop-Signs marked this conversation as resolved.
Show resolved Hide resolved
children:
- id: GunSafeBeamDevastator
- id: GunSafeRocketLauncher
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOF newline

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- type: entity
Stop-Signs marked this conversation as resolved.
Show resolved Hide resolved
id: LootSpawnerSecuritySuperweapon
name: security superweapon spawner
Stop-Signs marked this conversation as resolved.
Show resolved Hide resolved
suffix: superweapon
parent: MarkerBase
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parent after type

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline

Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading