summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-07-31 05:20:59 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-07-31 05:20:59 -0700
commit6f803032de220719f78bacea5c702dcbe2ba83af (patch)
tree263473930cecd6795503a09a70744f28a062436c /json
downloadcataclysm-bn-mod_restore-crows-turrets-6f803032de220719f78bacea5c702dcbe2ba83af.tar.xz
Initial commit
Diffstat (limited to 'json')
-rw-r--r--json/items/corpses/inactive_bots.json68
-rw-r--r--json/items/generic.json29
-rw-r--r--json/monsters/turrets.json179
-rw-r--r--json/recipes/recipe_deconstruction.json65
-rw-r--r--json/recipes/recipe_electronics.json98
5 files changed, 439 insertions, 0 deletions
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 ] ]
+ ]
+ }
+]