Skip to content

Commit

Permalink
[Aftershock] Uplifted monsters and zombies (#39097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse authored May 3, 2020
1 parent 2a631eb commit c2b5d41
Show file tree
Hide file tree
Showing 8 changed files with 454 additions and 2 deletions.
88 changes: 88 additions & 0 deletions data/mods/Aftershock/items/armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,52 @@
"flags": [ "OVERSIZE", "HOOD", "OUTER", "NO_REPAIR", "SUPER_FANCY", "STURDY" ],
"relic_data": { "passive_effects": [ { "has": "WORN", "condition": "ALWAYS", "values": [ { "value": "BONUS_DODGE", "add": 1 } ] } ] }
},
{
"id": "xl_jeans",
"type": "ARMOR",
"name": { "str": "XL jeans", "str_pl": "pairs of XL jeans" },
"description": "A pair of XL blue jeans with two deep pockets.",
"weight": "900 g",
"volume": "3 L",
"copy-from": "jeans",
"storage": "750 ml",
"material_thickness": 4,
"flags": [ "VARSIZE", "POCKETS", "OVERSIZE" ]
},
{
"id": "xl_technician_pants_gray",
"repairs_like": "jeans",
"type": "ARMOR",
"name": { "str": "XL work pants", "str_pl": "pairs of XL work pants" },
"description": "A pair of gray work pants.",
"copy-from": "technician_pants_gray",
"weight": "770 g",
"volume": "3 L",
"storage": "1700 ml",
"material_thickness": 2,
"snippet_category": [
{ "id": "xl_technician_pants_blue", "text": "A pair of XL blue work pants." },
{ "id": "xl_technician_pants_gray", "text": "A pair of XL gray work pants." },
{ "id": "xl_technician_pants_lightblue", "text": "A pair of XL light-blue work pants." }
],
"flags": [ "VARSIZE", "POCKETS", "OVERSIZE" ]
},
{
"id": "xl_technician_shirt_gray",
"repairs_like": "tshirt",
"type": "ARMOR",
"name": { "str": "work t-shirt" },
"description": "A gray XL work t-shirt with a small front pocket.",
"weight": "84 g",
"volume": "350 ml",
"copy-from": "technician_shirt_gray",
"snippet_category": [
{ "id": "xl_technician_shirt_blue", "text": "An XL blue work t-shirt with a small front pocket." },
{ "id": "xl_technician_shirt_gray", "text": "An XL gray work t-shirt with a small front pocket." },
{ "id": "xl_technician_shirt_lightblue", "text": "An XL light-blue work t-shirt with a small front pocket." }
],
"flags": [ "VARSIZE", "OVERSIZE" ]
},
{
"id": "q_solarpack",
"type": "TOOL_ARMOR",
Expand Down Expand Up @@ -246,5 +292,47 @@
"warmth": 20,
"material_thickness": 3,
"flags": [ "OVERSIZE", "VARSIZE", "STURDY" ]
},
{
"id": "xlleather_belt",
"type": "ARMOR",
"name": { "str": "XL leather belt" },
"description": "An XL leather belt. Useful for making your pair of pants fit if you need really big pants.",
"weight": "150 g",
"volume": "350 ml",
"copy-from": "leather_belt",
"flags": [ "WAIST", "WATER_FRIENDLY", "OVERSIZE" ]
},
{
"id": "police_belt",
"type": "ARMOR",
"name": { "str": "XL police duty belt" },
"description": "An XL black leather belt used by extremely large uplifted police officers. It has several pouches and a holder for a baton.",
"weight": "450 g",
"volume": "2500 ml",
"copy-from": "police_belt",
"flags": [ "WAIST", "WATER_FRIENDLY", "OVERSIZE" ]
},
{
"id": "xltac_fullhelmet",
"repairs_like": "xlkevlar",
"type": "ARMOR",
"category": "armor",
"name": { "str": "XL tactical full helmet" },
"description": "An all-encompassing massive black helmet that covers your entire face and neck, providing excellent protection from all sorts of damage.",
"weight": "1324 g",
"volume": "2 L",
"copy-from": "tac_fullhelmet",
"flags": [ "VARSIZE", "STURDY", "SUN_GLASSES", "OVERSIZE" ]
},
{
"type": "ARMOR",
"id": "xllegpouch_large",
"name": { "str": "XL leg ammo pouch", "str_pl": "XL leg ammo pouches" },
"description": "An XL fabric ammo pouch that can be strapped to your leg and capable of holding two magazine close at hand.",
"weight": "120 g",
"volume": "250 ml",
"copy-from": "legpouch_large",
"flags": [ "WATER_FRIENDLY", "BELTED", "OVERSIZE" ]
}
]
28 changes: 28 additions & 0 deletions data/mods/Aftershock/items/monsterdrops.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,33 @@
[ "hard_plate", 30 ],
[ "robot_controls", 5 ]
]
},
{
"type": "item_group",
"id": "xl_uplift_death_drop",
"subtype": "collection",
"entries": [
{ "item": "xlboots_combat" },
{ "item": "xl_technician_pants_gray", "prob": 50 },
{ "item": "xl_technician_shirt_gray", "prob": 100 },
{ "item": "xl_jeans", "prob": 50 },
{ "item": "mp5mag", "prob": 10 },
{ "group": "military", "prob": 50 },
{ "group": "mil_food", "prob": 100 }
]
},
{
"type": "item_group",
"id": "xl_uplift_zed_death_drop",
"subtype": "collection",
"entries": [
{ "item": "xlboots_combat" },
{ "item": "xl_technician_pants_gray", "prob": 50 },
{ "item": "xl_technician_shirt_gray", "prob": 100 },
{ "item": "xl_jeans", "prob": 50 },
{ "item": "mp5mag", "prob": 10 },
{ "group": "military", "prob": 50 },
{ "group": "mil_food", "prob": 100 }
]
}
]
7 changes: 7 additions & 0 deletions data/mods/Aftershock/mobs/monster_faction.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@
"friendly": [ "human", "player" ],
"neutral": "herbivore",
"by_mood": [ "insect", "small_animal" ]
},
{
"type": "MONSTER_FACTION",
"name": "UPLIFT",
"neutral": "herbivore",
"by_mood": [ "insect", "small_animal" ],
"hate": "zombie"
}
]
66 changes: 66 additions & 0 deletions data/mods/Aftershock/mobs/monster_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,71 @@
"//": "Mi-go base defenders for major boss battles.",
"default": "mon_mi_go_guard",
"monsters": [ { "monster": "afs_mon_migoturret", "freq": 50, "cost_multiplier": 3, "pack_size": [ 2, 3 ] } ]
},
{
"type": "monstergroup",
"name": "GROUP_FOREST",
"default": "mon_null",
"is_animal": true,
"monsters": [
{ "monster": "mon_uplifted_bear", "freq": 1, "cost_multiplier": 10, "conditions": [ "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_zombie_upliftedbear", "freq": 1, "cost_multiplier": 10, "starts": 72 },
{ "monster": "mon_uplifted_ape_zed", "freq": 1, "cost_multiplier": 10, "starts": 72 },
{
"monster": "mon_uplifted_bear",
"freq": 3,
"cost_multiplier": 10,
"conditions": [ "NIGHT", "SPRING", "SUMMER", "AUTUMN" ]
},
{
"monster": "mon_uplifted_ape",
"freq": 1,
"cost_multiplier": 10,
"conditions": [ "SPRING", "SUMMER", "AUTUMN", "WINTER" ]
},
{
"monster": "mon_uplifted_ape",
"freq": 3,
"cost_multiplier": 10,
"pack_size": [ 2, 4 ],
"conditions": [ "NIGHT", "SPRING", "SUMMER", "AUTUMN", "WINTER" ]
}
]
},
{
"type": "monstergroup",
"name": "GROUP_CAVE",
"default": "mon_null",
"monsters": [ { "monster": "mon_uplifted_bear", "freq": 50, "cost_multiplier": 10, "pack_size": [ 1, 3 ] } ]
},
{
"name": "GROUP_PARK_SCENIC",
"type": "monstergroup",
"default": "mon_null",
"monsters": [
{ "monster": "mon_zombie_upliftedbear", "freq": 10, "cost_multiplier": 1, "pack_size": [ 2, 3 ] },
{ "monster": "mon_uplifted_ape_zed", "freq": 10, "cost_multiplier": 1, "pack_size": [ 2, 3 ] }
]
},
{
"type": "monstergroup",
"name": "GROUP_ZOMBIE_BRUTE",
"default": "mon_zombie_brute",
"//": "Brute upgrades",
"monsters": [
{ "monster": "mon_zombie_upliftedbear", "freq": 112, "cost_multiplier": 10 },
{ "monster": "mon_uplifted_ape_zed", "freq": 100, "cost_multiplier": 50 },
{ "monster": "mon_zombie_oliphant", "freq": 70, "cost_multiplier": 10 }
]
},
{
"type": "monstergroup",
"name": "GROUP_CENTRAL_LAB",
"default": "mon_zombie_scientist",
"monsters": [
{ "monster": "mon_zombie_upliftedbear", "freq": 3, "cost_multiplier": 10 },
{ "monster": "mon_uplifted_ape_zed", "freq": 10, "cost_multiplier": 5 },
{ "monster": "mon_zombie_oliphant", "freq": 1, "cost_multiplier": 50 }
]
}
]
8 changes: 8 additions & 0 deletions data/mods/Aftershock/mobs/species.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"type": "SPECIES",
"id": "UPLIFT",
"description": "an intelligent animal created by man before the Cataclysm",
"fear_triggers": [ "HURT", "FIRE", "FRIEND_DIED" ]
}
]
112 changes: 112 additions & 0 deletions data/mods/Aftershock/mobs/uplifted_monsters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
[
{
"id": "mon_uplifted_bear",
"type": "MONSTER",
"name": { "str": "Schwarz Walder" },
"description": "Schwarz Walders were originally developed by a German company as forest rangers for the expanded Black Forest Conservation Area. Shortly afterwards it was determined that they also made excellent long range reconnaissance units that could operate independently indefinitely. Pre-Cataclysm they lived on every continent in a variety of jobs.",
"default_faction": "UPLIFT",
"bodytype": "bear",
"categories": [ "WILDLIFE" ],
"species": [ "UPLIFT" ],
"volume": "90 L",
"weight": "120 kg",
"hp": 120,
"speed": 140,
"material": [ "flesh" ],
"symbol": "B",
"color": "dark_gray",
"aggression": 2,
"morale": 60,
"melee_skill": 6,
"melee_dice": 4,
"melee_dice_sides": 6,
"melee_cut": 4,
"dodge": 3,
"armor_bash": 2,
"starting_ammo": { "9mm": 30 },
"special_attacks": [
{
"type": "gun",
"cooldown": 10,
"move_cost": 150,
"gun_type": "hk_mp5",
"ammo_type": "9mm",
"fake_skills": [ [ "gun", 5 ], [ "smg", 5 ] ],
"fake_dex": 9,
"ranges": [ [ 0, 14, "DEFAULT" ] ],
"require_targeting_npc": true,
"require_targeting_monster": true,
"laser_lock": false,
"targeting_cost": 400,
"targeting_timeout_extend": -10,
"targeting_sound": "\"You should walk away.\"",
"targeting_volume": 20,
"no_ammo_sound": "a chk!"
}
],
"vision_day": 30,
"vision_night": 10,
"path_settings": { "max_dist": 10 },
"anger_triggers": [ "HURT", "PLAYER_NEAR_BABY" ],
"fear_triggers": [ "SOUND" ],
"death_function": [ "NORMAL" ],
"death_drops": "xl_uplift_death_drop",
"harvest": "demihuman_large_fur",
"reproduction": { "baby_monster": "mon_uplifted_bear_cub", "baby_count": 1, "baby_timer": 700 },
"//": "Uplifts will likely outlive mankind",
"baby_flags": [ "SPRING" ],
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "PATH_AVOID_DANGER_1", "WARM", "BLEED", "BASHES", "ATTACKMON" ]
},
{
"id": "mon_uplifted_bear_cub",
"type": "MONSTER",
"copy-from": "mon_uplifted_bear",
"name": { "str": "Schwarz Walder cub" },
"description": "A young Schwarz Walder. If one is out here a very protective parent is likely nearby.",
"volume": "45 L",
"weight": "60 kg",
"hp": 20,
"speed": 90,
"aggression": -5,
"symbol": "b",
"morale": 30,
"melee_skill": 2,
"melee_dice": 2,
"melee_dice_sides": 3,
"melee_cut": 2,
"dodge": 2,
"harvest": "demihuman_fur",
"special_attacks": [ [ "EAT_FOOD", 60 ] ],
"upgrades": { "age_grow": 480, "into": "mon_bear" }
},
{
"id": "mon_uplifted_ape",
"type": "MONSTER",
"name": { "str": "infeme" },
"description": "The Infeme are uplifted from apes and other near human ancestors. The Zulu word for monkey became the catch all term for many species of uplifts whether majority chimp, gorilla or baboon. They've probably formed colonies hidden from the Cataclysm.",
"default_faction": "UPLIFT",
"bodytype": "human",
"species": [ "UPLIFT" ],
"diff": 5,
"volume": "62500 ml",
"weight": "81500 g",
"hp": 120,
"speed": 160,
"material": [ "flesh" ],
"symbol": "&",
"color": "white",
"aggression": 1,
"morale": 100,
"melee_skill": 6,
"melee_dice": 2,
"melee_dice_sides": 6,
"melee_cut": 0,
"dodge": 4,
"vision_day": 30,
"death_drops": "xl_uplift_death_drop",
"harvest": "demihuman_large_fur",
"special_attacks": [ [ "scratch", 20 ] ],
"death_function": [ "NORMAL" ],
"flags": [ "SEES", "SMELLS", "HEARS", "WARM", "BASHES", "GROUP_BASH", "ANIMAL", "PATH_AVOID_DANGER_1", "PATH_AVOID_DANGER_1" ]
}
]
Loading

0 comments on commit c2b5d41

Please sign in to comment.