diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml index c3f41ef7926..910971e737c 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/animals.yml @@ -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 diff --git a/Resources/Prototypes/_DV/Entities/Markers/Spawners/Random/treasure_coin.yml b/Resources/Prototypes/_DV/Entities/Markers/Spawners/Random/treasure_coin.yml new file mode 100644 index 00000000000..5c5b8f4dd73 --- /dev/null +++ b/Resources/Prototypes/_DV/Entities/Markers/Spawners/Random/treasure_coin.yml @@ -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