ketchup fairies die to iron and silver

This commit is contained in:
Nubo318 2022-01-20 18:10:30 -06:00 committed by GitHub
parent c5dcd7d2a0
commit 16b8f29f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 5 deletions

View File

@ -61,7 +61,7 @@ elements.smoke.reactions = {
"pyrocumulus": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,15] },
"ketchup_cloud": { "elem1": "pyrocumulus", "chance":0.08, "y":[0.15] },
"poisoned_ketchup_cloud": { "elem1": "pyrocumulus", "chance":0.08, "y":[0.15] },
};
};
// elements
elements.frozen_ketchup = {
@ -393,9 +393,22 @@ elements.ketchup_gold = {
}
}
// f&m only elements
// f&m only things
runAfterLoad(function() {
if (enabledMods.includes("mods/fey_and_more.js")) {
// making ketchup fairies die to iron and silver
eLists.FAIRY.push("ketchup_fairy");
elements.iron.behavior = [
"XX|DL:"+eLists.FAIRY+"|XX",
"DL:"+eLists.FAIRY+"|XX|DL:"+eLists.FAIRY+"",
"XX|DL:"+eLists.FAIRY+"|XX"
];
elements.silver.behavior = [
"XX|DL:"+eLists.FAIRY+"|XX",
"DL:"+eLists.FAIRY+"|XX|DL:"+eLists.FAIRY+"",
"XX|DL:"+eLists.FAIRY+"|XX"
];
// ketchup fairy reaction
elements.fairy.reactions = {
"fire": { "elem1": "fire_fairy"},
@ -414,6 +427,8 @@ runAfterLoad(function() {
"magic": { "elem1": "magic_fairy"},
"ketchup": { "elem1": "ketchup_fairy"},
};
// f&m only elements
elements.ketchup_fairy = {
color: ["#d4b0b0", "#e8c5c5", "#e89595"],
state: "solid",
@ -423,14 +438,17 @@ runAfterLoad(function() {
"XX|CR:ketchup%0.1 AND CR:fairy_dust%0.005 AND M1|M1",
],
category: "fey",
}
};
};
});
/*
Changelog
Mod made primarily by Nubo318. Contributors include deviantEquinox and Lily129.
Version 1.3.0
Version 1.3.1
Version 1.3.1 (20th of January 2022)
~ Ketchup fairies are now killed by iron and silver
Version 1.3.0 (20th of January 2022)
+ Ketchup Gold, an alloy between ketchup metal and gold
@ -486,4 +504,4 @@ Version 1.0.0 (technically not the first version, but I'm to lazy to see in whic
+ Frozen Poisoned Ketchup
+ Ketchup Cloud - Rain cloud but ketchup
+ Poisoned Ketchup Cloud
*/
*/