tabs, spice array

This commit is contained in:
sq 2025-08-21 21:10:58 +08:00
parent fa39d70b6b
commit 212d53e6e6
1 changed files with 445 additions and 402 deletions

View File

@ -509,6 +509,49 @@ elements.cloves = {
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);
}
}*/