runAfterLoad wrap
This commit is contained in:
parent
69df2c5dd4
commit
bff2eee10c
|
|
@ -71,6 +71,7 @@ elements.dry_ice.breakInto = "carbon_dioxide"
|
|||
regularShinyThingArray = ["iron", "zinc", "tin", "nickel", "silver", "aluminum", "lead", "tungsten", "brass", "bronze", "sterling", "steel", "rose_gold", "solder", "gold", "pyrite"]
|
||||
//pyrite is a mineral
|
||||
|
||||
runAfterLoad(function() {
|
||||
if(enabledMods.includes("mods/Neutronium Mod.js")) {
|
||||
regularShinyThingArray.push("mythril")
|
||||
regularShinyThingArray.push("mithril_mythril_alloy")
|
||||
|
|
@ -92,6 +93,7 @@ if(enabledMods.includes("mods/metals.js")) {
|
|||
regularShinyThingArray.push("platinum")
|
||||
regularShinyThingArray.push("frozen_mercury")
|
||||
regularShinyThingArray.push("lithium")
|
||||
regularShinyThingArray.push("niobium")
|
||||
if(elements.mercury) {
|
||||
elements.mercury.breakInto = "mercury_gas"
|
||||
}
|
||||
|
|
@ -184,3 +186,4 @@ if(enabledMods.includes("mods/laetium.js")) {
|
|||
};
|
||||
};
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue