Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add very large American Giant Stag Beetles #51505

Merged
merged 16 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions data/json/items/comestibles/egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,20 @@
"rot_spawn": "GROUP_EGG_WASP",
"rot_spawn_chance": 100
},
{
"type": "COMESTIBLE",
"id": "egg_stag_beetle",
"name": { "str": "stag beetle egg" },
"copy-from": "egg_insect",
"color": "brown",
"symbol": "o",
"spoils_in": "20 days",
"proportional": { "weight": 5, "calories": 5, "volume": 5 },
"vitamins": [ [ "vitA", 95 ], [ "calcium", 35 ], [ "iron", 90 ], [ "vitB", 330 ], [ "mutant_toxin", 125 ] ],
"description": "A huge translucent beetle egg. You can see a larva slowly squirming inside, contorting uncomfortably outside of the soil.",
"rot_spawn": "GROUP_EGG_STAG_BEETLE",
"rot_spawn_chance": 100
},
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
{
"type": "COMESTIBLE",
"id": "egg_antlion",
Expand Down
21 changes: 17 additions & 4 deletions data/json/monster_factions.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"name": "zombie",
"friendly": [ "slime" ],
"neutral": [ "cult", "small_animal", "fish", "insect", "aquatic_predator" ],
"by_mood": [ "ant", "acid_ant", "bee", "wasp" ]
"by_mood": [ "ant", "acid_ant", "bee", "wasp", "stag_beetle" ]
},
{
"type": "MONSTER_FACTION",
Expand Down Expand Up @@ -375,27 +375,40 @@
"name": "ant",
"base_faction": "insect",
"by_mood": [ "zombie", "fungus" ],
"neutral": [ "aphid" ]
"neutral": [ "aphid", "stag_beetle_larva" ]
},
{
"type": "MONSTER_FACTION",
"name": "acid_ant",
"base_faction": "insect",
"by_mood": [ "zombie", "fungus" ],
"neutral": [ "aphid" ]
"neutral": [ "aphid", "stag_beetle_larva" ]
},
{
"type": "MONSTER_FACTION",
"name": "aphid",
"base_faction": "insect",
"neutral": [ "ant", "acid_ant" ]
"neutral": [ "ant", "acid_ant", "stag_beetle_larva" ]
},
{
"type": "MONSTER_FACTION",
"name": "crayfish",
"base_faction": "insect",
"hate": "fish"
},
{
"type": "MONSTER_FACTION",
"name": "stag_beetle",
"base_faction": "insect",
"friendly": "stag_beetle_larva"
},
{
"type": "MONSTER_FACTION",
"name": "stag_beetle_larva",
"base_faction": "insect",
"neutral": [ "ant", "acid_ant" ],
"friendly": "stag_beetle"
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
},
{
"type": "MONSTER_FACTION",
"name": "antlion_grub",
Expand Down
18 changes: 18 additions & 0 deletions data/json/monster_special_attacks/monster_attacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,24 @@
"miss_msg_u": "The %s takes a powerful swing at you, but you dodge it!",
"miss_msg_npc": "The %s takes a powerful swing at <npcname>, who dodges it!"
},
{
"type": "monster_attack",
"attack_type": "melee",
"id": "stag_smash",
"accuracy": 7,
"move_cost": 250,
"cooldown": 25,
"range": 2,
"damage_max_instance": [ { "damage_type": "bash", "amount": 35, "armor_multiplier": 0.5 } ],
"body_parts": [ [ "torso", 6 ], [ "leg_r", 1 ], [ "leg_l", 1 ], [ "arm_r", 1 ], [ "arm_l", 1 ] ],
"throw_strength": 60,
"hit_dmg_u": "The %1$s brutally rams you in the %2$s!",
"hit_dmg_npc": "The %1$s brutally rams <npcname> in the %2$s!",
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"no_dmg_msg_u": "The %1$s rams your %2$s, but you hold steady!",
"no_dmg_msg_npc": "The %1$s rams <npcname>'s %2$s, but they hold steady!",
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"miss_msg_u": "The %s flicks it's horns at you, but you dodge!",
"miss_msg_npc": "The %s flicks it's horns at <npcname>, but they dodge!"
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
},
{
"type": "monster_attack",
"attack_type": "melee",
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 @@ -153,6 +153,12 @@
{ "monster": "mon_dragonfly_naiad", "freq": 500, "cost_multiplier": 1, "conditions": [ "SUMMER" ] }
]
},
{
"name": "GROUP_EGG_STAG_BEETLE",
"type": "monstergroup",
"default": "mon_stag_beetle_larva",
"monsters": [ { "monster": "mon_stag_beetle_larva", "freq": 1000, "cost_multiplier": 1 } ]
},
{
"name": "GROUP_EGG_ANTLION",
"type": "monstergroup",
Expand Down
15 changes: 10 additions & 5 deletions data/json/monstergroups/wilderness.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
"type": "monstergroup",
"name": "GROUP_CAVE",
"default": "mon_null",
"//": "Current count is 925. Note that 'freq' units are tenth of a percent, with default filling in the gap.",
"//": "Current count is 975. Note that 'freq' units are tenth of a percent, with default filling in the gap.",
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"is_animal": true,
"monsters": [
{ "monster": "mon_bat", "freq": 600, "cost_multiplier": 5, "pack_size": [ 6, 32 ] },
{ "monster": "mon_bat", "freq": 550, "cost_multiplier": 5, "pack_size": [ 6, 32 ] },
{ "monster": "mon_bear", "freq": 100, "cost_multiplier": 10, "pack_size": [ 1, 3 ] },
{ "monster": "mon_cougar", "freq": 100, "cost_multiplier": 20, "pack_size": [ 1, 2 ] },
{ "monster": "mon_mole_cricket", "freq": 60, "cost_multiplier": 3 },
{ "monster": "mon_mutant_experimental", "freq": 25, "cost_multiplier": 3 },
{ "monster": "mon_nakedmolerat_giant", "freq": 100, "cost_multiplier": 3 },
{ "monster": "mon_mole_cricket", "freq": 60, "cost_multiplier": 3 }
{ "monster": "mon_stag_beetle_larva", "freq": 40, "cost_multiplier": 5 }
]
},
{
"type": "monstergroup",
"name": "GROUP_FOREST",
"default": "mon_null",
"//": "Current SPRING first DAY count is 513. Note that 'freq' units are tenth of a percent, with default filling in the gap.",
"//": "Current SPRING first DAY count is 514. Note that 'freq' units are tenth of a percent, with default filling in the gap.",
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"is_animal": true,
"monsters": [
{
Expand Down Expand Up @@ -1712,7 +1713,11 @@
{ "monster": "mon_aphid", "freq": 15, "pack_size": [ 1, 5 ], "cost_multiplier": 0 },
{ "monster": "mon_grasshopper_small", "freq": 15, "pack_size": [ 1, 3 ], "cost_multiplier": 0 },
{ "monster": "mon_antlion_larva", "freq": 7, "cost_multiplier": 10 },
{ "monster": "mon_antlion_giant", "freq": 2, "cost_multiplier": 10 }
{ "monster": "mon_antlion_giant", "freq": 2, "cost_multiplier": 10 },
{ "monster": "mon_stag_beetle_small", "freq": 1, "cost_multiplier": 0, "ends": 504 },
{ "monster": "mon_stag_beetle_small", "freq": 2, "cost_multiplier": 0, "starts": 168 },
{ "monster": "mon_stag_beetle_giant", "freq": 2, "cost_multiplier": 0, "starts": 504 },
{ "monster": "mon_stag_beetle_giant", "freq": 1, "cost_multiplier": 0, "starts": 720, "pack_size": [ 1, 2 ] }
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
]
},
{
Expand Down
149 changes: 149 additions & 0 deletions data/json/monsters/insect_spider.json
Original file line number Diff line number Diff line change
Expand Up @@ -2294,6 +2294,155 @@
"special_attacks": [ [ "EAT_FOOD", 60 ], [ "EAT_CROP", 80 ], { "type": "leap", "cooldown": 3, "max_range": 10, "allow_no_target": true } ],
"flags": [ "SEES", "HEARS", "SMELLS", "CLIMBS", "PATH_AVOID_FALL", "PATH_AVOID_FIRE" ]
},
{
"id": "mon_stag_beetle_larva",
"type": "MONSTER",
"name": { "str": "giant stag beetle larva", "str_pl": "giant stag beetle larvae" },
"description": "Something about this cow-sized larva is pitiable, despite it's immense size and sickening cream color.",
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"default_faction": "stag_beetle_larva",
"bodytype": "snake",
"species": [ "INSECT" ],
"volume": "200 L",
"weight": "300 kg",
"hp": 120,
"speed": 25,
"material": [ "iflesh" ],
"symbol": "S",
"color": "white",
"aggression": -99,
"morale": -10,
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"armor_bash": 5,
"armor_cut": 6,
"armor_bullet": 3,
"armor_acid": 6,
"vision_day": 0,
"vision_night": 6,
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"harvest": "arachnid",
"//": "when taming becomes more involved, this should be slowly tameable with honeydew, allowing for a tamed stag beetle through almost a year of effort",
"fear_triggers": [ "FIRE", "HURT" ],
"upgrades": { "age_grow": 288, "into": "mon_stag_beetle_small" },
"flags": [ "HEARS", "GOODHEARING", "PATH_AVOID_FIRE", "PET_WONT_FOLLOW" ]
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
},
{
"id": "mon_stag_beetle_small",
"type": "MONSTER",
"name": { "str": "giant stag beetle" },
"description": "It was called a giant even before the Cataclysm, but now this mutant beetle is the size of a small horse. It looks ready to molt again, even though parts of the shell are still soft.",
"copy-from": "mon_stag_beetle_giant",
"proportional": { "hp": 0.5, "morale": 0.5, "melee_dice_sides": 0.67 },
"volume": "200 L",
"weight": "300 kg",
"diff": 1,
"melee_cut": 4,
"armor_bash": 24,
"armor_cut": 32,
"armor_bullet": 20,
"armor_acid": 8,
"armor_fire": 2,
"special_attacks": [
{
"id": "stag_smash",
"throw_strength": 40,
"damage_max_instance": [ { "damage_type": "bash", "amount": 20, "armor_multiplier": 0.5 } ]
}
],
"upgrades": { "age_grow": 28, "into": "mon_stag_beetle_giant" },
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"delete": {
"reproduction": { "baby_egg": "egg_stag_beetle", "baby_count": 1, "baby_timer": 20 },
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"flags": [ "DESTROYS", "PUSH_VEH" ]
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
}
},
{
"id": "mon_stag_beetle_giant",
"type": "MONSTER",
"name": { "str": "massive stag beetle" },
"description": "This enormous stag beetle has reached mutated maturity, but continues to grow. Thankfully, that growth is exposing vulnerable cracks of flesh in the strained chitin.",
"default_faction": "stag_beetle",
"bodytype": "insect",
"species": [ "INSECT" ],
"volume": "400 L",
"weight": "600 kg",
"diff": 2,
"hp": 350,
"speed": 80,
"material": [ "iflesh" ],
"symbol": "S",
"color": "brown",
"aggression": 40,
"morale": 30,
"melee_skill": 5,
"melee_dice": 6,
"melee_dice_sides": 6,
"melee_cut": 9,
"dodge": 1,
"armor_bash": 60,
"armor_cut": 72,
"armor_bullet": 50,
"armor_acid": 18,
"armor_fire": 8,
"weakpoints": [
{ "name": "a soft section of chitin", "armor_mult": { "physical": 0.33 }, "coverage": 20 },
{ "name": "a crack in the chitin", "armor_mult": { "physical": 0 }, "coverage": 5 }
],
"mountable_weight_ratio": 6,
"vision_day": 14,
"vision_night": 12,
"harvest": "arachnid",
"anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
"fear_triggers": [ "FIRE" ],
"special_attacks": [
{
"id": "stag_smash",
"throw_strength": 60,
"hit_dmg_u": "The %1$s rams you in the %2$s!",
"hit_dmg_npc": "The %1$s rams <npcname> in the %2$s!",
"no_dmg_msg_u": "The %1$s rams your %2$s, but you hold steady!",
"no_dmg_msg_npc": "The %1$s rams <npcname>'s %2$s, but they hold steady!",
"miss_msg_u": "The %s flicks it's horns at you, but you dodge!",
"miss_msg_npc": "The %s flicks it's horns at <npcname>, but they dodge!"
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
}
],
"upgrades": { "age_grow": 28, "into": "mon_stag_beetle_mega" },
"reproduction": { "baby_egg": "egg_stag_beetle", "baby_count": 1, "baby_timer": 20 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN", "WINTER" ],
"flags": [
"SEES",
"HEARS",
"GOODHEARING",
"BASHES",
"DESTROYS",
"PATH_AVOID_FIRE",
"PATH_AVOID_FALL",
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"PUSH_MON",
"PUSH_VEH",
"PET_WONT_FOLLOW",
"PET_MOUNTABLE"
]
},
{
"id": "mon_stag_beetle_mega",
"type": "MONSTER",
"name": { "str": "titan stag beetle" },
"description": "This stag beetle rivals an armored personnel carrier in size, bearing horns that could fell a tree and chitin thick enough to ignore most bullets. It's bulky shell looks nigh-impenetrable, and the cracks have sealed with a foul paste.",
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
"copy-from": "mon_stag_beetle_giant",
"proportional": { "hp": 4, "speed": 0.75, "morale": 3, "melee_dice_sides": 2 },
"volume": "950 L",
"weight": "4400 kg",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"diff": 4,
"armor_bash": 86,
"armor_cut": 100,
"armor_bullet": 75,
"special_attacks": [
{
"id": "stag_smash",
"throw_strength": 120,
"damage_max_instance": [ { "damage_type": "bash", "amount": 45, "armor_multiplier": 0.5 } ]
}
],
"weakpoints": [ { "name": "a foul scar in the chitin", "armor_mult": { "physical": 0.33 }, "coverage": 20 } ],
"reproduction": { "baby_egg": "egg_stag_beetle", "baby_count": 1, "baby_timer": 364 },
"delete": { "upgrades": { "age_grow": 28, "into": "mon_stag_beetle_mega" } }
MylieDaniels marked this conversation as resolved.
Show resolved Hide resolved
},
{
"id": "mon_antlion_larva",
"type": "MONSTER",
Expand Down