tabs, spice array
This commit is contained in:
parent
fa39d70b6b
commit
212d53e6e6
|
|
@ -509,6 +509,49 @@ elements.cloves = {
|
||||||
stateHigh: ["ash", "smoke"],
|
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);
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue