Skip to content

Commit

Permalink
Mainline hobo stove and tinder from More Survival Tools (#30138)
Browse files Browse the repository at this point in the history
* Mainline hobo stove and tinder from More Survival Tools

reduced usage to reheating & boiling.

* changes per comments

Increased charges to 100, cleaned up unnecessary tags, reduced difficultry to 2.
  • Loading branch information
curstwist authored and ZhilkinSerg committed May 8, 2019
1 parent f0362ae commit 2203dfc
Show file tree
Hide file tree
Showing 9 changed files with 125 additions and 121 deletions.
19 changes: 19 additions & 0 deletions data/json/items/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1159,5 +1159,24 @@
"weight": 1,
"phase": "gas",
"ammo_type": "nitrox"
},
{
"id": "tinder",
"type": "AMMO",
"category": "spare_parts",
"name": "tinder",
"name_plural": "tinder",
"description": "Flammable material, finely divided for easy combustion.",
"weight": 10,
"volume": 1,
"price": 0,
"bashing": 1,
"material": "wood",
"flags": [ "NO_SALVAGE" ],
"symbol": "=",
"color": "brown",
"count": 50,
"ammo_type": "tinder",
"effects": [ "NEVER_MISFIRES" ]
}
]
6 changes: 6 additions & 0 deletions data/json/items/ammo_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -496,5 +496,11 @@
"id": "nitrox",
"name": "compressed air",
"default": "nitrox"
},
{
"id": "tinder",
"name": "tinder",
"default": "tinder",
"type": "ammunition_type"
}
]
59 changes: 59 additions & 0 deletions data/json/items/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -8764,5 +8764,64 @@
"qualities": [ [ "COOK", 3 ], [ "BOIL", 2 ], [ "CONTAIN", 1 ], [ "CHEM", 1 ] ],
"use_action": "HEAT_FOOD",
"flags": [ "ALLOWS_REMOTE_USE" ]
},
{
"id": "hobo_stove",
"type": "TOOL",
"name": "hobo stove",
"description": "This is a small improvised wood stove, made from a metal can or similar container of the right size. Useful for defrosting and reheating food, uses simple tinder.",
"weight": 1366,
"volume": 6,
"price": 0,
"to_hit": -1,
"bashing": 2,
"material": "steel",
"symbol": ",",
"color": "light_gray",
"ammo": "tinder",
"max_charges": 100,
"charges_per_use": 25,
"use_action": [
{
"target": "hobo_stove_on",
"msg": "The hobo stove is lit.",
"need_fire": 1,
"need_fire_msg": "You need a source of fire!",
"active": false,
"menu_text": "Light",
"type": "transform"
}
]
},
{
"id": "hobo_stove_on",
"type": "TOOL",
"name": "hobo stove (lit)",
"name_plural": "hobo stoves (lit)",
"description": "This is a small improvised wood stove, made from a metal can or similar container of the right size. Useful for defrosting and reheating food, uses simple tinder.",
"weight": 1366,
"volume": 6,
"price": 0,
"to_hit": -1,
"bashing": 2,
"material": "steel",
"symbol": ",",
"color": "light_gray",
"ammo": "tinder",
"max_charges": 100,
"charges_per_use": 25,
"turns_per_charge": 300,
"revert_to": "hobo_stove",
"use_action": [
{ "type": "HOTPLATE", "moves": 60, "msg": "You heat up the food.", "menu_text": "Heat up food" },
{
"target": "hobo_stove",
"msg": "The ember is extinguished.",
"active": false,
"menu_text": "Extinguish",
"type": "transform"
}
],
"flags": [ "LIGHT_3", "ALLOWS_REMOTE_USE" ]
}
]
14 changes: 14 additions & 0 deletions data/json/recipes/other/tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,19 @@
"autolearn": true,
"qualities": [ { "id": "SAW_M_FINE", "level": 1 } ],
"components": [ [ [ "wire", 4 ] ] ]
},
{
"type": "recipe",
"result": "hobo_stove",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_TOOLS",
"skill_used": "survival",
"skills_required": [ "fabrication", 1 ],
"difficulty": 2,
"time": 5000,
"autolearn": true,
"book_learn": [ [ "mag_survival", 2 ], [ "textbook_survival", 1 ], [ "cookbook", 2 ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [ [ [ "can_food_unsealed", 2 ], [ "scrap", 4 ] ] ]
}
]
27 changes: 27 additions & 0 deletions data/json/recipes/recipe_ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -884,5 +884,32 @@
"qualities": [ { "id": "CHEM", "level": 1 } ],
"tools": [ [ [ "surface_heat", 5, "LIST" ] ] ],
"components": [ [ [ "oxy_powder", 100 ] ], [ [ "lye_powder", 100 ] ] ]
},
{
"type": "recipe",
"result": "tinder",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_MATERIALS",
"skill_used": "survival",
"difficulty": 1,
"time": 1000,
"autolearn": true,
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
[
[ "stick", 1 ],
[ "2x4", 1 ],
[ "splinter", 2 ],
[ "pine_bough", 1 ],
[ "rag", 1 ],
[ "paper", 5 ],
[ "rolling_paper", 30 ],
[ "wrapper", 5 ],
[ "withered", 2 ],
[ "cattail_stalk", 1 ],
[ "birchbark", 1 ],
[ "willowbark", 1 ]
]
]
}
]
22 changes: 0 additions & 22 deletions data/mods/More_Survival_Tools/ammo.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
[
{
"id": "tinder",
"type": "AMMO",
"category": "spare_parts",
"name": "tinder",
"name_plural": "tinder",
"description": "Flammable material, finely divided for easy combustion.",
"weight": 10,
"volume": 1,
"price": 0,
"bashing": 1,
"material": "wood",
"flags": [ "NO_SALVAGE" ],
"symbol": "=",
"color": "brown",
"count": 50,
"ammo_type": "tinder",
"range": 0,
"damage": 0,
"dispersion": 0,
"effects": [ "NEVER_MISFIRES" ]
},
{
"id": "bearing_lead",
"type": "AMMO",
Expand Down
6 changes: 0 additions & 6 deletions data/mods/More_Survival_Tools/ammo_types.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
[
{
"id": "tinder",
"name": "tinder",
"default": "tinder",
"type": "ammunition_type"
},
{
"id": "javelin",
"name": "javelin",
Expand Down
52 changes: 0 additions & 52 deletions data/mods/More_Survival_Tools/items.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,4 @@
[
{
"id": "hobo_stove",
"type": "TOOL",
"name": "hobo stove",
"description": "This is a small improvised wood stove, made from a metal can or similar container of the right size. Useful for cooking, uses simple tinder.",
"weight": 1366,
"volume": 6,
"price": 0,
"to_hit": -1,
"bashing": 2,
"material": "steel",
"symbol": ",",
"color": "light_gray",
"ammo": "tinder",
"sub": "hotplate",
"max_charges": 50,
"charges_per_use": 1,
"use_action": [ "HOTPLATE", "HEAT_FOOD" ]
},
{
"id": "hobo_stove_on",
"type": "TOOL",
"name": "hobo stove (lit)",
"name_plural": "hobo stoves (lit)",
"//": "Dummied out due to reverting hobo stove behavior, to be consistent with existing items. -Chaosvolt",
"description": "This is a small improvised wood stove, made from a metal can or similar container of the right size. Useful for cooking, uses simple tinder.",
"weight": 1366,
"volume": 6,
"price": 0,
"to_hit": -1,
"bashing": 2,
"material": "steel",
"symbol": ",",
"color": "light_gray",
"ammo": "tinder",
"sub": "hotplate",
"max_charges": 50,
"charges_per_use": 1,
"turns_per_charge": 300,
"revert_to": "hobo_stove",
"qualities": [ [ "COOK", 1 ] ],
"use_action": [
{
"target": "hobo_stove",
"msg": "The ember is extinguished.",
"active": false,
"menu_text": "Extinguish",
"type": "transform"
}
],
"flags": [ "LIGHT_3" ]
},
{
"id": "flint_steel",
"type": "TOOL",
Expand Down
41 changes: 0 additions & 41 deletions data/mods/More_Survival_Tools/recipes.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,47 +28,6 @@
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [ [ [ "can_drink_unsealed", 1 ], [ "can_food_unsealed", 1 ], [ "scrap", 2 ] ] ]
},
{
"type": "recipe",
"result": "hobo_stove",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_TOOLS",
"skill_used": "survival",
"skills_required": [ "fabrication", 1 ],
"difficulty": 4,
"time": 5000,
"autolearn": true,
"book_learn": [ [ "mag_survival", 2 ], [ "textbook_survival", 1 ], [ "cookbook", 2 ] ],
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [ [ [ "can_drink_unsealed", 2 ], [ "can_food_unsealed", 2 ], [ "scrap", 4 ] ] ]
},
{
"type": "recipe",
"result": "tinder",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_MATERIALS",
"skill_used": "survival",
"difficulty": 1,
"time": 1000,
"autolearn": true,
"qualities": [ { "id": "CUT", "level": 1 } ],
"components": [
[
[ "stick", 1 ],
[ "2x4", 1 ],
[ "splinter", 2 ],
[ "pine_bough", 1 ],
[ "rag", 1 ],
[ "paper", 5 ],
[ "rolling_paper", 30 ],
[ "wrapper", 5 ],
[ "withered", 2 ],
[ "cattail_stalk", 1 ],
[ "birchbark", 1 ],
[ "willowbark", 1 ]
]
]
},
{
"type": "recipe",
"result": "torch",
Expand Down

0 comments on commit 2203dfc

Please sign in to comment.