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 14 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
32 changes: 32 additions & 0 deletions data/json/harvest.json
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,38 @@
{ "drop": "egg_centipede", "type": "offal", "base_num": [ 0, 3 ], "scale_num": [ 0.5, 1 ], "max": 10 }
]
},
{
"id": "arachnid_beetle",
"type": "harvest",
"message": "<ground_beetle_harvest>",
"//": "replace some chitin with plate when added",
"entries": [
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.25 },
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.06 },
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.035 },
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.2 },
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.03 },
{ "drop": "chitin_piece", "type": "bone", "mass_ratio": 0.3 }
]
},
{
"id": "arachnid_beetle_mega",
"type": "harvest",
"message": "<ground_beetle_mega_harvest>",
"//": "replace most chitin with plate when added",
"entries": [
{ "drop": "mutant_meat", "type": "flesh", "mass_ratio": 0.25 },
{ "drop": "mutant_fat", "type": "flesh", "mass_ratio": 0.06 },
{ "drop": "mutant_blood", "type": "blood", "mass_ratio": 0.1 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.035 },
{ "drop": "endochitin", "type": "bone", "mass_ratio": 0.2 },
{ "drop": "mutant_bug_lungs", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "mutant_bug_organs", "type": "offal", "mass_ratio": 0.03 },
{ "drop": "chitin_piece", "type": "bone", "mass_ratio": 0.3 }
]
},
{
"id": "arachnid_flying",
"type": "harvest",
Expand Down
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
20 changes: 16 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,39 @@
"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",
"by_mood": "zombie"
},
{
"type": "MONSTER_FACTION",
"name": "stag_beetle_larva",
"base_faction": "stag_beetle",
"neutral": [ "ant", "acid_ant", "aphid" ]
},
{
"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>!",
"no_dmg_msg_u": "The %1$s rams your %2$s, but you hold steady!",
"no_dmg_msg_npc": "The %1$s rams <npcname>, but they hold steady!",
"miss_msg_u": "The %s flicks its horns at you, but you dodge!",
"miss_msg_npc": "The %s flicks its horns at <npcname>, but they dodge!"
},
{
"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
12 changes: 8 additions & 4 deletions data/json/monstergroups/wilderness.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
"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 }
]
},
{
Expand Down Expand Up @@ -1712,7 +1713,10 @@
{ "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": 2, "cost_multiplier": 0, "starts": 168, "ends": 720 },
{ "monster": "mon_stag_beetle_small", "freq": 2, "cost_multiplier": 0, "starts": 168 },
{ "monster": "mon_stag_beetle_giant", "freq": 1, "cost_multiplier": 0, "starts": 720 }
]
},
{
Expand Down
146 changes: 146 additions & 0 deletions data/json/monsters/insect_spider.json
Original file line number Diff line number Diff line change
Expand Up @@ -2294,6 +2294,152 @@
"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 its immense size and sickening cream color.",
"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
"special_attacks": [ [ "EAT_CROP", 30 ] ],
"armor_bash": 5,
"armor_cut": 6,
"armor_bullet": 3,
"armor_acid": 6,
"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": [ "PATH_AVOID_FIRE", "PET_WONT_FOLLOW" ]
},
{
"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": 60, "into": "mon_stag_beetle_giant" },
"extend": { "flags": [ "NO_BREED" ] },
"delete": { "flags": [ "DESTROYS", "PUSH_VEH" ] }
},
{
"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_beetle",
"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 its horns at you, but you dodge!",
"miss_msg_npc": "The %s flicks its horns at <npcname>, but they dodge!"
}
],
"upgrades": { "age_grow": 60, "into": "mon_stag_beetle_mega" },
"reproduction": { "baby_egg": "egg_stag_beetle", "baby_count": 1, "baby_timer": 32 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN", "WINTER" ],
"flags": [
"SEES",
"HEARS",
"GOODHEARING",
"BASHES",
"DESTROYS",
"PATH_AVOID_DANGER_1",
"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. Its bulky shell looks nigh-impenetrable, and the cracks have sealed with a foul paste.",
"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 } ],
"harvest": "arachnid_beetle_mega",
"reproduction": { "baby_egg": "egg_stag_beetle", "baby_count": 1, "baby_timer": 364 },
"upgrades": false
},
{
"id": "mon_antlion_larva",
"type": "MONSTER",
Expand Down
3 changes: 2 additions & 1 deletion data/json/requirements/cooking_components.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
[ "egg_grasshopper", 4 ],
[ "egg_lady_bug", 4 ],
[ "egg_mole_cricket", 4 ],
[ "egg_mantis", 4 ]
[ "egg_mantis", 4 ],
[ "egg_stag_beetle", 1 ]
]
]
},
Expand Down
Loading