summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-08-05 20:33:22 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-08-05 20:33:22 -0700
commit6a21056e1589f76e3e55e08a1c443987e4005043 (patch)
tree499b9e9a84b069732b0feef0ad0240db1c83e0c2
downloadcataclysm-dda-mod_survivorheadgear-crafting-6a21056e1589f76e3e55e08a1c443987e4005043.tar.xz
Initial commit
-rw-r--r--Readme.txt5
-rw-r--r--json/items/armor/helmet.json122
-rw-r--r--json/recipes/armor/head.json108
-rw-r--r--json/recipes/recipe_obsolete.json17
-rw-r--r--modinfo.json11
5 files changed, 263 insertions, 0 deletions
diff --git a/Readme.txt b/Readme.txt
new file mode 100644
index 0000000..a8aea0c
--- /dev/null
+++ b/Readme.txt
@@ -0,0 +1,5 @@
+Added back the Medium, Heavy, and XL Survivor Helmets and recipes.
+Added a Light Survivor Helmet and recipe.
+Added a Heavy Survivor Hood and recipe which should have been added to the base game when the Heavy Survivor Helmet was removed.
+Fixed the recipe for the XL Survivor Helmet to be based on the Medium Helmet, with roughly double materials.
+Buff the helmets to better match the high weight.
diff --git a/json/items/armor/helmet.json b/json/items/armor/helmet.json
new file mode 100644
index 0000000..f70ef56
--- /dev/null
+++ b/json/items/armor/helmet.json
@@ -0,0 +1,122 @@
+[
+ {
+ "id": "helmet_lsurvivor",
+ "type": "ARMOR",
+ "category": "armor",
+ "name": { "str": "light survivor helmet" },
+ "description": "A customized, heavily armored Kevlar helmet, modified with cotton reinforcements to provide maximum comfort and protection from harm. All the added material has kept it rather light.",
+ "weight": "1100 g",
+ "volume": "2500 ml",
+ "price": 58000,
+ "to_hit": -1,
+ "bashing": 10,
+ "material": [ "kevlar", "cotton" ],
+ "symbol": "[",
+ "looks_like": "helmet_army",
+ "color": "dark_gray",
+ "covers": [ "HEAD" ],
+ "coverage": 100,
+ "encumbrance": 15,
+ "warmth": 15,
+ "material_thickness": 5,
+ "environmental_protection": 3,
+ "techniques": [ "WBLOCK_1" ],
+ "flags": [ "VARSIZE", "WATERPROOF", "STURDY" ]
+ },
+ {
+ "id": "helmet_survivor",
+ "type": "ARMOR",
+ "category": "armor",
+ "name": { "str": "survivor helmet" },
+ "description": "A customized, heavily armored Kevlar helmet, modified with leather reinforcements to provide maximum comfort and protection from harm.",
+ "weight": "1420 g",
+ "volume": "2500 ml",
+ "price": 58000,
+ "to_hit": -1,
+ "bashing": 10,
+ "material": [ "kevlar", "leather" ],
+ "symbol": "[",
+ "looks_like": "helmet_army",
+ "color": "dark_gray",
+ "covers": [ "HEAD" ],
+ "coverage": 100,
+ "encumbrance": 25,
+ "warmth": 15,
+ "material_thickness": 7,
+ "environmental_protection": 3,
+ "techniques": [ "WBLOCK_1" ],
+ "flags": [ "VARSIZE", "WATERPROOF", "STURDY" ]
+ },
+ {
+ "id": "helmet_xlsurvivor",
+ "type": "ARMOR",
+ "category": "armor",
+ "name": { "str": "XL survivor helmet" },
+ "description": "A massive customized, heavily armored Kevlar helmet, modified with leather reinforcements to provide maximum comfort and protection from harm.",
+ "weight": "3060 g",
+ "volume": "6 L",
+ "price": 58000,
+ "to_hit": -1,
+ "bashing": 10,
+ "material": [ "kevlar", "leather" ],
+ "symbol": "[",
+ "looks_like": "helmet_survivor",
+ "color": "dark_gray",
+ "covers": [ "HEAD" ],
+ "coverage": 100,
+ "encumbrance": 50,
+ "warmth": 15,
+ "material_thickness": 6,
+ "environmental_protection": 3,
+ "techniques": [ "WBLOCK_1" ],
+ "flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
+ },
+ {
+ "id": "helmet_hsurvivor",
+ "type": "ARMOR",
+ "category": "armor",
+ "name": { "str": "heavy survivor helmet" },
+ "description": "A customized, heavily armored steel and kevlar helmet, modified to provide maximum comfort and protection from harm. All the added material has made it rather heavy.",
+ "weight": "3312 g",
+ "volume": "2500 ml",
+ "price": 58000,
+ "to_hit": -1,
+ "bashing": 10,
+ "material": [ "kevlar", "steel", "leather" ],
+ "symbol": "[",
+ "looks_like": "helmet_survivor",
+ "color": "dark_gray",
+ "covers": [ "HEAD" ],
+ "coverage": 100,
+ "encumbrance": 40,
+ "warmth": 15,
+ "material_thickness": 9,
+ "environmental_protection": 5,
+ "techniques": [ "WBLOCK_1" ],
+ "flags": [ "VARSIZE", "WATERPROOF", "STURDY" ]
+ },
+ {
+ "id": "hood_hsurvivor",
+ "type": "ARMOR",
+ "category": "armor",
+ "name": { "str": "heavy survivor hood" },
+ "description": "A customized, heavily armored steel and Kevlar hood, designed to provide comfort and protection from harm.",
+ "weight": "1100 g",
+ "volume": "3250 ml",
+ "price": 58000,
+ "to_hit": -1,
+ "bashing": 10,
+ "material": [ "kevlar", "steel", "leather" ],
+ "symbol": "[",
+ "looks_like": "hood_rain",
+ "color": "brown",
+ "covers": [ "HEAD" ],
+ "coverage": 100,
+ "encumbrance": 40,
+ "warmth": 15,
+ "material_thickness": 4,
+ "environmental_protection": 3,
+ "techniques": [ "WBLOCK_1" ],
+ "flags": [ "VARSIZE", "WATERPROOF", "STURDY", "OUTER", "HELMET_COMPAT" ]
+ }
+]
diff --git a/json/recipes/armor/head.json b/json/recipes/armor/head.json
new file mode 100644
index 0000000..7ac833a
--- /dev/null
+++ b/json/recipes/armor/head.json
@@ -0,0 +1,108 @@
+[
+ {
+ "result": "helmet_lsurvivor",
+ "type": "recipe",
+ "category": "CC_ARMOR",
+ "subcategory": "CSC_ARMOR_HEAD",
+ "skill_used": "tailor",
+ "difficulty": 5,
+ "skills_required": [ "fabrication", 3 ],
+ "time": "90 m",
+ "autolearn": true,
+ "using": [ [ "sewing_standard", 10 ] ],
+ "tools": [ [ [ "welder", 42 ], [ "welder_crude", 63 ], [ "soldering_iron", 63 ], [ "toolset", 63 ] ] ],
+ "components": [
+ [ [ "helmet_liner", 1 ], [ "hat_cotton", 1 ], [ "rag", 3 ] ],
+ [ [ "tac_helmet", 1 ], [ "tac_fullhelmet", 1 ], [ "helmet_army", 1 ], [ "kevlar_plate", 6 ] ],
+ [ [ "hood_rain", 1 ], [ "bag_plastic", 2 ] ],
+ [ [ "rag", 8 ] ],
+ [ [ "duct_tape", 150 ] ],
+ [ [ "helmet_riot", 1 ], [ "helmet_motor", 1 ], [ "helmet_football", 1 ], [ "helmet_ball", 1 ], [ "helmet_skid", 1 ], [ "helmet_bike", 1 ], [ "hat_hard", 1 ], [ "firehelmet", 1 ], [ "pickelhaube", 1 ], [ "plastic_chunk", 8 ] ]
+ ]
+ },
+ {
+ "result": "helmet_survivor",
+ "type": "recipe",
+ "category": "CC_ARMOR",
+ "subcategory": "CSC_ARMOR_HEAD",
+ "skill_used": "tailor",
+ "difficulty": 6,
+ "skills_required": [ "fabrication", 4 ],
+ "time": "90 m",
+ "autolearn": true,
+ "using": [ [ "sewing_standard", 10 ] ],
+ "tools": [ [ [ "welder", 42 ], [ "welder_crude", 63 ], [ "soldering_iron", 63 ], [ "toolset", 63 ] ] ],
+ "components": [
+ [ [ "helmet_liner", 1 ], [ "hat_cotton", 1 ], [ "rag", 3 ] ],
+ [ [ "tac_helmet", 1 ], [ "tac_fullhelmet", 1 ], [ "helmet_army", 1 ], [ "kevlar_plate", 6 ] ],
+ [ [ "hood_rain", 1 ], [ "bag_plastic", 2 ] ],
+ [ [ "leather", 8 ], [ "tanned_hide", 2 ] ],
+ [ [ "duct_tape", 150 ] ],
+ [ [ "helmet_riot", 1 ], [ "helmet_motor", 1 ], [ "helmet_football", 1 ], [ "helmet_ball", 1 ], [ "helmet_skid", 1 ], [ "helmet_bike", 1 ], [ "hat_hard", 1 ], [ "firehelmet", 1 ], [ "pickelhaube", 1 ], [ "plastic_chunk", 8 ] ]
+ ]
+ },
+ {
+ "result": "helmet_xlsurvivor",
+ "type": "recipe",
+ "category": "CC_ARMOR",
+ "subcategory": "CSC_ARMOR_HEAD",
+ "skill_used": "tailor",
+ "difficulty": 6,
+ "skills_required": [ "fabrication", 4 ],
+ "time": "90 m",
+ "autolearn": true,
+ "using": [ [ "sewing_standard", 20 ] ],
+ "tools": [ [ [ "welder", 84 ], [ "welder_crude", 126 ], [ "soldering_iron", 126 ], [ "toolset", 126 ] ] ],
+ "components": [
+ [ [ "helmet_liner", 2 ], [ "hat_cotton", 2 ], [ "rag", 8 ] ],
+ [ [ "tac_helmet", 2 ], [ "tac_fullhelmet", 2 ], [ "helmet_army", 2 ], [ "kevlar_plate", 14 ] ],
+ [ [ "hood_rain", 2 ], [ "bag_plastic", 4 ] ],
+ [ [ "leather", 16 ], [ "tanned_hide", 3 ] ],
+ [ [ "duct_tape", 300 ] ],
+ [ [ "helmet_riot", 2 ], [ "helmet_motor", 2 ], [ "helmet_football", 2 ], [ "helmet_ball", 2 ], [ "helmet_skid", 2 ], [ "helmet_bike", 2 ], [ "hat_hard", 2 ], [ "firehelmet", 2 ], [ "pickelhaube", 2 ], [ "plastic_chunk", 20 ] ]
+ ]
+ },
+ {
+ "result": "helmet_hsurvivor",
+ "type": "recipe",
+ "category": "CC_ARMOR",
+ "subcategory": "CSC_ARMOR_HEAD",
+ "skill_used": "tailor",
+ "difficulty": 7,
+ "skills_required": [ "fabrication", 5 ],
+ "time": "90 m",
+ "autolearn": true,
+ "using": [ [ "sewing_standard", 10 ] ],
+ "tools": [ [ [ "welder", 42 ], [ "welder_crude", 63 ], [ "soldering_iron", 63 ], [ "toolset", 63 ] ] ],
+ "components": [
+ [ [ "helmet_liner", 1 ], [ "hat_cotton", 1 ], [ "rag", 3 ] ],
+ [ [ "tac_helmet", 1 ], [ "tac_fullhelmet", 1 ], [ "helmet_army", 1 ], [ "kevlar_plate", 6 ] ],
+ [ [ "hood_rain", 1 ], [ "bag_plastic", 2 ] ],
+ [ [ "leather", 8 ], [ "tanned_hide", 2 ] ],
+ [ [ "steel_chunk", 2 ], [ "scrap", 6 ] ],
+ [ [ "duct_tape", 75 ] ],
+ [ [ "helmet_riot", 1 ], [ "helmet_motor", 1 ], [ "helmet_football", 1 ], [ "helmet_ball", 1 ], [ "helmet_skid", 1 ], [ "helmet_bike", 1 ], [ "hat_hard", 1 ], [ "firehelmet", 1 ], [ "pickelhaube", 1 ], [ "plastic_chunk", 8 ] ]
+ ]
+ },
+ {
+ "result": "hood_hsurvivor",
+ "type": "recipe",
+ "category": "CC_ARMOR",
+ "subcategory": "CSC_ARMOR_HEAD",
+ "skill_used": "tailor",
+ "difficulty": 7,
+ "skills_required": [ "fabrication", 5 ],
+ "time": "45 m",
+ "autolearn": true,
+ "using": [ [ "sewing_standard", 40 ] ],
+ "tools": [ [ [ "welder", 21 ], [ "welder_crude", 32 ], [ "soldering_iron", 32 ], [ "toolset", 32 ] ] ],
+ "components": [
+ [ [ "leather", 6 ], [ "tanned_hide", 1 ] ],
+ [ [ "rag", 2 ] ],
+ [ [ "kevlar_plate", 4 ] ],
+ [ [ "steel_chunk", 2 ], [ "scrap", 6 ] ],
+ [ [ "hood_rain", 1 ], [ "bag_plastic", 2 ] ],
+ [ [ "duct_tape", 100 ] ]
+ ]
+ }
+]
diff --git a/json/recipes/recipe_obsolete.json b/json/recipes/recipe_obsolete.json
new file mode 100644
index 0000000..321c22f
--- /dev/null
+++ b/json/recipes/recipe_obsolete.json
@@ -0,0 +1,17 @@
+[
+ {
+ "type": "recipe",
+ "result": "helmet_survivor",
+ "obsolete": false
+ },
+ {
+ "type": "recipe",
+ "result": "helmet_xlsurvivor",
+ "obsolete": false
+ },
+ {
+ "type": "recipe",
+ "result": "helmet_hsurvivor",
+ "obsolete": false
+ }
+]
diff --git a/modinfo.json b/modinfo.json
new file mode 100644
index 0000000..782c215
--- /dev/null
+++ b/modinfo.json
@@ -0,0 +1,11 @@
+[
+ {
+ "type": "MOD_INFO",
+ "ident": "survivorheadgear_crafting",
+ "name": "Survivor Headgear Crafting",
+ "authors": ["jc_gargma"],
+ "description": "Restore and fix the Survivor Helmet recipes. Also add a Light Survivor Helmet and Heavy Survivor Hood.",
+ "category": "rebalance",
+ "dependencies": [ "dda" ]
+ }
+]