From 6f803032de220719f78bacea5c702dcbe2ba83af Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 31 Jul 2021 05:20:59 -0700 Subject: Initial commit --- json/items/corpses/inactive_bots.json | 68 ++++++++++++ json/items/generic.json | 29 ++++++ json/monsters/turrets.json | 179 ++++++++++++++++++++++++++++++++ json/recipes/recipe_deconstruction.json | 65 ++++++++++++ json/recipes/recipe_electronics.json | 98 +++++++++++++++++ 5 files changed, 439 insertions(+) create mode 100644 json/items/corpses/inactive_bots.json create mode 100644 json/items/generic.json create mode 100644 json/monsters/turrets.json create mode 100644 json/recipes/recipe_deconstruction.json create mode 100644 json/recipes/recipe_electronics.json (limited to 'json') diff --git a/json/items/corpses/inactive_bots.json b/json/items/corpses/inactive_bots.json new file mode 100644 index 0000000..2a7732e --- /dev/null +++ b/json/items/corpses/inactive_bots.json @@ -0,0 +1,68 @@ +[ + { + "id": "bot_turret_light", + "type": "TOOL", + "name": { "str": "inactive autonomous M249 CROWS II", "str_pl": "inactive autonomous M249 CROWS II turrets" }, + "description": "This is an inactive turret. Using this item involves loading the unit with the factory-loaded 5.56x45mm rounds in your inventory (if you wish to divide your ammunition, set aside whatever 5.56x45mm rounds you do NOT want to give the turret) turning it on, and placing it on the ground, where it will attach itself. If programmed successfully the turret will then identify you as a friendly, and attack all enemies with its M249.", + "weight": "172 kg", + "volume": "30 L", + "price": 500000, + "to_hit": -3, + "price_postapoc": 5000, + "bashing": 8, + "material": [ "steel", "plastic" ], + "symbol": ";", + "color": "green", + "use_action": { + "type": "place_monster", + "monster_id": "mon_turret_light", + "difficulty": 6, + "moves": 100, + "skills": [ "electronics", "computer" ] + } + }, + { + "id": "bot_turret_medium", + "type": "TOOL", + "name": { "str": "inactive autonomous M240 CROWS II", "str_pl": "inactive autonomous M240 CROWS II turrets" }, + "description": "This is an inactive turret. Using this item involves loading the unit with the factory-loaded 7.62x51mm rounds in your inventory (if you wish to divide your ammunition, set aside whatever 7.62x51mm rounds you do NOT want to give the turret) turning it on, and placing it on the ground, where it will attach itself. If programmed successfully the turret will then identify you as a friendly, and attack all enemies with its M240.", + "weight": "172 kg", + "volume": "30 L", + "price": 500000, + "price_postapoc": 6000, + "to_hit": -3, + "bashing": 8, + "material": [ "steel", "plastic" ], + "symbol": ";", + "color": "green", + "use_action": { + "type": "place_monster", + "monster_id": "mon_turret_medium", + "difficulty": 6, + "moves": 100, + "skills": [ "electronics", "computer" ] + } + }, + { + "id": "bot_turret_longrange", + "type": "TOOL", + "name": { "str": "inactive M2HB autonomous CROWS II", "str_pl": "inactive M2HB autonomous CROWS II turrets" }, + "description": "This is an inactive turret. Using this item involves loading the unit with the factory-loaded .50 BMG rounds in your inventory (if you wish to divide your ammunition, set aside whatever .50 BMG rounds you do NOT want to give the turret) turning it on, and placing it on the ground, where it will attach itself. If programmed successfully the turret will then identify you as a friendly, and attack all enemies with its M2HB.", + "weight": "172 kg", + "volume": "30 L", + "price": 500500, + "price_postapoc": 8000, + "to_hit": -3, + "bashing": 8, + "material": [ "steel", "plastic" ], + "symbol": ";", + "color": "red", + "use_action": { + "type": "place_monster", + "monster_id": "mon_turret_longrange", + "difficulty": 6, + "moves": 100, + "skills": [ "electronics", "computer" ] + } + } +] diff --git a/json/items/generic.json b/json/items/generic.json new file mode 100644 index 0000000..86f4521 --- /dev/null +++ b/json/items/generic.json @@ -0,0 +1,29 @@ +[ + { + "type": "GENERIC", + "id": "broken_turret_light", + "symbol": ",", + "color": "green", + "name": { "str": "broken M249 autonomous CROWS II", "str_pl": "broken M249 autonomous CROWS II turrets" }, + "weight": "75 kg", + "copy-from": "broken_turret" + }, + { + "type": "GENERIC", + "id": "broken_turret_medium", + "symbol": ",", + "color": "green", + "name": { "str": "broken M240 autonomous CROWS II", "str_pl": "broken M240 autonomous CROWS II turrets" }, + "weight": "75 kg", + "copy-from": "broken_turret" + }, + { + "type": "GENERIC", + "id": "broken_turret_longrange", + "symbol": ",", + "color": "green", + "name": { "str": "broken M2 autonomous CROWS II", "str_pl": "broken M2 autonomous CROWS II turrets" }, + "weight": "100 kg", + "copy-from": "broken_turret" + } +] diff --git a/json/monsters/turrets.json b/json/monsters/turrets.json new file mode 100644 index 0000000..adf65e9 --- /dev/null +++ b/json/monsters/turrets.json @@ -0,0 +1,179 @@ +[ + { + "id": "mon_turret_light", + "type": "MONSTER", + "name": { "str": "M249 autonomous CROWS II" }, + "description": "A remote weapon system derived from the M153 CROWS II and enhanced with autonomous operation software. Thousands of these were deployed by the US military before the Cataclysm and they were valued for their use in engaging infantry without exposing the operator. This one is fitted with a M249.", + "default_faction": "military", + "species": [ "ROBOT" ], + "diff": 30, + "volume": "60000 ml", + "weight": "172 kg", + "hp": 40, + "speed": 100, + "material": [ "steel" ], + "symbol": "2", + "color": "green", + "aggression": 100, + "morale": 100, + "armor_bash": 14, + "armor_cut": 16, + "armor_bullet": 13, + "vision_day": 50, + "vision_night": 3, + "revert_to_itype": "bot_turret_light", + "starting_ammo": { "556": 1600 }, + "special_attacks": [ + { + "type": "gun", + "cooldown": 1, + "move_cost": 150, + "gun_type": "m249", + "ammo_type": "556", + "fake_skills": [ [ "gun", 8 ], [ "rifle", 8 ] ], + "fake_dex": 12, + "ranges": [ [ 0, 36, "DEFAULT" ] ], + "require_targeting_npc": true, + "require_targeting_monster": true, + "laser_lock": false, + "targeting_cost": 200, + "targeting_timeout_extend": -10, + "targeting_sound": "\"Hostile detected.\"", + "targeting_volume": 50, + "no_ammo_sound": "a chk!" + } + ], + "special_when_hit": [ "RETURN_FIRE", 100 ], + "death_drops": { }, + "death_function": { "corpse_type": "BROKEN" }, + "flags": [ + "SEES", + "NOHEAD", + "ELECTRONIC", + "COLDPROOF", + "IMMOBILE", + "NO_BREATHE", + "DROPS_AMMO", + "ID_CARD_DESPAWN", + "CONSOLE_DESPAWN" + ] + }, + { + "id": "mon_turret_medium", + "type": "MONSTER", + "name": { "str": "M240 autonomous CROWS II" }, + "description": "A remote weapon system derived from the M153 CROWS II and enhanced with autonomous operation software. Thousands of these were deployed by the US military before the Cataclysm and they were valued for their use in engaging infantry without exposing the operator. This one is fitted with a M240.", + "default_faction": "military", + "species": [ "ROBOT" ], + "diff": 35, + "volume": "60000 ml", + "weight": "172 kg", + "hp": 40, + "speed": 100, + "material": [ "steel" ], + "symbol": "2", + "color": "green", + "aggression": 100, + "morale": 100, + "armor_bash": 14, + "armor_cut": 16, + "armor_bullet": 13, + "vision_day": 50, + "vision_night": 3, + "revert_to_itype": "bot_turret_medium", + "starting_ammo": { "762_51": 1000 }, + "special_attacks": [ + { + "type": "gun", + "cooldown": 1, + "move_cost": 150, + "gun_type": "m240", + "ammo_type": "762_51", + "fake_skills": [ [ "gun", 8 ], [ "rifle", 8 ] ], + "fake_dex": 12, + "ranges": [ [ 0, 60, "DEFAULT" ] ], + "require_targeting_npc": true, + "require_targeting_monster": true, + "laser_lock": false, + "targeting_cost": 200, + "targeting_timeout_extend": -10, + "targeting_sound": "\"Hostile detected.\"", + "targeting_volume": 50, + "no_ammo_sound": "a chk!" + } + ], + "special_when_hit": [ "RETURN_FIRE", 100 ], + "death_drops": { }, + "death_function": { "corpse_type": "BROKEN" }, + "flags": [ + "SEES", + "NOHEAD", + "ELECTRONIC", + "COLDPROOF", + "IMMOBILE", + "NO_BREATHE", + "DROPS_AMMO", + "ID_CARD_DESPAWN", + "CONSOLE_DESPAWN" + ] + }, + { + "id": "mon_turret_longrange", + "type": "MONSTER", + "name": { "str": "M2HB autonomous CROWS II" }, + "description": "A remote weapon system derived from the M153 CROWS II and enhanced with autonomous operation software. Thousands of these were deployed by the US military before the Cataclysm and they were valued for their use in engaging anything up to light vehicles at long range without exposing the operator. This one is fitted with a M2HB.", + "default_faction": "military", + "species": [ "ROBOT" ], + "diff": 40, + "volume": "62500 ml", + "weight": "172 kg", + "hp": 40, + "speed": 100, + "material": [ "steel" ], + "symbol": "2", + "color": "green", + "aggression": 100, + "morale": 100, + "armor_bash": 14, + "armor_cut": 16, + "armor_bullet": 13, + "vision_day": 50, + "vision_night": 3, + "revert_to_itype": "bot_turret_longrange", + "starting_ammo": { "50bmg": 400 }, + "special_attacks": [ + { + "type": "gun", + "cooldown": 1, + "move_cost": 150, + "gun_type": "m2browning", + "ammo_type": "50bmg", + "fake_skills": [ [ "gun", 8 ], [ "rifle", 8 ] ], + "fake_dex": 12, + "ranges": [ [ 0, 40, "AUTO" ], [ 41, 110, "DEFAULT" ] ], + "require_targeting_npc": true, + "require_targeting_monster": true, + "laser_lock": false, + "targeting_cost": 200, + "targeting_timeout_extend": -10, + "targeting_sound": "\"Hostile detected.\"", + "targeting_volume": 50, + "no_ammo_sound": "a chk!" + } + ], + "special_when_hit": [ "RETURN_FIRE", 100 ], + "death_drops": { }, + "death_function": { "corpse_type": "BROKEN" }, + "flags": [ + "SEES", + "NOHEAD", + "ELECTRONIC", + "COLDPROOF", + "IMMOBILE", + "NO_BREATHE", + "DROPS_AMMO", + "CONSOLE_DESPAWN", + "ID_CARD_DESPAWN" + ] + } +] diff --git a/json/recipes/recipe_deconstruction.json b/json/recipes/recipe_deconstruction.json new file mode 100644 index 0000000..777079f --- /dev/null +++ b/json/recipes/recipe_deconstruction.json @@ -0,0 +1,65 @@ +[ + { + "result": "broken_turret_light", + "type": "uncraft", + "skill_used": "electronics", + "difficulty": 4, + "time": "1 h", + "using": [ [ "soldering_standard", 10 ] ], + "qualities": [ { "id": "SCREW", "level": 1 } ], + "components": [ + [ [ "ai_module", 1 ] ], + [ [ "gun_module", 1 ] ], + [ [ "targeting_module", 1 ] ], + [ [ "identification_module", 1 ] ], + [ [ "sensor_module", 1 ] ], + [ [ "m249", 1 ] ], + [ [ "small_storage_battery", 1 ] ], + [ [ "power_supply", 1 ] ], + [ [ "robot_controls", 1 ] ], + [ [ "turret_chassis", 1 ] ] + ] + }, + { + "result": "broken_turret_medium", + "type": "uncraft", + "skill_used": "electronics", + "difficulty": 4, + "time": "1 h", + "using": [ [ "soldering_standard", 10 ] ], + "qualities": [ { "id": "SCREW", "level": 1 } ], + "components": [ + [ [ "ai_module", 1 ] ], + [ [ "gun_module", 1 ] ], + [ [ "targeting_module", 1 ] ], + [ [ "identification_module", 1 ] ], + [ [ "sensor_module", 1 ] ], + [ [ "m240", 1 ] ], + [ [ "small_storage_battery", 1 ] ], + [ [ "power_supply", 1 ] ], + [ [ "robot_controls", 1 ] ], + [ [ "turret_chassis", 1 ] ] + ] + }, + { + "result": "broken_turret_longrange", + "type": "uncraft", + "skill_used": "electronics", + "difficulty": 4, + "time": "1 h", + "using": [ [ "soldering_standard", 10 ] ], + "qualities": [ { "id": "SCREW", "level": 1 } ], + "components": [ + [ [ "ai_module", 1 ] ], + [ [ "identification_module", 1 ] ], + [ [ "sensor_module", 1 ] ], + [ [ "gun_module", 1 ] ], + [ [ "targeting_module", 1 ] ], + [ [ "m2browning", 1 ] ], + [ [ "small_storage_battery", 1 ] ], + [ [ "robot_controls", 1 ] ], + [ [ "power_supply", 1 ] ], + [ [ "turret_chassis", 1 ] ] + ] + } +] diff --git a/json/recipes/recipe_electronics.json b/json/recipes/recipe_electronics.json new file mode 100644 index 0000000..33cd936 --- /dev/null +++ b/json/recipes/recipe_electronics.json @@ -0,0 +1,98 @@ +[ + { + "type": "recipe", + "result": "bot_turret_light", + "category": "CC_ELECTRONIC", + "subcategory": "CSC_ELECTRONIC_OTHER", + "skill_used": "electronics", + "skills_required": [ [ "mechanics", 6 ], [ "computer", 5 ] ], + "difficulty": 8, + "time": "30 m", + "reversible": true, + "decomp_learn": 8, + "book_learn": [ [ "recipe_lab_elec", 7 ], [ "textbook_robots", 9 ] ], + "using": [ [ "soldering_standard", 14 ] ], + "qualities": [ + { "id": "SCREW", "level": 1 }, + { "id": "SCREW_FINE", "level": 1 }, + { "id": "WRENCH", "level": 2 }, + { "id": "WRENCH_FINE", "level": 1 } + ], + "components": [ + [ [ "ai_module", 1 ] ], + [ [ "gun_module", 1 ] ], + [ [ "targeting_module", 1 ] ], + [ [ "identification_module", 1 ] ], + [ [ "sensor_module", 1 ] ], + [ [ "m249", 1 ] ], + [ [ "small_storage_battery", 1 ] ], + [ [ "power_supply", 1 ] ], + [ [ "robot_controls", 1 ] ], + [ [ "turret_chassis", 1 ] ] + ] + }, + { + "type": "recipe", + "result": "bot_turret_medium", + "category": "CC_ELECTRONIC", + "subcategory": "CSC_ELECTRONIC_OTHER", + "skill_used": "electronics", + "skills_required": [ [ "mechanics", 6 ], [ "computer", 5 ] ], + "difficulty": 8, + "time": "30 m", + "reversible": true, + "decomp_learn": 8, + "book_learn": [ [ "recipe_lab_elec", 7 ], [ "textbook_robots", 9 ] ], + "using": [ [ "soldering_standard", 14 ] ], + "qualities": [ + { "id": "SCREW", "level": 1 }, + { "id": "SCREW_FINE", "level": 1 }, + { "id": "WRENCH", "level": 2 }, + { "id": "WRENCH_FINE", "level": 1 } + ], + "components": [ + [ [ "ai_module", 1 ] ], + [ [ "gun_module", 1 ] ], + [ [ "targeting_module", 1 ] ], + [ [ "identification_module", 1 ] ], + [ [ "sensor_module", 1 ] ], + [ [ "m240", 1 ] ], + [ [ "small_storage_battery", 1 ] ], + [ [ "power_supply", 1 ] ], + [ [ "robot_controls", 1 ] ], + [ [ "turret_chassis", 1 ] ] + ] + }, + { + "type": "recipe", + "result": "bot_turret_longrange", + "category": "CC_ELECTRONIC", + "subcategory": "CSC_ELECTRONIC_OTHER", + "skill_used": "electronics", + "skills_required": [ [ "mechanics", 6 ], [ "computer", 5 ] ], + "reversible": true, + "decomp_learn": 5, + "book_learn": [ [ "schematics_antimateriel", 7 ] ], + "difficulty": 5, + "time": "1 h 15 m", + "using": [ [ "soldering_standard", 10 ] ], + "qualities": [ + { "id": "SCREW", "level": 1 }, + { "id": "SCREW_FINE", "level": 1 }, + { "id": "WRENCH", "level": 2 }, + { "id": "WRENCH_FINE", "level": 1 } + ], + "components": [ + [ [ "ai_module", 1 ] ], + [ [ "identification_module", 1 ] ], + [ [ "sensor_module", 1 ] ], + [ [ "gun_module", 1 ] ], + [ [ "targeting_module", 1 ] ], + [ [ "m2browning", 1 ] ], + [ [ "small_storage_battery", 1 ] ], + [ [ "robot_controls", 1 ] ], + [ [ "power_supply", 1 ] ], + [ [ "turret_chassis", 1 ] ] + ] + } +] -- cgit v1.2.1