Merge pull request #1222 from SquareScreamYT/main
This commit is contained in:
commit
9f1f70648a
|
|
@ -1,23 +1,13 @@
|
|||
// created by SquareScreamYT
|
||||
// the sequel to aChefsDream!
|
||||
|
||||
runAfterLoad(function() {
|
||||
console.log("Thanks for using aChefsDream2.js! -sqec")
|
||||
})
|
||||
dependOn("aChefsDream.js", function(){
|
||||
|
||||
console.log("we recommend using nousersthings.js, elementEraser.js and delete_all_of_element.js for a better cooking experience!")
|
||||
|
||||
var mods_to_include = ["mods/aChefsDream.js"]
|
||||
|
||||
var mods_included = mods_to_include.map(mod => enabledMods.includes(mod));
|
||||
var all_mods_included = mods_included.reduce(function(a,b) { return a && b });
|
||||
|
||||
if(!all_mods_included) {
|
||||
var mods_needed = mods_to_include.filter(function(modPath) { return !(enabledMods.includes(modPath)) });
|
||||
|
||||
mods_needed.forEach(function(modPath) {
|
||||
enabledMods.splice(enabledMods.indexOf("mods/aChefsDream2"),0,modPath);
|
||||
});
|
||||
localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
|
||||
}
|
||||
|
||||
// Pork and Pigs
|
||||
|
||||
|
|
@ -391,3 +381,179 @@ if (!elements.sugar_water.reactions) elements.sugar_water.reactions = {};
|
|||
elements.sugar_water.reactions.lemon_juice = { elem1: "sugar_water", elem2: null, color1: "#fff7ba" }
|
||||
if (!elements.sugar_water.reactions) elements.sugar_water.reactions = {};
|
||||
elements.sugar_water.reactions.cinnamon_powder = { elem1: "cola_syrup", elem2: null }
|
||||
|
||||
elements.brisket = {
|
||||
color:["#704534", "#6b3d2b", "#733526"],
|
||||
behavior: behaviors.SUPPORT,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
temp:55,
|
||||
tempHigh: 600,
|
||||
stateHigh: ["ash","smoke"],
|
||||
isFood: true,
|
||||
hidden: true,
|
||||
}
|
||||
|
||||
if (!elements.cured_meat.reactions) elements.cured_meat.reactions = {};
|
||||
elements.cured_meat.reactions.smoke = { elem1: "brisket", elem2: null }
|
||||
|
||||
elements.cured_meat.tempHigh = 111
|
||||
|
||||
// spices
|
||||
|
||||
elements.star_anise = {
|
||||
color: ["#8B4513", "#A0522D", "#D2691E"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.curry_leaves = {
|
||||
color: ["#228B22", "#32CD32", "#6B8E23"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.laksa_leaves = {
|
||||
color: ["#6a8e3d", "#7d9a57", "#8ea54b"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.bay_leaves = {
|
||||
color: ["#556B2F", "#808000", "#9ACD32"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.rosemary = {
|
||||
color: ["#483C32", "#708238", "#8FBC8F"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.coriander_leaves = {
|
||||
color: ["#4b5f44", "#6b7b55", "#3f5c32"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.coriander_seeds = {
|
||||
color: ["#F4A460", "#D2691E"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.parsley = {
|
||||
color: ["#228B22", "#32CD32", "#3CB371"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
elements.cloves = {
|
||||
color: ["#654321", "#8B4513", "#A0522D"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
hidden: true,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
}
|
||||
|
||||
var spices = [
|
||||
// 2
|
||||
"allspice",
|
||||
"cumin",
|
||||
"paprika",
|
||||
"turmeric",
|
||||
"saffron",
|
||||
"cinnamon_powder",
|
||||
"star_anise",
|
||||
"curry_leaves",
|
||||
"laksa_leaves",
|
||||
"bay_leaves",
|
||||
"rosemary",
|
||||
"coriander_leaves",
|
||||
"coriander_seeds",
|
||||
"parsley",
|
||||
"cloves",
|
||||
"cinnamon",
|
||||
// 1
|
||||
"pepper",
|
||||
"chilli_powder",
|
||||
"onion_powder",
|
||||
"herb",
|
||||
"cut_ginger",
|
||||
"fried_onion",
|
||||
"chopped_spring_onion",
|
||||
"salt"
|
||||
];
|
||||
|
||||
/*elements.spice_mix = {
|
||||
color: ["#8B7D6B", "#A0935C", "#B8A77A"],
|
||||
behavior: behaviors.POWDER,
|
||||
category: "food",
|
||||
state: "solid",
|
||||
isFood: true,
|
||||
temp: 20,
|
||||
tempHigh: 250,
|
||||
stateHigh: ["ash", "smoke"],
|
||||
tick: function(pixel) {
|
||||
var randomSpice = spices[Math.floor(Math.random() * spices.length)];
|
||||
changePixel(pixel, randomSpice);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
},true)
|
||||
Loading…
Reference in New Issue