elements.customheat = {
color: ["#FF0000", "#FFFFFF", "#FF0000"],
onSelect: function() {
var answer4 = parseInt(prompt("Please input the desired temperature increase per tick. (In celsius)",(ct|undefined)));
if (!answer4) { return }
ct = answer4;
if (isNaN(answer4)) {
ct = 100
}
},
tool: function(pixel) {
pixel.temp = pixel.temp + 100,
pixelTempCheck(pixel)
},
category: "tools",
};
elements.customcool = {
color: ["#0000FF", "#FFFFFF", "#0000FF"],
onSelect: function() {
var answer4 = parseInt(prompt("Please input the desired temperature decrease per tick. (In celsius)",(ct|undefined)));
if (!answer4) { return }
ct = answer4;
if (isNaN(answer4)) {
ct = 100
}
},
tool: function(pixel) {
pixel.temp = pixel.temp - 100,
pixelTempCheck(pixel)
},
category: "tools",
};
elements.customheat = {
color: ["#FF0000", "#FFFFFF", "#FF0000"],
onSelect: function() {
var answer4 = parseInt(prompt("Please input the desired temperature increase per tick. (In celsius)",(ct|undefined)));
if (!answer4) { return }
ct = answer4;
if (isNaN(answer4)) {
ct = 100
}
},
tool: function(pixel) {
pixel.temp = pixel.temp + 100,
pixelTempCheck(pixel)
},
category: "tools",
};
elements.customcool = {
color: ["#0000FF", "#FFFFFF", "#0000FF"],
onSelect: function() {
var answer4 = parseInt(prompt("Please input the desired temperature decrease per tick. (In celsius)",(ct|undefined)));
if (!answer4) { return }
ct = answer4;
if (isNaN(answer4)) {
ct = 100
}
},
tool: function(pixel) {
pixel.temp = pixel.temp - 100,
pixelTempCheck(pixel)
},
category: "tools",
};