diff --git a/mods/cannibal_cooking.js b/mods/cannibal_cooking.js new file mode 100644 index 00000000..3302e216 --- /dev/null +++ b/mods/cannibal_cooking.js @@ -0,0 +1,240 @@ +elements.sweet_blood = { + color: "#ff4040", + behavior: behaviors.LIQUID, + reactions: { + "yeast": { elem1:["infection","infection","alcohol","yeast",null] }, + "plague": { elem1:"infection", elem2:null }, + "rotten_meat": { elem1:"infection" }, + "rotten_cheese": { elem1:"infection" }, + "virus": { elem1:"infection", elem2:null }, + "cancer": { elem1:"infection" }, + "cyanide": { elem1:"infection", elem2:null }, + "cyanide_gas": { elem1:"infection", elem2:null }, + "mushroom_spore": { elem1:"infection", elem2:null }, + "mushroom_gill": { elem1:"infection" }, + "dirty_water": { elem1:"infection", elem2:null }, + "rad_steam": { elem1:"infection" }, + "rad_glass": { elem1:"infection" }, + "rad_shard": { elem1:"infection" }, + "rad_cloud": { elem1:"infection" }, + "fallout": { elem1:"infection" }, + "rust": { elem1:"infection", chance:0.05 }, + "oxidized_copper": { elem1:"infection", chance:0.05 }, + "rat": { elem1:"infection", chance:0.075 }, + "flea": { elem1:"infection", chance:0.03 }, + "worm": { elem1:"infection", chance:0.03 }, + "mercury": { elem1:"infection", elem2:null, chance:0.05 }, + "lead": { elem1:"infection", elem2:null, chance:0.01 }, + "oxygen": { elem2:null, chance:0.05 }, + "carbon_dioxide": { elem2:null, chance:0.05 }, + "alcohol": { elem1:[null,"sugar","dna"], chance:0.02 } + }, + viscosity: 12, + tempHigh: 120, + stateHigh: ["steam","sugar","oxygen","steam","sugar","oxygen","steam","salt","oxygen"], + tempLow: -5, + stateLow: "candy", + category:"food", + state: "liquid", + density: 1080, + stain: 0.05 +} + +elements.mellified_man = { + color: ["#be5c4b","#c8846f","#dda592","#bc6157"], + behavior: [ + "XX|CR:honey%0.00001|XX", + "CR:honey%0.00001|XX|CR:honey%0.00001", + "XX|M1 AND CR:honey%0.00001|XX", + ], + reactions: { + "water": { elem2:"sugar_water", tempMin:70, color2:"#d7db69" }, + "salt_water": { elem2:"sugar_water", tempMin:70, color2:"#d7db69"}, + "sugar_water": { elem2:"sugar_water", tempMin:70, color2:"#d7db69" }, + "seltzer": { elem2:"sugar_water", tempMin:70, color2:"#d7db69" }, + }, + tempHigh: 200, + stateHigh: ["cooked_meat","cooked_meat","caramel",], + category:"food", + burn:15, + burnTime:200, + burnInto:["cooked_meat","cooked_meat","caramel",], + state: "solid", + density: 1020, + conduct: 0.1, + isFood: true, + hidden: true +} + +elements.human_flesh = { + behavior: [ + "XX|XX|XX", + "SP|XX|SP", + "XX|M1|XX", + ], + reactions: { + "honey": { elem1:"mellified_man", elem2:["honey","honey",null], chance:0.0001 }, + "dirty_water": { elem1:"rotten_human_flesh", chance:0.1 }, + "fly": { elem1:"rotten_human_flesh", chance:0.2 }, + "dioxin": { elem1:"rotten_human_flesh", elem2:null, chance:0.1 }, + "uranium": { elem1:"rotten_human_flesh", chance:0.1 }, + "cancer": { elem1:"rotten_human_flesh", chance:0.1 }, + "plague": { elem1:"rotten_human_flesh", elem2:null, chance:0.3 }, + "ant": { elem1:"rotten_human_flesh", chance:0.1 }, + "worm": { elem1:"rotten_human_flesh", chance:0.1 }, + "rat": { elem1:"rotten_human_flesh", chance:0.3 }, + "mushroom_spore": { elem1:"rotten_human_flesh", chance:0.1 }, + "mushroom_stalk": { elem1:"rotten_human_flesh", chance:0.1 }, + "mycelium": { elem1:"rotten_human_flesh", chance:0.1 }, + "hyphae": { elem1:"rotten_human_flesh", chance:0.1 }, + "mercury": { elem1:"rotten_human_flesh", elem2:null, chance:0.2 }, + "mercury_gas": { elem1:"rotten_human_flesh", elem2:null, chance:0.1 }, + "virus": { elem1:"rotten_human_flesh", chance:0.1 }, + "poison": { elem1:"rotten_human_flesh", elem2:null, chance:0.5 }, + "infection": { elem1:"rotten_human_flesh", elem2:null, chance:0.1 }, + "ink": { elem1:"rotten_human_flesh", elem2:null, chance:0.1 }, + "acid": { elem1:"rotten_human_flesh", elem2:null, chance:0.5 }, + "acid_gas": { elem1:"rotten_human_flesh", chance:0.4 }, + "cyanide": { elem1:"rotten_human_flesh", elem2:null, chance:0.5 }, + "cyanide_gas": { elem1:"rotten_human_flesh", elem2:null, chance:0.5 }, + "rotten_cheese": { elem1:"rotten_human_flesh", chance:0.02 }, + "fallout": { elem1:"rotten_human_flesh", chance:0.2 }, + "water": { elem2:"broth", tempMin:70 }, + "salt_water": { elem2:"broth", tempMin:70 }, + "sugar_water": { elem2:"broth", tempMin:70 }, + "seltzer": { elem2:"broth", tempMin:70 }, + "salt": { elem1:"cured_human_flesh" }, + "vinegar": { elem1:"cured_human_flesh", chance:0.1 }, + }, + tempHigh: 100, + stateHigh: "cooked_meat", + tempLow: -18, + stateLow: "frozen_meat", + category:"food", + burn:15, + burnTime:200, + burnInto:"cooked_meat", + state: "solid", + density: 1050, + conduct: 0.2, + isFood: true, + hidden: true +} + +elements.rotten_human_flesh = { + name: "rotten_meat", + color: ["#b8b165","#b89765"], + behavior: [ + "XX|CR:plague,stench,stench,stench,fly%0.25 AND CH:meat>rotten_meat%1 AND CH:human_flesh>rotten_human_flesh%1|XX", + "SP%99 AND CH:meat>rotten_meat%1 AND CH:human_flesh>rotten_human_flesh%1|XX|SP%99 AND CH:meat>rotten_meat%1 AND CH:human_flesh>rotten_human_flesh%1", + "XX|M1 AND CH:meat>rotten_meat%1 AND CH:human_flesh>rotten_human_flesh%1|XX", + ], + reactions: { + "water": { elem2:"broth", tempMin:70, color2:"#d7db69" }, + "salt_water": { elem2:"broth", tempMin:70, color2:"#d7db69" }, + "sugar_water": { elem2:"broth", tempMin:70, color2:"#d7db69" }, + "dirty_water": { elem2:"broth", tempMin:70, color2:"#d7db69" }, + "seltzer": { elem2:"broth", tempMin:70, color2:"#d7db69" } + }, + tempHigh: 300, + stateHigh: ["plague","ash","ammonia"], + category:"food", + hidden: true, + burn:12, + burnTime:200, + burnInto:["plague","ash","ammonia"], + state: "solid", + density: 1005, + conduct: 0.1, + isFood: true +} + +elements.cured_human_flesh = { + name: "cured_meat", + color: ["#be5c4b","#c8846f","#dda592","#bc6157"], + behavior: [ + "XX|XX|XX", + "SP|XX|SP", + "XX|M1|XX", + ], + reactions: { + "honey": { elem1:"mellified_man", elem2:["honey","honey",null], chance:0.0001 }, + "water": { elem2:"broth", tempMin:70 }, + "salt_water": { elem2:"broth", tempMin:70 }, + "sugar_water": { elem2:"broth", tempMin:70 }, + "seltzer": { elem2:"broth", tempMin:70 }, + }, + tempHigh: 100, + stateHigh: "cooked_meat", + category:"food", + burn:15, + burnTime:200, + burnInto:"cooked_meat", + state: "solid", + density: 1019.5, + conduct: 0.3, + isFood: true, + hidden: true +} + +elements.human_corpse = { + color: ["#069469","#047e99","#7f5fb0"], + category: "life", + hidden: true, + density: 1500, + state: "solid", + conduct: .05, + temp: 37, + tempHigh: 200, + stateHigh: "cooked_meat", + tempLow: -30, + stateLow: "frozen_meat", + burn: 10, + burnTime: 250, + burnInto: "cooked_meat", + breakInto: ["blood","human_flesh","bone"], + forceSaveColor: true, + reactions: { + "honey": { elem1:"mellified_man", elem2:["honey","honey",null], chance:0.0005 }, + "cancer": { elem1:"cancer", chance:0.005 }, + "radiation": { elem1:["ash","human_flesh","rotten_human_flesh","cooked_meat"], chance:0.4 }, + "neutron": { elem1:["ash","human_flesh","rotten_human_flesh","cooked_meat"], chance:0.01 }, + "fallout": { elem1:["ash","human_flesh","rotten_human_flesh","cooked_meat"], chance:0.01 }, + "plague": { elem1:["plague","plague","rotten_human_flesh"], chance:0.05 }, + "stink_bug": { elem2:"stench", oneway:true }, + "sun": { elem1:"cooked_meat" }, + }, +} + +elements.decapitated_head = { + color: ["#f3e7db","#f7ead0","#eadaba","#d7bd96","#a07e56","#825c43","#604134","#3a312a"], + category: "life", + hidden: true, + density: 1080, + state: "solid", + conduct: .05, + temp: 37, + tempHigh: 200, + stateHigh: "cooked_meat", + tempLow: -30, + stateLow: "frozen_meat", + burn: 10, + burnTime: 250, + burnInto: "cooked_meat", + breakInto: ["blood","human_flesh","bone"], + forceSaveColor: true, + reactions: { + "honey": { elem1:"mellified_man", elem2:["honey","honey",null], chance:0.0005 }, + "cancer": { elem1:"cancer", chance:0.005 }, + "radiation": { elem1:["ash","meat","rotten_meat","cooked_meat"], chance:0.4 }, + "neutron": { elem1:["ash","meat","rotten_meat","cooked_meat"], chance:0.03 }, + "fallout": { elem1:["ash","meat","rotten_meat","cooked_meat"], chance:0.03 }, + "plague": { elem1:"plague", chance:0.05 }, + "sun": { elem1:"cooked_meat" }, + "light": { stain1:"#825043" }, + }, +} + +if (!elements.blood.reactions) { elements.blood.reactions = {} } + elements.blood.reactions.caramel = { "elem1": "sweet_blood", "elem2": null, chance:0.001 }; + elements.blood.reactions.sugar = { "elem2": "sweet_blood", "elem2": null, chance:0.0005 };