make pigs drop spesos (#6173)
* make pigs drop spesos * no testing thats maints problem * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update animals.yml * null + coins --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Stxcking <217132821+Stxcking@users.noreply.github.com>
This commit is contained in:
parent
1405fdc222
commit
554d044365
|
|
@ -3806,8 +3806,13 @@
|
|||
spawned:
|
||||
- id: FoodMeat
|
||||
amount: 6
|
||||
- id: FoodMeatBacon # DeltaV #Make Pigs drop bacon as well as meat
|
||||
# Begin DeltaV Additions
|
||||
- id: FoodMeatBacon
|
||||
amount: 6
|
||||
- id: TreasureCoinIron
|
||||
amount: 0
|
||||
maxAmount: 3
|
||||
# End DeltaV Additions
|
||||
- type: Grammar
|
||||
attributes:
|
||||
gender: epicene
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
- type: entity
|
||||
parent: MarkerBase
|
||||
id: RandomTreasureCoin
|
||||
name: random treasure coin spawner
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: red
|
||||
- sprite: Objects/Misc/coins.rsi
|
||||
state: coin_gold
|
||||
- type: EntityTableSpawner
|
||||
offset: 0
|
||||
table: !type:GroupSelector
|
||||
prob: 0.8
|
||||
children:
|
||||
- !type:GroupSelector
|
||||
children:
|
||||
- id: TreasureCoinIron
|
||||
weight: 100
|
||||
amount: !type:RangeNumberSelector
|
||||
range: 1, 3
|
||||
- id: TreasureCoinSilver
|
||||
weight: 2
|
||||
- id: TreasureCoinGold
|
||||
- id: TreasureCoinIron
|
||||
prob: 0.01
|
||||
rolls: !type:ConstantNumberSelector
|
||||
value: 100
|
||||
Loading…
Reference in New Issue