Yo, Gryphsenberg, this stuff doesn’t make meth. Aspirin? Caffeine pills? Energy drinks? I thought you were a chemistry teacher.
I coded an version of one that’d be more realistic.
Mr. Gryte, you handle the merging, I’ll handle the supplies for the cook.
Here’s the recipe, bitch. No chili-P, yo, the ZEA’s cracked down on it. I thought meth-heads were bad, but these zombies are worse.
"type" : "recipe",
"result": "meth1",
"category": "CC_CHEM",
"skill_used": "cooking",
"difficulty": 3,
"time": 80000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "hotplate", 15 ],
[ "chemistry_set", 15 ],
[ "toolset", 1 ],
[ "fire", -1 ]
],
[
[ "chemistry_set", -1 ],
[ "bottle_glass", 2 ],
[ "jug_plastic", 2 ],
[ "bottle_plastic", 2 ],
[ "hose", -1 ]
]
],
"components": [
[
[ "dayquil", 2 ],
[ "ephedrine", 1 ],
[ "royal_jelly", 1 ]
],
[
[ "battery", 100 ],
[ "acid", 1 ]
],
[
[ "matches", 10 ],
[ "flare", 5 ]
]
]
},{
"type" : "recipe",
"result": "meth2",
"category": "CC_CHEM",
"skill_used": "cooking",
"difficulty": 5,
"time": 40000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "hotplate", 15 ],
[ "chemistry_set", 15 ],
[ "toolset", 1 ],
[ "fire", -1 ]
],
[
[ "chemistry_set", -1 ],
[ "bottle_glass", 2 ],
[ "hose", -1 ]
]
],
"components": [
[
[ "dayquil", 5 ],
[ "ephedrine", 3 ],
[ "royal_jelly", 2 ]
],
[
[ "battery", 100 ],
[ "acid", 1 ]
],
[
[ "matches", 5 ],
[ "flare", 5 ],
[ "fertilizer_liquid", 1 ]
]
]
},{
"type" : "recipe",
"result": "meth3",
"category": "CC_CHEM",
"skill_used": "cooking",
"difficulty": 9,
"time": 90000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "chemistry_set", 15 ]
],
[
[ "flask_glass", 2 ]
],
[
[ "hose", -1 ]
]
],
"components": [
[
[ "methylamine", 2 ]
],
[
[ "acid", 1 ]
],
[
[ "aluminumfilings", 20 ]
]
]
},{
"type" : "recipe",
"result": "redphosphorus",
"category": "CC_CHEM",
"difficulty": 2,
"time": 10000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "scissors", -1 ],
[ "toolset", 2 ]
]
],
"components": [
[
[ "flare", 1 ],
[ "matches", 3 ]
]
]
},{
"type" : "recipe",
"result": "methylamine",
"category": "CC_CHEM",
"difficulty": 6,
"time": 10000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "chemistry_set", 1 ],
[ "toolset", 2 ]
]
],
"components": [
[
[ "fertilizer_liquid", 1 ]
]
]
},{
"type" : "recipe",
"result": "aluminumfilings",
"category": "CC_CHEM",
"difficulty": 2,
"time": 10000,
"reversible": false,
"autolearn": true,
"tools": [
[
[ "scissors", -1 ],
[ "toolset", 2 ]
]
],
"components": [
[
[ "can_drink", 1 ]
]
]
},{
{
"type" : "COMESTIBLE",
"id" : "meth1",
"name" : "Shake and Bake Meth",
"weight" : 1,
"color" : "yellow",
"addiction_type" : "amphetamine",
"spoils_in" : 0,
"use_action" : "METH",
"stim" : 20,
"container" : "null",
"to_hit" : 0,
"comestible_type" : "MED",
"symbol" : "!",
"quench" : 0,
"heal" : -8,
"addiction_potential" : 50,
"nutrition" : 0,
"description" : "A profoundly addictive homemade stimulant. Extremely effective at reducing teeth count, these yellow crystals smell of left over chemical impurities.",
"price" : 800,
"material" : "powder",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 6,
"stack_size" : 100,
"bashing" : 0,
"fun" : 30
},
{
"type" : "COMESTIBLE",
"id" : "meth2",
"name" : "Crank",
"weight" : 1,
"color" : "white",
"addiction_type" : "amphetamine",
"spoils_in" : 0,
"use_action" : "METH",
"stim" : 50,
"container" : "null",
"to_hit" : 0,
"comestible_type" : "MED",
"symbol" : "!",
"quench" : 0,
"heal" : -5,
"addiction_potential" : 60,
"nutrition" : 0,
"description" : "Cloudy crystals. Smells vaguely of acetone. Now you can smoke that chunky white crunch anywhere. At the office, at the grocery store, a bathtub in the middle of the street, or face down in a big ol' tire.",
"price" : 1000,
"material" : "powder",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 6,
"stack_size" : 100,
"bashing" : 0,
"fun" : 40
},
{
"type" : "COMESTIBLE",
"id" : "meth3",
"name" : "Chemically Pure Meth",
"weight" : 1,
"color" : "blue",
"addiction_type" : "amphetamine",
"spoils_in" : 0,
"use_action" : "METH",
"stim" : 99,
"container" : "null",
"to_hit" : 0,
"comestible_type" : "MED",
"symbol" : "!",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 60,
"nutrition" : 0,
"description" : "This stuff is as clear as glass, and as blue as an azure sunset. It is the most chemically pure product on the market. Who ever cooked this, they're an artist.",
"price" : 1600,
"material" : "powder",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 6,
"stack_size" : 100,
"bashing" : 0,
"fun" : 60
},
{
"type" : "COMESTIBLE",
"id" : "ephedrine",
"name" : "ephedrine",
"weight" : 1,
"color" : "cyan",
"addiction_type" : "caffine",
"spoils_in" : 0,
"use_action" : "CAFF",
"stim" : 14,
"container" : "null",
"to_hit" : 0,
"comestible_type" : "MED",
"symbol" : "!",
"quench" : 0,
"heal" : 0,
"addiction_potential" : 3,
"nutrition" : 0,
"description" : "A minor stimulant, extracted and powdered.",
"price" : 60,
"material" : "plastic",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "solid",
"charges" : 10,
"stack_size" : 200,
"bashing" : 0,
"fun" : 0
},
{
"type" : "COMESTIBLE",
"id" : "methylamine",
"name" : "methylamine",
"weight" : 1,
"color" : "cyan",
"addiction_type" : "none",
"spoils_in" : 0,
"use_action" : "POISON",
"stim" : 0,
"container" : "null",
"to_hit" : 0,
"comestible_type" : "MED",
"symbol" : "!",
"quench" : -50,
"heal" : -50,
"addiction_potential" : 0,
"nutrition" : 0,
"description" : "A chemical used in the production of fertilizer and methamphetamine. Used to be on a watchlist, before the DEA became the DEAD. Do not drink.",
"price" : 60,
"material" : "plastic",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "liquid",
"charges" : 10,
"stack_size" : 200,
"bashing" : 0,
"fun" : -40
},
{
"type" : "COMESTIBLE",
"id" : "aluminumfilings",
"name" : "aluminum filings",
"weight" : 1,
"color" : "cyan",
"addiction_type" : "none",
"spoils_in" : 0,
"use_action" : "NONE",
"stim" : 0,
"container" : "null",
"to_hit" : 0,
"comestible_type" : "MED",
"symbol" : "!",
"quench" : -10,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 0,
"description" : "Metallic shavings. Tastes like Alzheimers.",
"price" : 60,
"material" : "plastic",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "liquid",
"charges" : 10,
"stack_size" : 200,
"bashing" : 0,
"fun" : -5
},
{
"type" : "COMESTIBLE",
"id" : "redphosphorus",
"name" : "red phosphorus",
"weight" : 1,
"color" : "red",
"addiction_type" : "none",
"spoils_in" : 0,
"use_action" : "NONE",
"stim" : 0,
"container" : "null",
"to_hit" : 0,
"comestible_type" : "MED",
"symbol" : "!",
"quench" : -10,
"heal" : 0,
"addiction_potential" : 0,
"nutrition" : 0,
"description" : "It's red, it's phosphorus, what more can be said?",
"price" : 60,
"material" : "plastic",
"tool" : "null",
"volume" : 1,
"cutting" : 0,
"phase" : "powder",
"charges" : 10,
"stack_size" : 200,
"bashing" : 0,
"fun" : -5
},
This is some primitive code, but you get the point. Copy paste that crystal into yo recipes and comestibles.
Seriously though, if anyone knows how to alter duration of effect, that’d be awesome. God, so many things are just going to waste being in iuse.cpp.
I have a dream, that one day, the stuff in iuse.cpp will be alterable without having to recompile the whole program. That’d make things like this so much easier.