Skip to content

Commit

Permalink
Antlion reproduction
Browse files Browse the repository at this point in the history
Made antlions reproduce. Adult antlions are not predators.
  • Loading branch information
SuddenEyePuncture committed Jun 14, 2021
1 parent 8ffdf63 commit 4b8999f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 9 deletions.
12 changes: 12 additions & 0 deletions data/json/items/comestibles/egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,18 @@
"rot_spawn": "GROUP_EGG_CENTIPEDE",
"rot_spawn_chance": 50
},
{
"type": "COMESTIBLE",
"id": "egg_antlion",
"name": { "str": "antlion egg" },
"copy-from": "egg_insect",
"color": "yellow",
"symbol": "o",
"spoils_in": "5 days",
"description": "A large white antlion egg. There is something hard inside.",
"rot_spawn": "GROUP_EGG_ANTLION",
"rot_spawn_chance": 50
},
{
"type": "COMESTIBLE",
"id": "razorclaw_roe",
Expand Down
10 changes: 8 additions & 2 deletions data/json/monster_factions.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,18 @@
},
{
"type": "MONSTER_FACTION",
"name": "antlion",
"name": "antlion_grub",
"base_faction": "insect",
"neutral": [ "antlion" ],
"neutral": [ "antlion_grub", "antlion_adult" ],
"by_mood": [ "zombie", "fungus", "bee" ],
"hate": [ "insect", "small_animal", "ant", "acid_ant" ]
},
{
"type": "MONSTER_FACTION",
"name": "antlion_adult",
"base_faction": "insect",
"neutral": [ "antlion_grub", "antlion_adult" ]
},
{
"type": "MONSTER_FACTION",
"name": "ladybug",
Expand Down
6 changes: 6 additions & 0 deletions data/json/monstergroups/eggs.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,11 @@
{ "monster": "mon_dragonfly_naiad", "freq": 500, "cost_multiplier": 1, "conditions": [ "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_dragonfly_naiad", "freq": 500, "cost_multiplier": 1, "conditions": [ "SUMMER" ] }
]
},
{
"name": "GROUP_EGG_ANTLION",
"type": "monstergroup",
"default": "mon_antlion_larva",
"monsters": [ { "monster": "mon_antlion_larva", "freq": 1000, "cost_multiplier": 1 } ]
}
]
16 changes: 9 additions & 7 deletions data/json/monsters/insect_spider.json
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@
"type": "MONSTER",
"name": { "str": "giant antlion larva", "str_pl": "giant antlion larvae" },
"description": "This huge grub has powerful mandibles and a hungry look. It hides in dirt and waits for pray to come clother.",
"default_faction": "antlion",
"default_faction": "antlion_grub",
"bodytype": "insect",
"species": [ "INSECT" ],
"volume": "80 L",
Expand Down Expand Up @@ -2130,8 +2130,8 @@
"id": "mon_antlion_giant",
"type": "MONSTER",
"name": { "str": "giant adult antlion" },
"description": "A ferocious mutant flying antlion as big as a cat, darting through the air with a cluster of fangs for a mouth.",
"default_faction": "antlion",
"description": "A ferocious mutant flying antlion as big as a cat, darting through the air with a cluster of fangs for a mouth. Despite dangerous looks it doesn't seem interested in you.",
"default_faction": "antlion_adult",
"bodytype": "flying insect",
"species": [ "INSECT_FLYING" ],
"volume": "30 L",
Expand All @@ -2141,8 +2141,8 @@
"material": [ "iflesh" ],
"symbol": "y",
"color": "yellow",
"aggression": 20,
"morale": 100,
"aggression": -10,
"morale": 20,
"melee_skill": 6,
"melee_dice": 1,
"melee_dice_sides": 6,
Expand All @@ -2152,8 +2152,10 @@
"vision_day": 25,
"vision_night": 5,
"harvest": "arachnid",
"anger_triggers": [ "PLAYER_WEAK" ],
"fear_triggers": [ "PLAYER_CLOSE" ],
"reproduction": { "baby_egg": "egg_antlion", "baby_count": 1, "baby_timer": 15 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ],
"anger_triggers": [ "HURT" ],
"fear_triggers": [ "PLAYER_CLOSE", "FIRE" ],
"death_function": [ "NORMAL" ],
"flags": [ "SEES", "SMELLS", "FLIES", "HEARS", "HIT_AND_RUN", "PATH_AVOID_FIRE" ]
},
Expand Down

0 comments on commit 4b8999f

Please sign in to comment.