I forgor to describe my changes 💀
This commit is contained in:
parent
43a31a8882
commit
ef4aca06b3
|
|
@ -136,6 +136,7 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
|
||||||
|
|
||||||
elements.haseulite = {
|
elements.haseulite = {
|
||||||
color: ["#3cb00e", "#25d119", "#79f553"],
|
color: ["#3cb00e", "#25d119", "#79f553"],
|
||||||
|
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
value: 0,
|
||||||
oldColor: null
|
oldColor: null
|
||||||
|
|
@ -178,6 +179,7 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
|
||||||
|
|
||||||
elements.haseulite_vent = {
|
elements.haseulite_vent = {
|
||||||
color: "#88b058",
|
color: "#88b058",
|
||||||
|
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
||||||
behavior: behaviors.WALL,
|
behavior: behaviors.WALL,
|
||||||
rotatable: true,
|
rotatable: true,
|
||||||
desc: "This uses rotation, so just use debug to see the r value. r 0 means it vents haseulite below it upwards, r 1 means it vents haseulite above it downwards, r 2 means it vents left, and r 3 means it vents right.",
|
desc: "This uses rotation, so just use debug to see the r value. r 0 means it vents haseulite below it upwards, r 1 means it vents haseulite above it downwards, r 2 means it vents left, and r 3 means it vents right.",
|
||||||
|
|
@ -243,6 +245,7 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
|
||||||
value: 0,
|
value: 0,
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
|
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
||||||
tempHigh: 1757,
|
tempHigh: 1757,
|
||||||
behavior: behaviors.POWDER,
|
behavior: behaviors.POWDER,
|
||||||
tick: function(pixel) { haseulitoidTick(pixel) },
|
tick: function(pixel) { haseulitoidTick(pixel) },
|
||||||
|
|
@ -288,13 +291,31 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
|
||||||
density: 7214,
|
density: 7214,
|
||||||
hardness: 0.52,
|
hardness: 0.52,
|
||||||
breakInto: "haseulite_gas",
|
breakInto: "haseulite_gas",
|
||||||
|
temp: 1957,
|
||||||
tempHigh: 3100,
|
tempHigh: 3100,
|
||||||
conduct: 0.23,
|
conduct: 0.23,
|
||||||
};
|
};
|
||||||
|
|
||||||
elements.haseulite_gas = {
|
elements.haseulite_gas = {
|
||||||
color: ["#ffff9d", "#ffffff", "#e9ffe6", "#ffffe5"],
|
color: ["#ffff9d", "#ffffff", "#e9ffe6", "#ffffe5"],
|
||||||
|
properties: {
|
||||||
|
value: 0,
|
||||||
|
oldColor: null
|
||||||
|
},
|
||||||
|
tick: function(pixel) { haseulitoidTick(pixel) },
|
||||||
|
onExplosionBreakOrSurvive: function(pixel,x,y,radius) {
|
||||||
|
/*power is always radius/10
|
||||||
|
r 5: value 7
|
||||||
|
r 10: value 14
|
||||||
|
r 15: value 28
|
||||||
|
r 20: value 56
|
||||||
|
r 25: value 112
|
||||||
|
r 30: value 224
|
||||||
|
*/
|
||||||
|
pixel.value += (2**(((radius) / 5) - 1) * 7);
|
||||||
|
},
|
||||||
density: 0.289,
|
density: 0.289,
|
||||||
|
temp: 3700,
|
||||||
hardness: 1,
|
hardness: 1,
|
||||||
conduct: 0.13,
|
conduct: 0.13,
|
||||||
};
|
};
|
||||||
|
|
@ -305,4 +326,4 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
|
||||||
if(!enabledMods.includes(libraryMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,libraryMod) };
|
if(!enabledMods.includes(libraryMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,libraryMod) };
|
||||||
localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
|
localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
|
||||||
alert(`The "${runAfterAutogenMod}", "${loonaMod}", "${libraryMod}", and "${explodeAtPlusMod}" mods are all required; any missing mods in this list have been automatically inserted (reload for this to take effect).`)
|
alert(`The "${runAfterAutogenMod}", "${loonaMod}", "${libraryMod}", and "${explodeAtPlusMod}" mods are all required; any missing mods in this list have been automatically inserted (reload for this to take effect).`)
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue