From d296b6d19c49a037a34e40952638ebfbd5128e98 Mon Sep 17 00:00:00 2001 From: Lily-129 <68935009+Lily-129@users.noreply.github.com> Date: Thu, 20 Jan 2022 17:23:23 -0500 Subject: [PATCH] Made cum an impurity Made pure_water and pure_steam behaviors be regenerated with eLists.IMPURITY after pushing cummy elements to it. --- mods/{cum_mod.js => cum.js} | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) rename mods/{cum_mod.js => cum.js} (92%) diff --git a/mods/cum_mod.js b/mods/cum.js similarity index 92% rename from mods/cum_mod.js rename to mods/cum.js index 221a7dfa..70e46a95 100644 --- a/mods/cum_mod.js +++ b/mods/cum.js @@ -362,7 +362,8 @@ elements.fish.reactions.cum_water = { "elem1":"fish", "elem2":"water" } elements.fish.reactions.dead_cum = { "elem1":"fish", "elem2":"dead_cum_water" } elements.fish.reactions.dead_cum_water = { "elem1":"fish", "elem2":"water" } -/*if(enabledMods.includes("mods/fey_and_more.js")) { +runAfterLoad(function() { + if(enabledMods.includes("mods/fey_and_more.js")) { eLists.IMPURITY.push("cum"); eLists.IMPURITY.push("cum_water"); eLists.IMPURITY.push("cum_ice"); @@ -379,4 +380,15 @@ elements.fish.reactions.dead_cum_water = { "elem1":"fish", "elem2":"water" } eLists.IMPURITY.push("cummy_snake"); eLists.IMPURITY.push("cum_slime"); eLists.IMPURITY.push("burnt_cum"); -};*/ + elements.pure_water.behavior = [ + "DL:"+eLists.IMPURITY+"|DL:"+eLists.IMPURITY+"|DL:"+eLists.IMPURITY+"", + "DL:"+eLists.IMPURITY+" AND M2|XX|DL:"+eLists.IMPURITY+" AND M2", + "DL:"+eLists.IMPURITY+" AND M1|DL:"+eLists.IMPURITY+" AND M1|DL:"+eLists.IMPURITY+" AND M1", + ], + elements.pure_steam.behavior = [ + "M2 AND DL:"+eLists.IMPURITY+"|M1 AND DL:"+eLists.IMPURITY+"|M2 AND DL:"+eLists.IMPURITY+"", + "M1 AND DL:"+eLists.IMPURITY+"|XX|M1 AND DL:"+eLists.IMPURITY+"", + "M2 AND DL:"+eLists.IMPURITY+"|M1 AND DL:"+eLists.IMPURITY+"|M2 AND DL:"+eLists.IMPURITY+"", + ] +}; +});