The following code is for comestibles.json
It adds more jam options like orange, lemon and apple jam. It also makes them all liquids now.
Different stats for cheese and cheese spread and the sauces like ketchup, pesto, etc.
Also, it makes meat sandwich craftable, adds 3 more sandwiches and changes stats for burgers.
{
"type" : "COMESTIBLE",
"id" : "jam_strawberries",
"name" : "strawberry jam",
"weight" : 150,
"color" : "blue",
"addiction_type" : "none",
"spoils_in" : 240,
"use_action" : "NONE",
"stim" : -24,
"container" : "jar_3l_glass",
"to_hit" : 0,
"comestible_type" : "DRINK",
"symbol" : "~",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 30,
"description" : "Fresh strawberries, cooked with sugar to make them last longer.",
"price" : 10,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "liquid",
"charges" : 1,
"bashing" : 0,
"fun" : 8,
"flags" : ["USE_EAT_VERB"]
},
{
"type" : "COMESTIBLE",
"id" : "jam_blueberries",
"name" : "blueberry jam",
"weight" : 150,
"color" : "blue",
"addiction_type" : "none",
"spoils_in" : 240,
"use_action" : "NONE",
"stim" : -24,
"container" : "jar_3l_glass",
"to_hit" : 0,
"comestible_type" : "DRINK",
"symbol" : "~",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 30,
"description" : "Fresh blueberries, cooked with sugar to make them last longer.",
"price" : 10,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "liquid",
"charges" : 1,
"bashing" : 0,
"fun" : 8,
"flags" : ["USE_EAT_VERB"]
},
{
"type" : "COMESTIBLE",
"id" : "jam_orange",
"name" : "orange jam",
"weight" : 150,
"color" : "blue",
"addiction_type" : "none",
"spoils_in" : 240,
"use_action" : "NONE",
"stim" : -24,
"container" : "jar_3l_glass",
"to_hit" : 0,
"comestible_type" : "DRINK",
"symbol" : "~",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 30,
"description" : "Fresh orange jam, cooked with sugar to make them last longer.",
"price" : 10,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "liquid",
"charges" : 1,
"bashing" : 0,
"fun" : 8,
"flags" : ["USE_EAT_VERB"]
},
{
"type" : "COMESTIBLE",
"id" : "jam_lemon",
"name" : "lemon jam",
"weight" : 150,
"color" : "blue",
"addiction_type" : "none",
"spoils_in" : 240,
"use_action" : "NONE",
"stim" : -24,
"container" : "jar_3l_glass",
"to_hit" : 0,
"comestible_type" : "DRINK",
"symbol" : "~",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 30,
"description" : "Fresh lemon jam, cooked with sugar to make them last longer.",
"price" : 10,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "liquid",
"charges" : 1,
"bashing" : 0,
"fun" : 8,
"flags" : ["USE_EAT_VERB"]
},
{
"type" : "COMESTIBLE",
"id" : "jam_apple",
"name" : "apple jam",
"weight" : 150,
"color" : "blue",
"addiction_type" : "none",
"spoils_in" : 240,
"use_action" : "NONE",
"stim" : -24,
"container" : "jar_3l_glass",
"to_hit" : 0,
"comestible_type" : "DRINK",
"symbol" : "~",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 30,
"description" : "Fresh apple jam, cooked with sugar to make them last longer.",
"price" : 10,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "liquid",
"charges" : 1,
"bashing" : 0,
"fun" : 8,
"flags" : ["USE_EAT_VERB"]
},
{
"type" : "COMESTIBLE",
"id" : "cheese",
"name" : "cheese",
"weight" : 120,
"color" : "yellow",
"addiction_type" : "none",
"spoils_in" : 672,
"use_action" : "NONE",
"stim" : 1,
"container" : "bag_plastic",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 30,
"description" : "A block of yellow processed cheese.",
"price" : 70,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 3,
"bashing" : 0,
"fun" : 7
},
{
"type" : "COMESTIBLE",
"id" : "can_cheese",
"name" : "cheese spread",
"weight" : 460,
"color" : "cyan",
"addiction_type" : "none",
"spoils_in" : 0,
"use_action" : "NONE",
"stim" : 1,
"container" : "can_food",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 50,
"description" : "A can of processed cheese spread.",
"price" : 65,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 3,
"bashing" : 0,
"flags" : ["EATEN_HOT"],
"fun" : 6
},
{
"id": "mayonnaise",
"type": "COMESTIBLE",
"symbol": "~",
"color": "white",
"name": "mayonnaise",
"description": "Good old mayo, tastes great on sandwiches.",
"price": 50,
"weight": 164,
"volume": 2,
"bashing": 0,
"cutting": 0,
"to_hit": 0,
"comestible_type": "DRINK",
"tool": "null",
"container": "bottle_plastic",
"quench": 15,
"nutrition": 15,
"spoils_in": 160,
"addiction_potential": 0,
"addiction_type" : "none",
"charges": 1,
"heal": 0,
"fun": 8,
"stim": 0,
"phase": "liquid"
},
{
"id": "ketchup",
"type": "COMESTIBLE",
"symbol": "~",
"color": "red",
"name": "ketchup",
"description": "Good old ketchup, tastes great on hotdogs.",
"price": 50,
"weight": 253,
"volume": 2,
"bashing": 0,
"cutting": 0,
"to_hit": 0,
"comestible_type": "DRINK",
"tool": "null",
"container": "bottle_plastic",
"quench": 20,
"nutrition": 10,
"spoils_in": 600,
"addiction_potential": 0,
"addiction_type" : "none",
"charges": 1,
"heal": 0,
"fun": 6,
"stim": 0,
"phase": "liquid"
},
{
"id": "mustard",
"type": "COMESTIBLE",
"symbol": "~",
"color": "yellow",
"name": "mustard",
"description": "Good old mustard, tastes great on hamburgers.",
"price": 50,
"weight": 253,
"volume": 2,
"bashing": 0,
"cutting": 0,
"to_hit": 0,
"comestible_type": "DRINK",
"tool": "null",
"container": "bottle_plastic",
"quench": 10,
"nutrition": 20,
"spoils_in": 0,
"addiction_potential": 0,
"addiction_type" : "none",
"charges": 1,
"heal": 0,
"fun": 4,
"stim": 0,
"phase": "liquid"
},
{
"type" : "COMESTIBLE",
"id" : "sauce_red",
"name" : "red sauce",
"weight" : 259,
"color" : "red",
"addiction_type" : "none",
"spoils_in" : 0,
"use_action" : "NONE",
"stim" : 0,
"container" : "jar_glass",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 20,
"description" : "Tomato sauce, yum yum.",
"price" : 24,
"material" : "veggy",
"tool" : "null",
"volume" : 2,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"flags" : ["EATEN_HOT"],
"fun" : 1
},
{
"type" : "COMESTIBLE",
"id" : "sauce_pesto",
"name" : "pesto",
"weight" : 258,
"color" : "light_green",
"addiction_type" : "none",
"spoils_in" : 0,
"use_action" : "NONE",
"stim" : 0,
"container" : "jar_glass",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 1,
"addiction_potential" : 0,
"nutrition" : 18,
"description" : "Olive oil, basil, garlic, pine nuts. Simple and delicious.",
"price" : 20,
"material" : "veggy",
"tool" : "null",
"volume" : 2,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"fun" : 4
},
{
"type" : "COMESTIBLE",
"id" : "sandwich_sauce",
"name" : "boring sandwich",
"weight" : 200,
"color" : "brown",
"addiction_type" : "none",
"spoils_in" : 96,
"use_action" : "NONE",
"stim" : -1,
"container" : "wrapper",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 45,
"description" : "A simple sauce sandwich. Beats eating just a bread.",
"price" : 50,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"fun" : 10
},
{
"type" : "COMESTIBLE",
"id" : "sandwich_t",
"name" : "meat sandwich",
"weight" : 226,
"color" : "light_gray",
"addiction_type" : "none",
"spoils_in" : 36,
"use_action" : "NONE",
"stim" : 0,
"container" : "wrapper",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 75,
"description" : "Bread and cooked meat, that's it.",
"price" : 60,
"material" : "flesh",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"flags" : ["EATEN_HOT"],
"fun" : 10
},
{
"type" : "COMESTIBLE",
"id" : "sandwich_jam",
"name" : "jam sandwich",
"weight" : 200,
"color" : "brown",
"addiction_type" : "none",
"spoils_in" : 96,
"use_action" : "NONE",
"stim" : 1,
"container" : "wrapper",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 55,
"description" : "A delicious jam sandwich.",
"price" : 75,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"fun" : 14
},
{
"type" : "COMESTIBLE",
"id" : "sandwich_cheese",
"name" : "cheese sandwich",
"weight" : 200,
"color" : "brown",
"addiction_type" : "none",
"spoils_in" : 86,
"use_action" : "NONE",
"stim" : 1,
"container" : "wrapper",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 75,
"description" : "A simple cheese sandwich.",
"price" : 65,
"material" : "null",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"fun" : 12
},
{
"type" : "COMESTIBLE",
"id" : "hamburger",
"name" : "hamburger",
"weight" : 300,
"color" : "brown",
"addiction_type" : "none",
"spoils_in" : 36,
"use_action" : "NONE",
"stim" : 1,
"container" : "wrapper",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 110,
"description" : "A sandwich of minced meat with condiments.",
"price" : 90,
"material" : "flesh",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"flags" : ["EATEN_HOT"],
"fun" : 16
},
{
"type" : "COMESTIBLE",
"id" : "cheeseburger",
"name" : "cheeseburger",
"weight" : 340,
"color" : "brown",
"addiction_type" : "none",
"spoils_in" : 36,
"use_action" : "NONE",
"stim" : 1,
"container" : "wrapper",
"to_hit" : 0,
"comestible_type" : "FOOD",
"symbol" : "%",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 130,
"description" : "A sandwich of minced meat and cheese with condiments. The apex of pre-cataclysm culinary achievement.",
"price" : 100,
"material" : "flesh",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 1,
"bashing" : 0,
"flags" : ["EATEN_HOT"],
"fun" : 18
},
The following code goes in recipes.json
Makes it possible to craft the above jam and sandwich options.
{
"result": "jam_orange",
"category": "CC_DRINK",
"skill_used": "cooking",
"difficulty": 2,
"time": 30000,
"reversible": false,
"autolearn": true,
"tools": [
[
["hotplate", 2],
["toolset", 1],
["fire", -1]
],
[
["pot", -1],
["rock_pot", -1],
["pan", -1]
]
],
"components": [
[
["orange", 1]
],
[
["sugar", 1]
]
]
},
{
"result": "jam_lemon",
"category": "CC_DRINK",
"skill_used": "cooking",
"difficulty": 2,
"time": 30000,
"reversible": false,
"autolearn": true,
"tools": [
[
["hotplate", 2],
["toolset", 1],
["fire", -1]
],
[
["pot", -1],
["rock_pot", -1],
["pan", -1]
]
],
"components": [
[
["lemon", 1]
],
[
["sugar", 1]
]
]
},
{
"result": "jam_apple",
"category": "CC_DRINK",
"skill_used": "cooking",
"difficulty": 2,
"time": 30000,
"reversible": false,
"autolearn": true,
"tools": [
[
["hotplate", 2],
["toolset", 1],
["fire", -1]
],
[
["pot", -1],
["rock_pot", -1],
["pan", -1]
]
],
"components": [
[
["apple", 1]
],
[
["sugar", 1]
]
]
},
{
"result": "sandwich_t",
"category": "CC_FOOD",
"skill_used": "cooking",
"difficulty": 0,
"time": 5000,
"reversible": false,
"autolearn": true,
"tools": [
],
"components": [
[
[ "meat", 1 ]
],
[
[ "bread", 1 ]
]
]
},
{
"result": "sandwich_jam",
"category": "CC_FOOD",
"skill_used": "cooking",
"difficulty": 0,
"time": 8000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "knife_steak", -1 ],[ "knife_combat", -1 ],[ "knife_butcher", -1 ],
[ "pockknife", -1 ],[ "scalpel", -1 ],[ "machete", -1 ],[ "toolset", -1 ]
]
],
"components": [
[
[ "jam_strawberries", 1 ],
[ "jam_blueberries", 1 ],
[ "jam_orange", 1 ],
[ "jam_lemon", 1 ],
[ "jam_apple", 1 ]
],
[
[ "bread", 1 ]
]
]
},
{
"result": "sandwich_cheese",
"category": "CC_FOOD",
"skill_used": "cooking",
"difficulty": 0,
"time": 8000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "knife_steak", -1 ],[ "knife_combat", -1 ],[ "knife_butcher", -1 ],
[ "pockknife", -1 ],[ "scalpel", -1 ],[ "machete", -1 ],[ "toolset", -1 ]
]
],
"components": [
[
[ "cheese", 1 ],
[ "can_cheese", 1 ]
],
[
[ "bread", 1 ]
]
]
},
{
"result": "sandwich_sauce",
"category": "CC_FOOD",
"skill_used": "cooking",
"difficulty": 0,
"time": 8000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "knife_steak", -1 ],[ "knife_combat", -1 ],[ "knife_butcher", -1 ],
[ "pockknife", -1 ],[ "scalpel", -1 ],[ "machete", -1 ],[ "toolset", -1 ]
]
],
"components": [
[
[ "mayonnaise", 1 ],
[ "ketchup", 1 ],
[ "sauce_pesto", 1 ],
[ "sauce_red", 1 ],
[ "mustard", 1 ]
],
[
[ "bread", 1 ]
]
]
},