sandboxels/mods/moretools.js

69 lines
1.4 KiB
JavaScript
Raw Permalink Normal View History

2022-02-11 16:29:37 -05:00
elements.superheat = {
color: "#ff2f2f",
tool: function(pixel) {
2022-02-11 16:57:01 -05:00
pixel.temp += 10;
pixelTempCheck(pixel)
2022-02-11 16:29:37 -05:00
},
category: "tools",
};
elements.supercool = {
color: "#2f2fff",
tool: function(pixel) {
2022-02-11 16:57:01 -05:00
pixel.temp += -10;
pixelTempCheck(pixel)
2022-02-11 16:29:37 -05:00
},
category: "tools",
};
elements.hyperheat = {
color: "#ff5f5f",
tool: function(pixel) {
2022-02-11 16:57:01 -05:00
pixel.temp += 50;
pixelTempCheck(pixel)
2022-02-11 16:29:37 -05:00
},
category: "tools",
};
elements.hypercool = {
color: "#5f5fff",
tool: function(pixel) {
2022-02-11 16:57:01 -05:00
pixel.temp += -50;
pixelTempCheck(pixel)
2022-02-11 16:29:37 -05:00
},
category: "tools",
};
elements.absolutezero = {
color: "#d1f7ff",
tool: function(pixel) {
2022-02-11 16:57:01 -05:00
pixel.temp = -273.15;
pixelTempCheck(pixel)
2022-02-11 16:29:37 -05:00
},
category: "tools",
2022-02-11 16:57:01 -05:00
};
2022-02-20 12:38:55 -05:00
elements.antigrav = {
color: ["#696969", "#969696"],
tool: function(pixel) {
pixel.r = 2
},
category: "tools",
};
elements.normalgrav = {
color: ["#969696", "#696969"],
tool: function(pixel) {
pixel.r = 0
},
category: "tools",
};
elements.leftgrav = {
color: ["#696969", "#969696"],
tool: function(pixel) {
pixel.r = 3
},
category: "tools",
};
elements.rightgrav = {
color: ["#969696", "#696969"],
tool: function(pixel) {
pixel.r = 1
},
category: "tools",
};