bug fixes

also no more radiation from heejinite
This commit is contained in:
Laetitia (O-01-67) 2022-12-12 09:52:40 -05:00 committed by GitHub
parent ad283c50f1
commit cbce59d74d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -23,7 +23,7 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
state: "solid", state: "solid",
density: 2466.73, density: 2466.73,
hardness: 0.56, hardness: 0.56,
breakInto: ["rock","sulfur","loona_gravel","loona_gravel","loona_gravel","haseulite_powder"], breakInto: ["rock","sulfur","loona_gravel","loona_gravel","loona_gravel","haseulite_powder", "rock","sulfur","loona_gravel","loona_gravel","loona_gravel","haseulite_powder", "rock","sulfur","loona_gravel","loona_gravel","loona_gravel","heejinite_powder"],
}, },
function spoutCriteria(name) { function spoutCriteria(name) {
@ -122,9 +122,9 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
//it doesn't want to acknowledge spoutCriteria, so... //it doesn't want to acknowledge spoutCriteria, so...
runAfterAutogen(function() { runAfterAutogen(function() {
elements.loona.stateHigh = ["molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_haseulite"]; elements.loona.stateHigh = ["molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_haseulite","molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_haseulite","molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_heejinite"];
hotHeejiniteElements = Object.keys(elements).filter(function(e) { hotHeejiniteElements = Object.keys(elements).filter(function(e) {
return spoutCriteria(e) && heejiniteHeatCriteria(e) && !elements[e].excludeRandom; return spoutCriteria(e) && heejiniteHeatCriteria(e) && !elements[e].excludeRandom && !e.startsWith("rad");
}); });
}); });
@ -132,12 +132,12 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
color: ["#b3be98","#919a6f","#68744b","#515931"], color: ["#b3be98","#919a6f","#68744b","#515931"],
behavior: behaviors.POWDER, behavior: behaviors.POWDER,
tempHigh: 1031, tempHigh: 1031,
stateHigh: ["molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_haseulite"], stateHigh: ["molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_haseulite","molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_haseulite","molten_loona","rock","rock","rock","sulfur_gas","sulfur_gas","molten_heejinite"],
category: "random rocks", category: "random rocks",
state: "solid", state: "solid",
density: 1625.14, density: 1625.14,
hardness: 0.97, hardness: 0.97,
breakInto: ["rock","sulfur","rock","haseulite_powder"], breakInto: ["rock","sulfur","rock","haseulite_powder","rock","sulfur","rock","haseulite_powder","rock","sulfur","rock","heejinite_powder"],
}; };
haseuliteValueObject = { haseuliteValueObject = {
@ -385,7 +385,7 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
tempHigh: elements.steel.tempHigh, tempHigh: elements.steel.tempHigh,
stateHigh: ["molten_steel","haseulite_powder"], stateHigh: ["molten_steel","haseulite_powder"],
breakInto: ["metal_scrap","haseulite_powder"], breakInto: ["metal_scrap","haseulite_powder"],
category: "solids", category: "machines",
state: "solid", state: "solid",
density: 7550, density: 7550,
hardness: 0.93, hardness: 0.93,
@ -530,10 +530,11 @@ if(enabledMods.includes(loonaMod) && enabledMods.includes(runAfterAutogenMod) &&
properties: { properties: {
oldColor: null oldColor: null
}, },
behavior: behaviors.WALL, behavior: behaviors.POWDER,
tick: function(pixel) { heejinitoidTick(pixel) }, tick: function(pixel) { heejinitoidTick(pixel) },
excludeVelocity: true, //wall shouldn't move excludeVelocity: true, //wall shouldn't move
tempHigh: 837, tempHigh: 837,
stateHigh: "molten_heejinite",
category: "solids", category: "solids",
state: "solid", state: "solid",
density: 1412, density: 1412,