Cash and Ash presents (#22391)

This commit is contained in:
IProduceWidgets 2023-12-12 02:58:30 -05:00 committed by Debug
parent 350ec908ae
commit acdfe39af9
2 changed files with 54 additions and 1 deletions

View File

@ -421,7 +421,10 @@
- type: LimitedItemGiver
spawnEntries:
- id: PresentRandom
# orGroup: present
orGroup: present
- id: PresentRandomCash
prob: 0.20
orGroup: present
# - id: PresentRandomUnsafe # DeltaV - Disabled until we get a list of actually safe items.
# prob: 0.25
# orGroup: present

View File

@ -374,6 +374,56 @@
sound:
path: /Audio/Effects/unwrap.ogg
- type: entity
id: PresentRandomAsh
parent: [PresentBase, BaseItem]
suffix: Filled Ash
components:
- type: SpawnItemsOnUse
items:
- id: PresentTrash
- id: Ash # No coal yet!
orGroup: GiftPool
sound:
path: /Audio/Effects/unwrap.ogg
- type: entity
id: PresentRandomCash
parent: [PresentBase, BaseItem]
suffix: Filled Cash
components:
- type: SpawnItemsOnUse
items:
- id: PresentTrash
- id: SpaceCash
prob: .01
orGroup: GiftPool
- id: SpaceCash10
prob: .1
orGroup: GiftPool
- id: SpaceCash100
prob: .5
orGroup: GiftPool
- id: SpaceCash500
orGroup: GiftPool
- id: SpaceCash1000
prob: .01
orGroup: GiftPool
- id: SpaceCash2500
prob: .004
orGroup: GiftPool
- id: SpaceCash5000
prob: .002
orGroup: GiftPool
- id: SpaceCash10000
prob: .001
orGroup: GiftPool
- id: SpaceCash1000000
prob: .000001
orGroup: GiftPool
sound:
path: /Audio/Effects/unwrap.ogg
- type: entity
id: PresentTrash
noSpawn: true