parent
8428d58b00
commit
514af575a5
|
|
@ -423,6 +423,7 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
}
|
}
|
||||||
|
|
||||||
function haseulitoidTick(pixel) {
|
function haseulitoidTick(pixel) {
|
||||||
|
if(pixel.value == undefined) { pixel.value = 0 };
|
||||||
valueFunction(pixel,haseuliteValueObject,haseuliteSpreadWhitelist);
|
valueFunction(pixel,haseuliteValueObject,haseuliteSpreadWhitelist);
|
||||||
if(pixel.oldColor === null) { pixel.oldColor = pixel.color };
|
if(pixel.oldColor === null) { pixel.oldColor = pixel.color };
|
||||||
pixel.color = lightenColor(pixel.oldColor,pixel.value / 3);
|
pixel.color = lightenColor(pixel.oldColor,pixel.value / 3);
|
||||||
|
|
@ -440,7 +441,6 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
color: ["#3cb00e", "#25d119", "#79f553"],
|
color: ["#3cb00e", "#25d119", "#79f553"],
|
||||||
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
behavior: behaviors.WALL,
|
behavior: behaviors.WALL,
|
||||||
|
|
@ -544,7 +544,6 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
elements.haseulite_powder = {
|
elements.haseulite_powder = {
|
||||||
color: ["#5fb33e", "#32ba29", "#63d141"],
|
color: ["#5fb33e", "#32ba29", "#63d141"],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
category: "powders",
|
category: "powders",
|
||||||
|
|
@ -576,7 +575,6 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
color: ["#cbf569","#f1ffd6","#fdffb5", "#fffa99"],
|
color: ["#cbf569","#f1ffd6","#fdffb5", "#fffa99"],
|
||||||
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
behavior: [
|
behavior: [
|
||||||
|
|
@ -608,7 +606,6 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
color: ["#ffff9d", "#ffffff", "#e9ffe6", "#ffffe5"],
|
color: ["#ffff9d", "#ffffff", "#e9ffe6", "#ffffe5"],
|
||||||
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
tick: function(pixel) { haseulitoidTick(pixel) },
|
tick: function(pixel) { haseulitoidTick(pixel) },
|
||||||
|
|
@ -904,6 +901,7 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
}
|
}
|
||||||
|
|
||||||
function jinsoulitoidTick(pixel,move1Spots=[],move2Spots=[]) {
|
function jinsoulitoidTick(pixel,move1Spots=[],move2Spots=[]) {
|
||||||
|
if(pixel.value == undefined) { pixel.value = 0 };
|
||||||
if(jinsouliteDissolution(pixel)) {
|
if(jinsouliteDissolution(pixel)) {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
@ -925,10 +923,10 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
"XX|CR:water%0.15|XX"
|
"XX|CR:water%0.15|XX"
|
||||||
],
|
],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
tick: function(pixel) {
|
tick: function(pixel) {
|
||||||
|
if(pixel.value == undefined) { pixel.value = 0 };
|
||||||
jinsouliteValue(pixel);
|
jinsouliteValue(pixel);
|
||||||
jinsouliteSolidNonWaterSideReactions(pixel);
|
jinsouliteSolidNonWaterSideReactions(pixel);
|
||||||
jinsouliteSolidWaterSideReactions(pixel);
|
jinsouliteSolidWaterSideReactions(pixel);
|
||||||
|
|
@ -952,7 +950,6 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
"XX|CR:water%0.05|XX"
|
"XX|CR:water%0.05|XX"
|
||||||
],
|
],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
category: "powders",
|
category: "powders",
|
||||||
|
|
@ -983,7 +980,6 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
"XX|CR:steam%0.1|XX"
|
"XX|CR:steam%0.1|XX"
|
||||||
],
|
],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
color: ["#4e35db","#7767eb","#a876f5", "#78acff"],
|
color: ["#4e35db","#7767eb","#a876f5", "#78acff"],
|
||||||
|
|
@ -1012,7 +1008,6 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(fireMod) && enabledMod
|
||||||
],
|
],
|
||||||
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
fireColor: ["#08a953", "#2ea332", "#d1e0d3"],
|
||||||
properties: {
|
properties: {
|
||||||
value: 0,
|
|
||||||
oldColor: null
|
oldColor: null
|
||||||
},
|
},
|
||||||
tick: function(pixel) { jinsoulitoidTick(pixel,adjacentCoords,[[-1,-1],[1,-1],[1,1],[-1,1]]) },
|
tick: function(pixel) { jinsoulitoidTick(pixel,adjacentCoords,[[-1,-1],[1,-1],[1,1],[-1,1]]) },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue