Animal Husbandry (#17140)

* Animal Husbandry

* suffixes and VV

* sanitize

* fix fails
This commit is contained in:
Nemanja
2023-07-09 18:36:37 -04:00
committed by GitHub
parent 1fd43b660d
commit 716fcaa4a3
9 changed files with 561 additions and 0 deletions

View File

@@ -164,6 +164,22 @@
- MobMask
layer:
- MobLayer
- type: Tag
tags:
- DoorBumpOpener
- Chicken
- type: Reproductive
breedChance: 0.05
birthPopup: reproductive-laid-egg-popup
makeOffspringInfant: false
partnerWhitelist:
tags:
- Chicken
offspring:
- id: FoodEggChickenFertilized
maxAmount: 3
- type: ReproductivePartner
- type: Appearance
- type: DamageStateVisuals
states:
Alive:
@@ -195,6 +211,21 @@
factions:
- Passive
- type: entity
id: FoodEggChickenFertilized
parent: FoodEgg
suffix: Fertilized, Chicken
components:
- type: Timer
- type: TimedSpawner
prototypes:
- MobChicken
intervalSeconds: 20
minimumEntitiesSpawned: 1
maximumEntitiesSpawned: 1
- type: TimedDespawn #delete the egg after the chicken spawns
lifetime: 21
- type: entity
name: mallard duck #Quack
parent: SimpleMobBase
@@ -218,6 +249,22 @@
- MobMask
layer:
- MobLayer
- type: Tag
tags:
- DoorBumpOpener
- Duck
- type: Reproductive
breedChance: 0.05
birthPopup: reproductive-laid-egg-popup
makeOffspringInfant: false
partnerWhitelist:
tags:
- Duck
offspring:
- id: FoodEggDuckFertilized
maxAmount: 3
- type: ReproductivePartner
- type: Appearance
- type: DamageStateVisuals
states:
Alive:
@@ -281,6 +328,23 @@
Dead:
Base: dead-2
- type: entity
id: FoodEggDuckFertilized
parent: FoodEgg
suffix: Fertilized, Duck
components:
- type: Timer
- type: TimedSpawner
prototypes:
- MobDuckMallard
- MobDuckWhite
- MobDuckBrown
intervalSeconds: 20
minimumEntitiesSpawned: 1
maximumEntitiesSpawned: 1
- type: TimedDespawn #delete the egg after the chicken spawns
lifetime: 21
- type: entity
name: butterfly
parent: SimpleMobBase
@@ -343,6 +407,17 @@
- map: ["enum.DamageStateVisualLayers.Base"]
state: cow
sprite: Mobs/Animals/cow.rsi
- type: Tag
tags:
- DoorBumpOpener
- Cow
- type: Reproductive
partnerWhitelist:
tags:
- Cow
offspring:
- id: MobCow
- type: ReproductivePartner
- type: Physics
- type: Fixtures
fixtures:
@@ -464,6 +539,18 @@
- MobMask
layer:
- MobLayer
- type: Tag
tags:
- DoorBumpOpener
- Goat
- type: Reproductive
partnerWhitelist:
tags:
- Goat
offspring:
- id: MobGoat
- type: ReproductivePartner
- type: Appearance
- type: DamageStateVisuals
states:
Alive:
@@ -2114,6 +2201,17 @@
- type: Inventory
speciesId: pig
templateId: pet
- type: Tag
tags:
- DoorBumpOpener
- Pig
- type: Reproductive
partnerWhitelist:
tags:
- Pig
offspring:
- id: MobPig
- type: ReproductivePartner
- type: InventorySlots
- type: Strippable
- type: UserInterface

View File

@@ -411,6 +411,8 @@
- type: Tag
tags:
- CannotSuicide
- DoorBumpOpener
- Pig
- type: entity
name: Renault