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:
Proxy also works :3 2026-07-06 03:53:03 +02:00 committed by GitHub
parent 1405fdc222
commit 554d044365
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 1 deletions

View File

@ -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

View File

@ -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