Cash and Ash presents (#22391)

This commit is contained in:
IProduceWidgets
2023-12-12 02:58:30 -05:00
committed by GitHub
parent bf46fbaddb
commit cbfd3624c4
2 changed files with 55 additions and 2 deletions

View File

@@ -423,10 +423,13 @@
- id: PresentRandom - id: PresentRandom
orGroup: present orGroup: present
- id: PresentRandomUnsafe - id: PresentRandomUnsafe
prob: 0.25 prob: 0.35
orGroup: present orGroup: present
- id: PresentRandomInsane - id: PresentRandomInsane
prob: 0.10 prob: 0.20
orGroup: present
- id: PresentRandomCash
prob: 0.20
orGroup: present orGroup: present
receivedPopup: christmas-tree-got-gift receivedPopup: christmas-tree-got-gift
deniedPopup: christmas-tree-no-gift deniedPopup: christmas-tree-no-gift

View File

@@ -360,6 +360,56 @@
sound: sound:
path: /Audio/Effects/unwrap.ogg 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 - type: entity
id: PresentTrash id: PresentTrash
noSpawn: true noSpawn: true