2024-05-05 03:35:22 -04:00
|
|
|
elements.cash = {
|
|
|
|
|
color: "#00e600",
|
|
|
|
|
behavior: behaviors.POWDER,
|
|
|
|
|
category: "powders",
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-05 06:57:30 -04:00
|
|
|
delete elements.paper;
|
|
|
|
|
delete elements.sponge;
|
|
|
|
|
|
|
|
|
|
elements.sponge = {
|
|
|
|
|
color: "#ffff1a",
|
|
|
|
|
behavior: behaviors.SOLID,
|
|
|
|
|
category: "solids",
|
|
|
|
|
tool: function(pixel) {
|
|
|
|
|
if (pixel.element == "water") {
|
|
|
|
|
pixel.element = "wet_sponge"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
elements.wet_sponge = {
|
|
|
|
|
color: "#cccc00",
|
|
|
|
|
behavior: behaviors.SOLID,
|
|
|
|
|
category: "solids",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2024-05-05 03:35:22 -04:00
|
|
|
elements.paper = {
|
|
|
|
|
color: "#ffffff",
|
|
|
|
|
behavior: behaviors.SOLID,
|
|
|
|
|
category: "solids",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
elements.shredded_paper = {
|
|
|
|
|
color: "#ffffff",
|
|
|
|
|
behavior: behaviors.POWDER,
|
|
|
|
|
category: "powders",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
elements.shredded_cash = {
|
|
|
|
|
color: "#004d00",
|
|
|
|
|
behavior: behaviors.POWDER,
|
|
|
|
|
category: "powders",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
elements.shredder = {
|
|
|
|
|
color: "#08b508",
|
|
|
|
|
behavior: behaviors.SOLID,
|
|
|
|
|
tool: function(pixel) {
|
|
|
|
|
if (pixel.element == "cash") {
|
|
|
|
|
pixel.element = "shredded_cash"
|
|
|
|
|
},
|
|
|
|
|
if (pixel.element == "paper") {
|
|
|
|
|
pixel.element = "shredded_money"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
category: "tools",
|
|
|
|
|
};
|