tweak idk
This commit is contained in:
parent
e658ac0c73
commit
f11a06cc30
|
|
@ -137,19 +137,23 @@ elements.nitrogen_ice.breakInto = "nitrogen_snow"
|
||||||
|
|
||||||
runAfterLoad(function() {
|
runAfterLoad(function() {
|
||||||
for(i = 0; i < regularShinyThingArray.length; i++) {
|
for(i = 0; i < regularShinyThingArray.length; i++) {
|
||||||
if(elements[regularShinyThingArray[i]]) {
|
var thing = regularShinyThingArray[i];
|
||||||
elements[`${regularShinyThingArray[i]}_scrap`] = {
|
if(elements[thing]) {
|
||||||
color: elements[regularShinyThingArray[i]].color,
|
elements[`${thing}_scrap`] = {
|
||||||
|
color: elements[thing].color,
|
||||||
behavior: behaviors.POWDER,
|
behavior: behaviors.POWDER,
|
||||||
tempHigh: elements[regularShinyThingArray[i]].tempHigh,
|
tempHigh: elements[thing].tempHigh,
|
||||||
stateHigh: regularShinyThingArray[i],
|
stateHigh: thing,
|
||||||
reactions: elements[regularShinyThingArray[i]].reactions,
|
|
||||||
category: "powders",
|
category: "powders",
|
||||||
hidden: true,
|
hidden: true,
|
||||||
density: elements[regularShinyThingArray[i]].density * 0.09,
|
density: elements[thing].density * 0.09,
|
||||||
conduct: elements[regularShinyThingArray[i]].conduct * 0.4,
|
conduct: elements[thing].conduct * 0.4,
|
||||||
|
movable: true,
|
||||||
};
|
};
|
||||||
elements[regularShinyThingArray[i]].breakInto = `${regularShinyThingArray[i]}_scrap`
|
if(elements[thing].reactions) {
|
||||||
|
elements[`${thing}_scrap`].reactions = elements[thing].reactions;
|
||||||
|
};
|
||||||
|
elements[thing].breakInto = `${thing}_scrap`;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
if(enabledMods.includes("mods/randomness.js")) {
|
if(enabledMods.includes("mods/randomness.js")) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue