From 32f75ac03dd00902d89c2a33411039a5ed0f89c7 Mon Sep 17 00:00:00 2001 From: ekaratzas Date: Sat, 9 Mar 2024 18:32:41 -0800 Subject: [PATCH] feat(port): Add horse breeding (#4330) Add horse breeding (#55907) Co-authored-by: AtomicFox556 <98733651+AtomicFox556@users.noreply.github.com> Co-authored-by: LyleSY <26608431+LyleSY@users.noreply.github.com> --- data/json/monsters/mammal.json | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/data/json/monsters/mammal.json b/data/json/monsters/mammal.json index 0bd3202cab52..bfd64eb632d7 100644 --- a/data/json/monsters/mammal.json +++ b/data/json/monsters/mammal.json @@ -1652,6 +1652,40 @@ "death_function": [ "NORMAL" ], "flags": [ "SEES", "HEARS", "GOODHEARING", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM" ] }, + { + "id": "mon_horse_foal", + "type": "MONSTER", + "name": { "str": "foal" }, + "looks_like": "mon_horse", + "description": "A hooved grazing mammal with a mane of hair, a sweeping tail, and powerful-looking muscles. This one is still a juvenile; it'll take a while before it can be ridden.", + "default_faction": "herbivore", + "bodytype": "horse", + "categories": [ "WILDLIFE" ], + "species": [ "MAMMAL" ], + "volume": "200000 ml", + "weight": "200 kg", + "hp": 35, + "speed": 260, + "attack_cost": 230, + "material": [ "flesh" ], + "symbol": "H", + "color": "brown", + "aggression": -10, + "morale": 10, + "melee_skill": 3, + "melee_dice": 2, + "melee_dice_sides": 6, + "melee_cut": 0, + "dodge": 2, + "armor_bash": 2, + "anger_triggers": [ "FRIEND_ATTACKED" ], + "fear_triggers": [ "SOUND", "PLAYER_CLOSE" ], + "placate_triggers": [ "PLAYER_WEAK" ], + "harvest": "mammal_large_leather", + "upgrades": { "age_grow": 450, "into": "mon_horse" }, + "special_attacks": [ [ "EAT_CROP", 100 ] ], + "flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PET_WONT_FOLLOW", "PATH_AVOID_DANGER_1", "CATTLEFODDER", "WARM", "NO_BREED" ] + }, { "id": "mon_horse", "type": "MONSTER", @@ -1679,6 +1713,8 @@ "placate_triggers": [ "PLAYER_WEAK" ], "death_function": [ "NORMAL" ], "harvest": "mammal_large_leather", + "reproduction": { "baby_monster": "mon_horse_foal", "baby_count": 1, "baby_timer": 360 }, + "baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ], "special_attacks": [ [ "EAT_CROP", 60 ] ], "flags": [ "SEES",