This commit is contained in:
O-01-67 2022-09-04 16:54:43 -04:00 committed by GitHub
parent 7caf16310a
commit 9c28fc0af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 50 additions and 52 deletions

View File

@ -285,8 +285,9 @@ elements.cell_3 = {
breakInto: ["water","dna","dna","dna"] breakInto: ["water","dna","dna","dna"]
}; };
runAfterLoad(function() {
if(enabledMods.includes("mods/fey_and_more.js")) { if(enabledMods.includes("mods/fey_and_more.js")) {
//old code {
elements.gold_fairy = { elements.gold_fairy = {
name: "gold fairy", name: "gold fairy",
color: ["#cfa65b","#e6df63","#faf673"], color: ["#cfa65b","#e6df63","#faf673"],
@ -334,11 +335,8 @@ if(enabledMods.includes("mods/fey_and_more.js")) {
goldObject[`gold_${i}-fairy`] = 3 * i; goldObject[`gold_${i}-fairy`] = 3 * i;
if (i == goldFairyAmount) { elements[`gold_${i}-fairy`]["reactions"] = {}; } if (i == goldFairyAmount) { elements[`gold_${i}-fairy`]["reactions"] = {}; }
} }
//}
};
runAfterLoad(function() {
if(enabledMods.includes("mods/fey_and_more.js")) {
//eList rebuilding { //eList rebuilding {
eLists.FAIRY.push("gold_fairy"); eLists.FAIRY.push("gold_fairy");
for (var i = 2; i <= goldFairyAmount + 1; i++) { for (var i = 2; i <= goldFairyAmount + 1; i++) {