cum water spread rework

to use reactions
This commit is contained in:
Lily-129 2022-01-20 14:11:49 -05:00 committed by GitHub
parent 58bfc8ea32
commit 813c23a692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 4 deletions

View File

@ -72,12 +72,15 @@ elements.cum_water = {
"M1 AND SW:water,cum%5|M1 AND CH:water>cum_water%3 AND SW:water,cum%5|M1 AND SW:water,cum%5", "M1 AND SW:water,cum%5|M1 AND CH:water>cum_water%3 AND SW:water,cum%5|M1 AND SW:water,cum%5",
], ],
reactions: { reactions: {
"water": { "elem1": "cum_water", "elem2": "cum_water", "chance": 0.35 }, //cum spread
"sugar_water": { "elem1": "cum_water", "elem2": "cum_water", "chance":0.7 }, //sperm eat sugar "sugar_water": { "elem1": "cum_water", "elem2": "cum_water", "chance":0.7 }, //sperm eat sugar
"water": { "elem1": "cum_water", "elem2": "cum_water", "chance":0.7 }, //sperm eat sugar
"dirt": { "elem1": "water", "elem2": "cummy_mud" }, //cum goes into dirt "dirt": { "elem1": "water", "elem2": "cummy_mud" }, //cum goes into dirt
"sand": { "elem1": "water", "elem2": "cummy_sand" }, // cum goes into sand "sand": { "elem1": "water", "elem2": "cummy_sand" }, // cum goes into sand
"sugar": { "elem1": null, "elem2": "cum_water", "chance":0.7 }, //sperm eat sugar "sugar": { "elem1": null, "elem2": "cum_water", "chance":0.7 }, //sperm eat sugar
"slime": { "elem1": "water", "elem2": "cum_slime" }, //cum enters slime "slime": { "elem1": "water", "elem2": "cum_slime" }, //cum enters slime
"salt": { "elem1": null, "elem2": "dead_cum_water" }, //cum dies "salt": { "elem1": null, "elem2": "dead_cum_water" }, //cum dies
"salt_water": { "elem1": "salt_water", "elem2": "salt_water" }, //cum dies
"acid": { "elem1": "water", "elem2": "cum", "chance": 0.05 }, //less cum is less basic "acid": { "elem1": "water", "elem2": "cum", "chance": 0.05 }, //less cum is less basic
"acid": { "elem1": "water", "elem2": "dead_cum_water", "chance": 0.1 }, //sperm die from acid "acid": { "elem1": "water", "elem2": "dead_cum_water", "chance": 0.1 }, //sperm die from acid
"alcohol": { "elem1": "alcohol", "elem2": "dead_cum_water", "chance": 0.2 }, //alcohol kills things "alcohol": { "elem1": "alcohol", "elem2": "dead_cum_water", "chance": 0.2 }, //alcohol kills things
@ -333,18 +336,21 @@ elements.cummy_permafrost = {
category: "cum", category: "cum",
} }
// Add reactions to existing elements // Add reactions to existing elements
if (!elements.fly.reactions) { // Include this block once if (!elements.fly.reactions) {
elements.fly.reactions = {} elements.fly.reactions = {}
} }
if (!elements.frog.reactions) { // Include this block once if (!elements.frog.reactions) {
elements.frog.reactions = {} elements.frog.reactions = {}
} }
if (!elements.ant.reactions) { // Include this block once if (!elements.ant.reactions) {
elements.ant.reactions = {} elements.ant.reactions = {}
} }
if (!elements.fish.reactions) { // Include this block once if (!elements.fish.reactions) {
elements.fish.reactions = {} elements.fish.reactions = {}
} }
if (!elements.water.reactions) {
elements.water.reactions = {}
}
elements.fly.reactions.cum = { "elem1":"fly", "elem2":null } elements.fly.reactions.cum = { "elem1":"fly", "elem2":null }
elements.frog.reactions.cum = { "elem1":"cum_water", "elem2":"frog" } elements.frog.reactions.cum = { "elem1":"cum_water", "elem2":"frog" }
elements.ant.reactions.cum = { "elem1":"ant", "elem2":null } elements.ant.reactions.cum = { "elem1":"ant", "elem2":null }
@ -352,6 +358,7 @@ elements.fish.reactions.cum = { "elem1":"fish", "elem2":"cum_water" }
elements.fish.reactions.cum_water = { "elem1":"fish", "elem2":"water" } 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 = { "elem1":"fish", "elem2":"dead_cum_water" }
elements.fish.reactions.dead_cum_water = { "elem1":"fish", "elem2":"water" } elements.fish.reactions.dead_cum_water = { "elem1":"fish", "elem2":"water" }
elements.water.reactions.cum_water = { "elem1":"water", "elem2":"cum_water", "chance": 0.34 }
/*if(enabledMods.includes("mods/fey_and_more.js")) { /*if(enabledMods.includes("mods/fey_and_more.js")) {
eLists.IMPURITY.push("cum"); eLists.IMPURITY.push("cum");