From 8d0368ec271a9e6cbc209e31430b6488f663d116 Mon Sep 17 00:00:00 2001 From: Anton Simakov <67688115+GuardianDll@users.noreply.github.com> Date: Thu, 28 Mar 2024 10:01:20 +0100 Subject: [PATCH] obsolete aftershock obsoletion --- data/json/items/book/launcher.json | 5 + data/json/items/book/pistol.json | 5 + data/json/items/book/rifle.json | 6 + data/json/items/book/shotgun.json | 5 + data/mods/Aftershock/items/obsolete.json | 378 ++++--------------- data/mods/Aftershock/mobs/obsolete.json | 162 -------- data/mods/Aftershock/mutations/obsolete.json | 317 ++++------------ data/mods/Aftershock/player/obsolete.json | 23 +- 8 files changed, 178 insertions(+), 723 deletions(-) delete mode 100644 data/mods/Aftershock/mobs/obsolete.json diff --git a/data/json/items/book/launcher.json b/data/json/items/book/launcher.json index c1222b4e06b4d..18bcf89266dae 100644 --- a/data/json/items/book/launcher.json +++ b/data/json/items/book/launcher.json @@ -95,6 +95,11 @@ "name": { "str": "FM 23-11: 90mm Recoilless Rifle, M67", "str_pl": "copies of FM 23-11: 90mm Recoilless Rifle, M67" }, "description": "Official U.S. Army manual for using the M67 anti-tank rifle - theory, practice, and essential information.", "//": "979-8538902606" + }, + { + "id": "manual_launcher_5", + "name": { "str": "Jane's Flamethrowers and Firestarters", "str_pl": "copies of Jane's Flamethrowers and Firestarters" }, + "description": "A detailed, full-colored guide to flamethrowers, incendiary weapons, and napalm. It builds off of information provided in its sister book, Jane's Mortars and Rocket Launchers, and so it's mostly incomprehensible to anyone without prior knowledge." } ], "weight": "650 g", diff --git a/data/json/items/book/pistol.json b/data/json/items/book/pistol.json index 99f3cbfb44e50..115a67c369b0a 100644 --- a/data/json/items/book/pistol.json +++ b/data/json/items/book/pistol.json @@ -124,6 +124,11 @@ "str_pl": "copies of FM 3-23.35: Combat Training With Pistols, M9 And M11" }, "description": "Official U.S. Army manual detailing how M9 and M11 handguns work, and how to use them safely and effectively." + }, + { + "id": "manual_pistol_8", + "name": { "str": "Black Powder to Berettas", "str_pl": "copies of Black Powder to Berettas" }, + "description": "This hardcover book, aimed at the gun nut, provides an illustrated, concise history of the handgun throughout history, including technical specifications and use techniques. It's difficult to follow without a passing knowledge in pistols, but an experienced handgun user could glean much from it." } ], "weight": "440 g", diff --git a/data/json/items/book/rifle.json b/data/json/items/book/rifle.json index 5a6e03fe19684..15a68fd0f29e8 100644 --- a/data/json/items/book/rifle.json +++ b/data/json/items/book/rifle.json @@ -140,6 +140,12 @@ "name": { "str": "The Gun", "str_pl": "copies of The Gun" }, "description": "A giant, 500-page history about the AK-47—the most popular firearm in the world—and the information around it: the mechanics of the weapon, its usage, maintenance, modifications, and its impact on global conflicts.", "//": "978-0743270762" + }, + { + "id": "manual_gun_14", + "name": { "str": "America's Rifle", "str_pl": "copies of America's Rifle" }, + "description": "A history book penned by an anonymous author. Starting from its design by John Garand and ending with the Vietnam War, it provides a detailed run-down of the M1 Garand rifle's use throughout history as well as its design and quirks with the weapon.", + "//": "978-0743270762" } ], "weight": "454 g", diff --git a/data/json/items/book/shotgun.json b/data/json/items/book/shotgun.json index 2cda4e22b0f32..c37ba7302ba33 100644 --- a/data/json/items/book/shotgun.json +++ b/data/json/items/book/shotgun.json @@ -123,6 +123,11 @@ "name": { "str": "Vintage British Shotguns", "str_pl": "copies of Vintage British Shotguns" }, "description": "A good guide for both sportsmen and gun collectors, this book contains information about classic shotguns and their usage.", "//": "978-0892727742" + }, + { + "id": "manual_shotgun_9", + "name": { "str": "USMC M1014 technical manual" }, + "description": "A pocket-sized book printed in 2000 by the United States Marine Corps for official use. It describes the operation, repair, and cleaning of the Benilli M1014 shotgun. Though specific to the M4, it can provide a wealth of information to the trained eye." } ], "weight": "400 g", diff --git a/data/mods/Aftershock/items/obsolete.json b/data/mods/Aftershock/items/obsolete.json index 6b4d50386b0ad..9fec62333c7a2 100644 --- a/data/mods/Aftershock/items/obsolete.json +++ b/data/mods/Aftershock/items/obsolete.json @@ -1,370 +1,140 @@ [ { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_sungel", - "type": "COMESTIBLE", - "name": { "str_sp": "sungel" }, - "copy-from": "afs_sundew", - "description": "Mixed with morphine, this sundew has congealed, and has an immense stimulative and pain-numbing effect. With sufficient tools, it could be used to create anesthesia.", - "stim": 50, - "phase": "liquid", - "charges": 2, - "fun": 20, - "use_action": { - "type": "consume_drug", - "activation_message": "Your vision sharpens and your eyes widen as the sungel slams your senses.", - "effects": [ - { "id": "pkill3", "duration": 120 }, - { "id": "pkill2", "duration": 1200 }, - { "id": "cough_suppress", "duration": 1000 } - ] - } + "replace": "anesthetic_kit" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_solderers_item", - "copy-from": "fake_item", - "type": "TOOL", - "name": { "str_sp": "precision solderers" }, - "flags": [ "TRADER_AVOID" ], - "qualities": [ [ "SAW_M_FINE", 1 ], [ "SCREW_FINE", 1 ], [ "CUT_FINE", 2 ], [ "BIONIC_ASSEMBLY", 2 ] ] + "replace": "bio_tools" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_fridge", - "category": "veh_parts", - "type": "GENERIC", - "name": { "str": "vehicle refrigerator" }, - "description": "A household refrigerator with impressive capacity. Its power connection has been refurbished, and it can be mounted onto a vehicle to draw from its power.", - "symbol": "{", - "color": "white", - "weight": "142882 g", - "volume": "300 L", - "price": 40000, - "price_postapoc": 10000, - "material": [ "steel" ], - "to_hit": -4, - "flags": [ "DURABLE_MELEE" ], - "looks_like": "minifridge", - "melee_damage": { "bash": 8 } + "replace": "fridge" }, { - "type": "vehicle_part", - "id": "afs_fridge", - "copy-from": "minifridge", - "name": { "str": "refrigerator" }, - "categories": [ "cargo" ], - "color": "white", - "broken_color": "white", - "looks_like": "minifridge", - "durability": 400, - "description": "A medium-sized household refrigerator, converted to utilize vehicle power. When turned on, food inside will be cooled, extending the time it has before spoiling.", - "epower": "-100 W", - "size": "300 L", - "item": "afs_fridge", - "variants": [ { "symbols": "{", "symbols_broken": "#" } ] + "type": "vehicle_part_migration", + "//": "remove after 0.I", + "from": "afs_fridge", + "to": "minifridge" }, { - "type": "vehicle_part", - "id": "afs_freezer", - "copy-from": "minifreezer", - "name": { "str": "freezer" }, - "categories": [ "cargo" ], - "color": "light_blue", - "broken_color": "light_blue", - "looks_like": "minifridge", - "durability": 400, - "description": "A household fridge, converted to run at a much lower temperature and on vehicle power. When turned on, food inside will be frozen, completely stopping it from spoiling.", - "epower": "-120 W", - "size": "300 L", - "item": "afs_freezer", - "variants": [ { "symbols": "{", "symbols_broken": "#" } ] + "type": "vehicle_part_migration", + "//": "remove after 0.I", + "from": "afs_freezer", + "to": "minifridge" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_freezer", - "category": "veh_parts", - "type": "GENERIC", - "name": { "str": "vehicle freezer" }, - "copy-from": "afs_fridge", - "description": "This refurbished refrigerator has been stripped of much of its internal components and converted to run at a much lower temperature, causing it to serve as a freezer for more power. Like its predecessor, it runs on vehicle power.", - "color": "light_blue" + "replace": "minifridge" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_bio_precision_solderers", - "copy-from": "bionic_general", - "type": "BIONIC_ITEM", - "name": { "str": "Precision Solderers CBM" }, - "description": "A set of tiny electronics tools, including soldering irons and wire cutters. They serve no purpose on their own, but are required for crafting bionics.", - "price": 20000, - "difficulty": 3 + "replace": "soldering_iron" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_blatant_half_life_reference", - "type": "ARMOR", - "name": "hazardous environment suit", - "description": "Developed for the exploration of alien planes, the lightweight, orange-black HEV suit covers everything below the neck. While it possesses only modest physical protection, it provides excellent protection from most environmental hazards. A hatch in the front opens to provide a small amount of storage.", - "symbol": "[", - "color": "yellow", - "weight": "3501 g", - "volume": "2500 ml", - "price": 100000000, - "price_postapoc": 50000, - "material": [ "superalloy", "kevlar" ], - "material_thickness": 2, - "relic_data": { - "passive_effects": [ - { - "has": "WORN", - "condition": "ACTIVE", - "values": [ { "value": "CLIMATE_CONTROL_HEAT", "add": 50 }, { "value": "CLIMATE_CONTROL_CHILL", "add": 50 } ] - } - ] - }, - "pocket_data": [ - { "pocket_type": "CONTAINER", "max_contains_volume": "1 L", "max_contains_weight": "3 kg", "moves": 80 }, - { "pocket_type": "CONTAINER", "max_contains_volume": "1 L", "max_contains_weight": "3 kg", "moves": 80 } - ], - "warmth": 20, - "environmental_protection": 5, - "flags": [ "ELECTRIC_IMMUNE", "RAD_PROOF", "WATERPROOF", "COLLAR", "THERMOMETER", "ONLY_ONE", "OUTER", "STURDY" ], - "looks_like": "depowered_armor", - "armor": [ - { - "encumbrance": [ 4, 9 ], - "coverage": 100, - "covers": [ "torso", "arm_l", "arm_r", "hand_l", "hand_r", "leg_l", "leg_r", "foot_l", "foot_r" ] - } - ] + "replace": "afs_military_vest" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_hev_helmet", - "type": "TOOL_ARMOR", - "name": "hazardous environment helmet", - "description": "Meant to pair with a compatible HEV suit, this helmet's physical protection is basic at best, but makes up for it with an air recycler that provides excellent protection from airborne contaminants. It has a mounted LED headlamp, powered by standard batteries.", - "symbol": "[", - "color": "yellow", - "weight": "581 g", - "volume": "2 L", - "price": 10000000, - "price_postapoc": 5000, - "material": [ "superalloy", "plastic" ], - "material_thickness": 2, - "warmth": 20, - "environmental_protection": 11, - "qualities": [ [ "GLARE", 1 ] ], - "charges_per_use": 1, - "ammo": "battery", - "use_action": { - "type": "transform", - "msg": "You turn the helmet's headlamp on.", - "target": "afs_hev_helmet_on", - "active": true, - "need_charges": 1, - "need_charges_msg": "The helmet's batteries are dead." - }, - "flags": [ "WATERPROOF", "FLASH_PROTECTION", "ONLY_ONE", "STURDY" ], - "looks_like": "afs_hev_helmet_on", - "pocket_data": [ - { - "pocket_type": "MAGAZINE_WELL", - "holster": true, - "max_contains_volume": "20 L", - "max_contains_weight": "20 kg", - "item_restriction": [ - "light_battery_cell", - "light_minus_battery_cell", - "light_plus_battery_cell", - "light_minus_atomic_battery_cell", - "light_atomic_battery_cell", - "light_minus_disposable_cell", - "light_disposable_cell" - ] - } - ], - "armor": [ { "encumbrance": 15, "coverage": 100, "covers": [ "head", "eyes", "mouth" ] } ] + "replace": "spacer_cap" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_hev_helmet_on", - "type": "TOOL_ARMOR", - "copy-from": "afs_hev_helmet", - "name": { "str": "hazardous environment helmet (on)", "str_pl": "hazardous environment helmets (on)" }, - "description": "Meant to pair with a compatible HEV suit, this helmet's physical protection is basic at best, but makes up for it with an air recycler that provides excellent protection from airborne contaminants. Its light is on, illuminating the area at the cost of battery power.", - "revert_to": "afs_hev_helmet", - "turns_per_charge": 20, - "use_action": { "menu_text": "Turn off", "type": "transform", "msg": "The %s flicks off.", "target": "afs_hev_helmet" }, - "flags": [ "LIGHT_500", "WATERPROOF", "FLASH_PROTECTION", "ONLY_ONE", "STURDY" ], - "looks_like": "afs_hev_helmet" + "replace": "spacer_cap" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_sunesthesia", - "type": "COMESTIBLE", - "name": { "str_sp": "sunesthesia" }, - "copy-from": "afs_sungel", - "description": "This sungel has been mixed with several drugs and yet inherits none of their effects. Its painkilling effect hasn't changed, but its stimulative properties have been reversed, and it could be used as anesthesia for installation of bionics.", - "stim": -30, - "phase": "liquid", - "color": "light_red", - "flags": [ "LIGHT_4", "EATEN_HOT" ], - "use_action": { - "type": "consume_drug", - "activation_message": "You go limp and collapse as the sunesthesia knocks you senseless.", - "effects": [ - { "id": "pkill3", "duration": 480 }, - { "id": "pkill2", "duration": 1200 }, - { "id": "cough_suppress", "duration": 1000 }, - { "id": "downed", "duration": 1 } - ] - } + "replace": "anesthetic_kit" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_textbook_shotguns", - "type": "BOOK", - "name": { "str": "USMC M1014 technical manual" }, - "description": "A pocket-sized book printed in 2000 by the United States Marine Corps for official use. It describes the operation, repair, and cleaning of the Benilli M1014 shotgun. Though specific to the M4, it can provide a wealth of information to the trained eye.", - "weight": "600 g", - "volume": "250 ml", - "price": 3000, - "material": [ "paper" ], - "symbol": "?", - "looks_like": "manual_shotgun", - "color": "green", - "skill": "shotgun", - "required_level": 2, - "max_level": 6, - "intelligence": 8, - "time": "15 m" + "replace": "manual_shotgun" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_textbook_handguns", - "type": "BOOK", - "name": { "str": "Black Powder to Berettas", "str_pl": "copies of Black Powder to Berettas" }, - "description": "This hardcover book, aimed at the gun nut, provides an illustrated, concise history of the handgun throughout history, including technical specifications and use techniques. It's difficult to follow without a passing knowledge in pistols, but an experienced handgun user could glean much from it.", - "weight": "732 g", - "volume": "750 ml", - "price": 3000, - "material": [ "paper" ], - "symbol": "?", - "looks_like": "manual_shotgun", - "color": "green", - "skill": "pistol", - "required_level": 2, - "max_level": 6, - "intelligence": 6, - "time": "20 m" + "replace": "manual_pistol" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_textbook_rifles", - "type": "BOOK", - "name": { "str": "America's Rifle", "str_pl": "copies of America's Rifle" }, - "description": "A history book penned by an anonymous author. Starting from its design by John Garand and ending with the Vietnam War, it provides a detailed run-down of the M1 Garand rifle's use throughout history as well as its design and quirks with the weapon.", - "weight": "600 g", - "volume": "500 ml", - "price": 3000, - "material": [ "paper" ], - "symbol": "?", - "looks_like": "manual_shotgun", - "color": "green", - "skill": "rifle", - "required_level": 2, - "max_level": 6, - "intelligence": 6, - "time": "20 m" + "replace": "manual_rifle" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_textbook_launchers", - "type": "BOOK", - "name": { "str": "Jane's Flamethrowers and Firestarters", "str_pl": "copies of Jane's Flamethrowers and Firestarters" }, - "description": "A detailed, full-colored guide to flamethrowers, incendiary weapons, and napalm. It builds off of information provided in its sister book, Jane's Mortars and Rocket Launchers, and so it's mostly incomprehensible to anyone without prior knowledge.", - "weight": "734 g", - "volume": "250 ml", - "price": 2000, - "material": [ "paper" ], - "symbol": "?", - "looks_like": "manual_shotgun", - "color": "green", - "skill": "launcher", - "required_level": 2, - "max_level": 6, - "intelligence": 5, - "time": "18 m" + "replace": "manual_launcher" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "afs_bio_wind_turbine", - "copy-from": "bionic_general", - "type": "BIONIC_ITEM", - "name": { "str": "Wind Turbine CBM" }, - "description": "Installed on your body is a set of small retractable wind turbines. When activated, they will deploy and slowly harvest wind power to recharge your power level.", - "price": 350000, - "difficulty": 4 + "replace": "bio_torsionratchet" }, { - "type": "GENERIC", + "type": "MIGRATION", + "//": "remove after 0.I", "id": "broken_milbot_flame", - "copy-from": "broken_milbot_disarmed", - "color": "red", - "name": "broken military flame robot", - "description": "A broken military robot, shattered and inert. This one is armed with an integrated flamethrower. Could be stripped for parts." + "replace": "broken_tankbot" }, { - "type": "GENERIC", + "type": "MIGRATION", + "//": "remove after 0.I", "id": "broken_milbot_308", - "copy-from": "broken_milbot_disarmed", - "color": "light_gray", - "name": "broken military robot", - "description": "A broken military robot, shattered and inert. This one is armed with an integrated 7.62mm firearm. Could be stripped for parts." + "replace": "broken_tankbot" }, { - "type": "GENERIC", + "type": "MIGRATION", + "//": "remove after 0.I", "id": "broken_milbot_8x40mm", - "copy-from": "broken_milbot_disarmed", - "color": "light_gray", - "name": "broken military robot", - "description": "A broken military robot, shattered and inert. This one is armed with an integrated 8x40mm firearm. Could be stripped for parts." + "replace": "broken_tankbot" + }, + { + "type": "MIGRATION", + "//": "remove after 0.I", + "id": "broken_advbot_rail", + "replace": "broken_tankbot" }, { - "type": "GENERIC", + "type": "MIGRATION", + "//": "remove after 0.I", "id": "broken_advbot_rail", - "copy-from": "broken_advbot_disarmed", - "color": "magenta", - "name": "broken advanced robot", - "description": "A broken advanced robot. This one is armed with an integrated laser-emitter. Could be stripped for parts." + "replace": "broken_tankbot" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "40mm_emp", - "type": "AMMO", - "name": { "str": "40x46mm EMP grenade" }, - "description": "A 40x46mm grenade with an EMP charge. It will release an electromagnetic pulse capable of damaging robots and some equipment.", - "weight": "230 g", - "volume": "250 ml", - "price": 40000, - "material": [ "steel", "powder" ], - "symbol": "=", - "color": "yellow", - "count": 4, - "stack_size": 4, - "ammo_type": "40x46mm", - "casing": "40x46mm_m118_casing", - "range": 40, - "dispersion": 30, - "recoil": 225, - "drop": "40mmEMP_act", - "effects": [ "COOKOFF", "NEVER_MISFIRES", "NO_EMBED" ], - "melee_damage": { "bash": 5 } + "replace": "40x46mm_m433" }, { + "type": "MIGRATION", + "//": "remove after 0.I", "id": "40mmEMP_act", - "type": "TOOL", - "category": "weapons", - "name": "active EMP grenade", - "description": "This EMP grenade is active, and will shortly detonate, creating a large EMP field that damages robots and drains bionic energy. You may not want to be holding it much longer.", - "weight": "400 g", - "volume": "250 ml", - "price": 0, - "to_hit": -1, - "material": [ "steel", "plastic" ], - "symbol": "*", - "color": "cyan", - "initial_charges": 0, - "max_charges": 0, - "turns_per_charge": 1, - "use_action": { "type": "explosion", "draw_explosion_radius": 8, "draw_explosion_color": "light_blue", "emp_blast_radius": 8 }, - "flags": [ "TRADER_AVOID" ] + "replace": "40x46mm_m433" } ] diff --git a/data/mods/Aftershock/mobs/obsolete.json b/data/mods/Aftershock/mobs/obsolete.json deleted file mode 100644 index 0a4582a75ad95..0000000000000 --- a/data/mods/Aftershock/mobs/obsolete.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "id": "mon_milbot_flame", - "type": "MONSTER", - "copy-from": "mon_milbot_base", - "name": "military flame robot", - "description": "A military robot still operating due to its internal power core. This one is armed with an electric prod and an integrated flamethrower.", - "diff": 20, - "melee_damage": [ { "damage_type": "electric", "amount": 6 } ], - "starting_ammo": { "napalm": 1000 }, - "extend": { "flags": [ "FIREPROOF", "DROPS_AMMO" ] }, - "special_attacks": [ - { - "type": "gun", - "cooldown": 1, - "gun_type": "flamethrower", - "ammo_type": "napalm", - "fake_skills": [ [ "gun", 4 ], [ "launcher", 5 ] ], - "fake_dex": 10, - "no_ammo_sound": "hiss!", - "ranges": [ [ 0, 10, "DEFAULT" ] ], - "require_targeting_player": true, - "require_targeting_npc": true, - "require_targeting_monster": true, - "targeting_cost": 200, - "targeting_timeout_extend": -10, - "targeting_sound": "\"Hostile Detected.\"", - "targeting_volume": 10 - } - ] - }, - { - "id": "mon_milbot_308", - "type": "MONSTER", - "copy-from": "mon_milbot_base", - "name": "military robot", - "description": "A military robot still operating due to its internal power core. This one is armed with an electric prod and an integrated 7.62mm firearm.", - "diff": 20, - "melee_damage": [ { "damage_type": "electric", "amount": 6 } ], - "starting_ammo": { "762_51": 1000 }, - "revert_to_itype": "bot_milbot_308", - "special_attacks": [ - { - "type": "gun", - "cooldown": 3, - "move_cost": 150, - "gun_type": "fn_fal_semi", - "ammo_type": "762_51", - "fake_skills": [ [ "gun", 5 ], [ "rifle", 5 ] ], - "fake_dex": 10, - "no_ammo_sound": "click!", - "ranges": [ [ 0, 5, "DEFAULT" ], [ 6, 10, "BURST" ], [ 11, 20, "DEFAULT" ] ], - "require_targeting_player": true, - "require_targeting_npc": true, - "require_targeting_monster": true, - "targeting_cost": 10, - "targeting_timeout_extend": -1, - "targeting_sound": "\"Hostile Detected.\"", - "targeting_volume": 10 - } - ], - "extend": { "flags": [ "DROPS_AMMO" ] } - }, - { - "id": "mon_milbot_8x40mm", - "type": "MONSTER", - "copy-from": "mon_milbot_base", - "name": "military robot", - "description": "A military robot still operating due to its internal power core. This one is armed with an electric prod and an integrated 8mm firearm.", - "diff": 20, - "melee_damage": [ { "damage_type": "electric", "amount": 6 } ], - "starting_ammo": { "8mm_caseless": 1200 }, - "special_attacks": [ - { - "type": "gun", - "move_cost": 150, - "cooldown": 2, - "gun_type": "rm2000_smg", - "ammo_type": "8mm_caseless", - "fake_skills": [ [ "gun", 5 ], [ "rifle", 6 ] ], - "fake_dex": 10, - "no_ammo_sound": "whirrrr!", - "ranges": [ [ 0, 5, "BURST" ], [ 6, 10, "AUTO" ], [ 11, 24, "DEFAULT" ] ], - "require_targeting_player": true, - "require_targeting_npc": true, - "require_targeting_monster": true, - "targeting_cost": 10, - "targeting_timeout_extend": -1, - "targeting_sound": "\"Hostile Detected.\"", - "targeting_volume": 10 - } - ], - "extend": { "flags": [ "DROPS_AMMO" ] } - }, - { - "id": "mon_advbot_rail", - "type": "MONSTER", - "copy-from": "mon_advbot_base", - "name": "railgun robot", - "description": "An advanced robot still functioning due to its internal fusion core. This model is furnished with a powerful railgun.", - "diff": 30, - "starting_ammo": { "steel_rail": 100 }, - "special_attacks": [ - { - "type": "gun", - "cooldown": 4, - "gun_type": "railgun", - "ammo_type": "steel_rail", - "fake_skills": [ [ "gun", 5 ], [ "rifle", 5 ] ], - "fake_dex": 10, - "no_ammo_sound": "buzz!", - "ranges": [ [ 0, 18, "DEFAULT" ] ], - "require_targeting_player": true, - "require_targeting_npc": true, - "require_targeting_monster": true, - "laser_lock": true, - "targeting_cost": 200, - "targeting_timeout_extend": -10, - "targeting_sound": "\"Hostile detected.\"", - "targeting_volume": 10 - } - ] - }, - { - "id": "mon_afs_headless_zombie", - "type": "MONSTER", - "name": { "str": "headless zombie" }, - "description": "Despite lacking a head, this zombie appears to have not gotten the memo, and shambles aimlessly around without functioning senses. Black ooze pulses out of its neck, and it stumbles around listlessly.", - "default_faction": "zombie", - "species": [ "ZOMBIE", "HUMAN" ], - "volume": "60000 ml", - "weight": "78500 g", - "hp": 60, - "speed": 50, - "material": [ "flesh" ], - "symbol": "Z", - "color": "brown", - "aggression": 100, - "morale": 100, - "melee_skill": 3, - "melee_dice": 1, - "melee_dice_sides": 3, - "melee_damage": [ { "damage_type": "cut", "amount": 0 } ], - "harvest": "zombie", - "special_attacks": [ { "id": "grab", "cooldown": 7 }, [ "scratch", 20 ] ], - "death_drops": "default_zombie_death_drops", - "upgrades": { "half_life": 28, "into": "mon_afs_headless_horror" }, - "flags": [ - "STUMBLES", - "WARM", - "BASHES", - "GROUP_BASH", - "POISON", - "NO_BREATHE", - "REVIVES", - "PUSH_MON", - "FILTHY", - "NOHEAD", - "LOUDMOVES" - ] - } -] diff --git a/data/mods/Aftershock/mutations/obsolete.json b/data/mods/Aftershock/mutations/obsolete.json index 57c786c157001..b95e887abc048 100644 --- a/data/mods/Aftershock/mutations/obsolete.json +++ b/data/mods/Aftershock/mutations/obsolete.json @@ -1,319 +1,152 @@ [ { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "AFS_PROF_SKIIER", - "name": { "str": "Alpine Conditioning" }, - "description": "Time spent in high altitudes and low temperatures have adapted you to them, and you're slightly better at resisting the cold.", - "bodytemp_modifiers": [ 50, 100 ], - "points": 0, - "valid": false, - "purifiable": false, - "profession": true + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "AFS_PROF_STRONGMAN", - "name": { "str": "Brutal Strength" }, - "description": "Genetic defects have made your body incredibly strong. Strength + 7.", - "points": 0, - "valid": false, - "purifiable": false, - "cancels": [ "STR_UP" ], - "profession": true + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "LEATHER_FEET", - "name": "Leathered Feet", - "points": 1, - "description": "The bottoms of your feet are tough like an animals. You receive no movement penalty for not wearing shoes.", - "valid": false + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "SKINFOLDS", - "name": "Skinfolds", - "points": 1, - "description": "Your skin is tough. Cutting damage is slightly reduced for you. Slightly decreases wet penalties.", - "valid": false, - "cancels": [ "THINSKIN" ], - "wet_protection": [ - { "part": "leg_l", "neutral": 2 }, - { "part": "leg_r", "neutral": 2 }, - { "part": "arm_l", "neutral": 2 }, - { "part": "arm_r", "neutral": 2 }, - { "part": "torso", "neutral": 4 } - ], - "armor": [ - { - "parts": [ "torso", "arm_l", "arm_r", "hand_l", "hand_r", "leg_l", "leg_r", "foot_l", "foot_r", "mouth", "eyes" ], - "cut": 1 - } - ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "WEAKJOINTS", - "name": { "str": "Weak Joints" }, - "points": -1, - "description": "A common flaw in your genemod, brought on by increased muscle mass and bone density. Moving over rough terrain will slow you down more than normal.", - "valid": false, - "enchantments": [ { "values": [ { "value": "MOVECOST_OBSTACLE_MOD", "multiply": 0.15 } ] } ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "SPECAILIZED_DIET", - "name": "Herbivorous Ancestry", - "points": -2, - "description": "You have problems with eating meat. It's possible for you to eat it, but you will suffer morale penalties and obtain less nutrition from it.", - "valid": false, - "vitamins_absorb_multi": [ [ "flesh", [ [ "vitC", 0 ], [ "calcium", 0 ], [ "iron", 0 ] ] ] ], - "cancels": [ "CANNIBAL", "MEATARIAN", "ANTIFRUIT" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "ELEPHANTINE_SMELL", - "name": "Strong Scent", - "points": -1, - "description": "Your scent is particularly strong. It's vaguely offensive to humans, and animals that track your scent will do so more easily.", - "valid": false, - "types": [ "SCENT" ], - "scent_intensity": 800, - "social_modifiers": { "persuade": -5, "intimidate": -5 } + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "GIANT_STEPS", - "name": { "str": "Giant Step" }, - "points": -1, - "description": "You make more noise while walking. You're also more likely to set off traps.", - "valid": false, - "cancels": [ "LIGHTSTEP" ], - "enchantments": [ { "values": [ { "value": "FOOTSTEP_NOISE", "multiply": 0.7 } ] } ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "SLOWANDSTEADY", - "name": "Slow and Steady", - "points": -3, - "description": "You can't move as fast as most, resulting in a 10% speed penalty on flat ground.", - "valid": false, - "types": [ "RUNNING" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "SHORTFUR", - "name": { "str": "Short Fur Coat" }, - "points": 1, - "visibility": 6, - "ugliness": 2, - "bodytemp_modifiers": [ 100, 300 ], - "description": "Short fur has grown to cover your entire body, providing slight protection from cold.", - "valid": false, - "types": [ "SKIN" ], - "changes_to": [ "MEDIUMFUR" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "MEDIUMFUR", - "name": { "str": "Furry" }, - "points": 2, - "visibility": 10, - "ugliness": 3, - "bodytemp_modifiers": [ 350, 700 ], - "description": "Thick brown fur has grown to cover your entire body, providing a slight protection against attacks, and some protection from cold.", - "valid": false, - "types": [ "SKIN" ], - "prereqs": [ "LIGHTFUR" ], - "armor": [ - { - "parts": [ "torso", "arm_l", "arm_r", "hand_l", "hand_r", "leg_l", "leg_r", "foot_l", "foot_r", "mouth", "eyes" ], - "bash": 2 - } - ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "MUT_TANK", - "name": "Immovable", - "points": 2, - "description": "You can survive injuries that would incapacitate humans: you get a 20% bonus to all hit points. Stacks with Tough, etc.", - "valid": false, - "social_modifiers": { "intimidate": 2 }, - "prereqs": [ "LARGE_OK", "HUGE_OK", "STR_UP_3", "STR_UP_4", "MASOCHIST_MED" ], - "threshreq": [ "THRESH_MASTODON" ], - "cancels": [ "FLIMSY", "FLIMSY2", "FLIMSY3", "GLASSJAW" ], - "changes_to": [ "MUT_TANK2" ], - "enchantments": [ { "values": [ { "value": "MAX_HP", "multiply": 0.2 } ] } ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "MUT_TANK2", - "name": "Unstoppable", - "points": 3, - "description": "Not much scares you. You get a 30% bonus to all hit points. Stacks with Tough, etc.", - "social_modifiers": { "intimidate": 3 }, - "valid": false, - "prereqs": [ "MUT_TANK" ], - "threshreq": [ "THRESH_MASTODON" ], - "cancels": [ "FLIMSY", "FLIMSY2", "FLIMSY3", "GLASSJAW" ], - "changes_to": [ "MUT_TANK3" ], - "enchantments": [ { "values": [ { "value": "MAX_HP", "multiply": 0.3 } ] } ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "MUT_TANK3", - "name": "Meatshield", - "points": 4, - "description": "You can simply take the punishment from lesser beings and keep going. You get a 40% bonus to all hit points. Stacks with Tough, etc.", - "social_modifiers": { "intimidate": 4 }, - "valid": false, - "prereqs": [ "MUT_TANK2" ], - "threshreq": [ "THRESH_MASTODON" ], - "cancels": [ "FLIMSY", "FLIMSY2", "FLIMSY3", "GLASSJAW" ], - "enchantments": [ { "values": [ { "value": "MAX_HP", "multiply": 0.4 } ] } ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "ELEPHANTINE", - "name": "Elephantine", - "points": 0, - "visibility": 1, - "ugliness": 1, - "mixed_effect": true, - "encumbrance_always": [ [ "torso", 10 ], [ "arm_l", 10 ], [ "arm_r", 10 ] ], - "description": "You have grown noticeably taller and broader. Much of it is useful muscle mass (Strength +2), but you find it throws off your balance and you get in your own way (+10 torso and arm encumbrance).", - "valid": false, - "prereqs": [ "STR_UP", "STR_UP_2", "STR_UP_3", "STR_UP_4" ], - "cancels": [ "SMALL", "SMALL2" ], - "changes_to": [ "ELEPHANTINE_OK", "GIGANTIC" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "ELEPHANTINE_OK", - "name": "Large", - "points": 2, - "visibility": 1, - "description": "You carry your rugged body with the dignity you deserve. Strength +2.", - "valid": false, - "prereqs": [ "ELEPHANTINE" ], - "prereqs2": [ "STR_UP", "STR_UP_2", "STR_UP_3", "STR_UP_4" ], - "cancels": [ "SMALL", "SMALL2" ], - "threshreq": [ "THRESH_MASTODON" ], - "changes_to": [ "GIGANTIC" ], - "leads_to": [ "MUT_TANK" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "GIGANTIC", - "name": "Freakishly Gigantic", - "points": -2, - "visibility": 4, - "ugliness": 4, - "mixed_effect": true, - "description": "You have grown even more massive, to the point where you cannot usefully fit into human-sized clothing or vehicles. Much of it is powerful muscle mass (Strength +4), but it's a real pain to haul around.", - "valid": false, - "prereqs": [ "ELEPHANTINE", "ELEPHANTINE_OK" ], - "prereqs2": [ "STR_UP_3", "STR_UP_4" ], - "cancels": [ "SMALL", "SMALL2" ], - "changes_to": [ "GIGANTIC_OK" ], - "enchantments": [ { "values": [ { "value": "MAX_HP", "add": -6 } ] } ], - "restricts_gear": [ "torso", "leg_l", "leg_r", "arm_l", "arm_r", "hand_l", "hand_r", "head", "foot_l", "foot_r" ], - "destroys_gear": true + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "GIGANTIC_OK", - "name": "Gigantic", - "points": 2, - "visibility": 4, - "ugliness": 3, - "mixed_effect": true, - "description": "Your cardiovascular system has caught up with your muscular physique, so who needs pathetic human cars? Strength +4.", - "valid": false, - "prereqs": [ "ELEPHANTINE" ], - "prereqs2": [ "STR_UP_3", "STR_UP_4" ], - "cancels": [ "SMALL", "SMALL2" ], - "threshreq": [ "THRESH_MASTODON" ], - "leads_to": [ "MUT_TANK" ], - "restricts_gear": [ "torso", "leg_l", "leg_r", "arm_l", "arm_r", "hand_l", "hand_r", "head", "foot_l", "foot_r" ], - "destroys_gear": true + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "YAKSMELL", - "name": "Terrible Odor", - "points": -2, - "visibility": 4, - "ugliness": 5, - "description": "You smell exactly like a shaggy elephant would, assuming it sweated, which you do. Monsters that track scent will find you very easily, and humans will react poorly.", - "valid": false, - "scent_intensity": 1200, - "prereqs": [ "ELEPHANTINE_SMELL" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "BIG_FOOD", - "name": "Constant Eater", - "points": -2, - "description": "You require more food than most people, but recover stamina slightly faster.", - "valid": false, - "types": [ "METABOLISM" ], - "changes_to": [ "LARGE_DIET" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "LARGE_DIET", - "name": "Large Diet", - "points": -2, - "description": "You require more food than others but your ability to go the distance in both combat and athleticism is expanded.", - "valid": false, - "types": [ "HEALING" ], - "cancels": [ "LIGHTEATER", "COLDBLOOD", "COLDBLOOD2", "COLDBLOOD3", "COLDBLOOD4", "WAKEFUL", "WAKEFUL2", "WAKEFUL3" ], - "prereqs": [ "HUNGER" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "FLUSH", - "name": "High Thirst", - "points": -2, - "description": "Your body needs more water than usual to flush the denser waste products.", - "valid": false, - "changes_to": [ "H20NEEDS" ], - "cancels": [ "NO_THIRST" ], - "enchantments": [ { "values": [ { "value": "THIRST", "multiply": 0.5 } ] } ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "H20NEEDS", - "name": "Giant Thirst", - "points": -3, - "description": "Ugh, out of water already? You need about twice the fluids of an average human.", - "valid": false, - "prereqs": [ "THIRST" ], - "cancels": [ "NO_THIRST" ], - "enchantments": [ { "values": [ { "value": "THIRST", "multiply": 1 } ] } ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "DELIBERATE1", - "name": "Ponderous", - "points": -3, - "description": "Your weight must be delicately placed lest the ground give way. You move 10% slower.", - "valid": false, - "types": [ "RUNNING" ], - "changes_to": [ "DELIBERATE2" ], - "cancels": [ "FLEET" ] + "//": "remove after 0.I", + "remove": true }, { - "type": "mutation", + "type": "TRAIT_MIGRATION", "id": "DELIBERATE2", - "name": "Very Deliberate", - "points": -5, - "description": "Your muscles are quite slow to move. You move 25% slower.", - "valid": false, - "types": [ "RUNNING" ], - "prereqs": [ "DELIBERATE1" ], - "cancels": [ "QUICK" ] + "//": "remove after 0.I", + "remove": true } ] diff --git a/data/mods/Aftershock/player/obsolete.json b/data/mods/Aftershock/player/obsolete.json index 6f8fd44381646..45239cd479d2f 100644 --- a/data/mods/Aftershock/player/obsolete.json +++ b/data/mods/Aftershock/player/obsolete.json @@ -1,21 +1,14 @@ [ { - "id": "afs_bio_precision_solderers", - "type": "bionic", - "name": { "str": "Precision Solderers" }, - "description": "Your hands have been outfitted with precise soldering tools, wire cutters, and cable spools. They're too small to use in most crafting, but in the absence of proper machinery, they're essential for creating bionics without better tools.", - "occupied_bodyparts": [ [ "hand_l", 1 ], [ "hand_r", 1 ] ], - "passive_pseudo_items": [ "afs_solderers_item" ] + "type": "bionic_migration", + "from": "afs_bio_precision_solderers", + "//": "remove after 0.I", + "to": "bio_tools" }, { - "id": "afs_bio_wind_turbine", - "type": "bionic", - "name": { "str": "Wind Turbines" }, - "description": "Installed on your body is a set of small retractable wind turbines. When activated, they will deploy and slowly harvest wind power to recharge your power level.", - "occupied_bodyparts": [ [ "torso", 10 ] ], - "fuel_options": [ "wind" ], - "fuel_efficiency": 0.25, - "time": "1 s", - "flags": [ "BIONIC_POWER_SOURCE", "BIONIC_TOGGLED" ] + "type": "bionic_migration", + "from": "afs_bio_wind_turbine", + "//": "remove after 0.I", + "to": "bio_torsionratchet" } ]