fixed mod

This commit is contained in:
Nubo318 2022-01-20 14:41:15 -06:00 committed by GitHub
parent 64184e5f1e
commit 681b8f9159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 20 deletions

View File

@ -63,25 +63,6 @@ elements.smoke.reactions = {
"poisoned_ketchup_cloud": { "elem1": "pyrocumulus", "chance":0.08, "y":[0.15] },
};
// ketchup fairies
elements.ketchup_fairy.reactions = {
"fire": { "elem1": "fire_fairy"},
"magma": { "elem1": "fire_fairy"},
"snow": { "elem1": "ice_fairy"},
"ice": { "elem1": "ice_fairy"},
"petal": { "elem1": "nature_fairy"},
"dirt": { "elem1": "earth_fairy"},
"mud": { "elem1": "earth_fairy"},
"raincloud": { "elem1": "rain_fairy"},
"electric": { "elem1": "thunder_fairy"},
"little_star": { "elem1": "stellar_fairy"},
"moonrock": { "elem1": "lunar_fairy"},
"liquid_light": { "elem1": "light_fairy"},
"mushroom_cap": { "elem1": "mushroom_fairy"},
"magic": { "elem1": "magic_fairy"},
"ketchup": { "elem1": "ketchup_fairy"},
},
// elements
elements.frozen_ketchup = {
color: "#d44737",
@ -413,7 +394,25 @@ elements.ketchup_gold = {
}
// f&m only elements
if (enabledMods.includes("mods/fey_and_more.js")) {
if (enabledMods.includes("mods/fey_and_more.js")) {
// ketchup fairy reaction
elements.fairy.reactions = {
"fire": { "elem1": "fire_fairy"},
"magma": { "elem1": "fire_fairy"},
"snow": { "elem1": "ice_fairy"},
"ice": { "elem1": "ice_fairy"},
"petal": { "elem1": "nature_fairy"},
"dirt": { "elem1": "earth_fairy"},
"mud": { "elem1": "earth_fairy"},
"raincloud": { "elem1": "rain_fairy"},
"electric": { "elem1": "thunder_fairy"},
"little_star": { "elem1": "stellar_fairy"},
"moonrock": { "elem1": "lunar_fairy"},
"liquid_light": { "elem1": "light_fairy"},
"mushroom_cap": { "elem1": "mushroom_fairy"},
"magic": { "elem1": "magic_fairy"},
"ketchup": { "elem1": "ketchup_fairy"},
};
elements.ketchup_fairy = {
color: ["#d4b0b0", "#e8c5c5", "#e89595"],
state: "solid",