Skip to content

Commit

Permalink
adds two new safe loot tables and spawns
Browse files Browse the repository at this point in the history
  • Loading branch information
Peptide90 committed Jun 30, 2024
1 parent 63d3bb0 commit a5facae
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 0 deletions.
95 changes: 95 additions & 0 deletions Resources/Prototypes/Nuclear14/Catalog/Fills/storage_fills_rp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1850,3 +1850,98 @@
prob: 0.05
- id: N14FloraWildXanderRootClippingSeed
prob: 0.05

- type: entity
abstract: true
id: N14StorageFillCurrency
components:
- type: StorageFill
contents:
- id: N14CurrencyCap10
prob: 0.4
orGroup: Currency
- id: N14CurrencyCap50
prob: 0.3
orGroup: Currency
- id: N14CurrencyCap100
prob: 0.2
orGroup: Currency
- id: N14CurrencyCap500
prob: 0.05
orGroup: Currency
- id: N14CurrencyPrewarMoney10
prob: 0.4
orGroup: Currency
- id: N14CurrencyPrewarMoney50
prob: 0.3
orGroup: Currency
- id: N14CurrencyPrewarMoney100
prob: 0.2
orGroup: Currency
- id: N14CurrencyPrewarMoney500
prob: 0.05
orGroup: Currency
- id: N14CurrencyNCRDollar10
prob: 0.4
orGroup: Currency
- id: N14CurrencyNCRDollar50
prob: 0.3
orGroup: Currency
- id: N14CurrencyNCRDollar100
prob: 0.2
orGroup: Currency
- id: N14CurrencyNCRDollar500
prob: 0.05
orGroup: Currency
- id: N14CurrencyLegionAureus10
prob: 0.4
orGroup: Currency
- id: N14CurrencyLegionAureus50
prob: 0.3
orGroup: Currency
- id: N14CurrencyLegionAureus100
prob: 0.2
orGroup: Currency
- id: N14CurrencyLegionDenarius10
prob: 0.4
orGroup: Currency
- id: N14CurrencyLegionDenarius50
prob: 0.3
orGroup: Currency
- id: N14CurrencyLegionDenarius100
prob: 0.2
orGroup: Currency

- type: entity
abstract: true
id: N14StorageFillSafePrewar
components:
- type: StorageFill
contents:
- id: N14CurrencyCap10
prob: 0.4
orGroup: Currency
- id: N14CurrencyCap50
prob: 0.3
orGroup: Currency
- id: N14CurrencyCap100
prob: 0.2
orGroup: Currency
- id: N14CurrencyCap500
prob: 0.05
orGroup: Currency
- id: N14CurrencyPrewarMoney10
prob: 0.4
orGroup: Currency
- id: N14CurrencyPrewarMoney50
prob: 0.3
orGroup: Currency
- id: N14CurrencyPrewarMoney100
prob: 0.2
orGroup: Currency
- id: N14IDPassport
prob: 0.2
- id: N14IDDoctor
prob: 0.2
- id: IngotGold1
prob: 0.2
33 changes: 33 additions & 0 deletions Resources/Prototypes/Nuclear14/Entities/Objects/Misc/currency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,17 @@
state: moneybag
- type: Stack
count: 100

- type: entity
parent: N14CurrencyCap
id: N14CurrencyCap500
suffix: 500
components:
- type: Icon
sprite: Nuclear14/Objects/Misc/storage.rsi
state: moneybag
- type: Stack
count: 500

# Pre-War
- type: entity
Expand Down Expand Up @@ -173,6 +184,17 @@
- type: Stack
count: 100

- type: entity
parent: N14CurrencyPrewar
id: N14CurrencyPrewarMoney500
suffix: 500
components:
- type: Icon
sprite: Nuclear14/Objects/Misc/currency.rsi
state: prewar3
- type: Stack
count: 500

# NCR Dollars
- type: entity
parent: N14CurrencyCap
Expand Down Expand Up @@ -235,6 +257,17 @@
- type: Stack
count: 100

- type: entity
parent: N14CurrencyNCRDollar
id: N14CurrencyNCRDollar500
suffix: 500
components:
- type: Icon
sprite: Nuclear14/Objects/Misc/currency.rsi
state: ncr3
- type: Stack
count: 500

# Legion Aureus
- type: entity
parent: N14CurrencyCap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@
parent: [ N14ClosetSafe, N14BaseMilitaryStorageFill ]
id: N14LootClosetSafe
suffix: Loot, Random Military

- type: entity
parent: [ N14ClosetSafe, N14StorageFillCurrency ]
id: N14LootClosetSafeCurrency
suffix: Loot, Currency one stack random

- type: entity
parent: [ N14ClosetSafe, N14StorageFillSafePrewar ]
id: N14LootClosetSafePrewar
suffix: Loot, safe pre-war

- type: entity
parent: N14ClosetSafe
Expand Down

0 comments on commit a5facae

Please sign in to comment.