splitting liquid f/p/s off into a separate mod

This commit is contained in:
Lily-129 2022-02-01 19:56:21 -05:00 committed by GitHub
parent 472d0004e0
commit d92a81223f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 215 additions and 0 deletions

215
mods/liquid_energy.js Normal file
View File

@ -0,0 +1,215 @@
elements.liquid_plasma = {
color: ["#8800ff","#b184d9","#8800ff"],
behavior: [
"XX|XX|XX",
"M2|DL%0.1|M2",
"M1|M1|M1",
],
behaviorOn: [
"XX|CL%5|XX",
"CL%5 AND M2|XX|CL%5 AND M2",
"M1|M1 AND CL%5|M1",
],
temp:7065,
tempLow:5000,
stateLow: "liquid_fire",
category: "liquids",
state: "liquids",
density: 70,
charge: 0.5,
conduct: 1,
},
elements.liquid_fire = {
color: ["#ff6b21","#ffa600","#ff4000"],
behavior: [
"XX|M2|XX",
"M2|XX|M2",
"M1|M1|M1",
],
reactions: {
"water": { "elem1": "liquid_smoke" },
},
temp:600,
tempLow:100,
stateLow: "liquid_smoke",
tempHigh: 7000,
stateHigh: "liquid_plasma",
category: "liquids",
burning: true,
burnTime: 500,
burnInto: "liquid_smoke",
state: "liquid",
density: 21,
},
elements.liquid_smoke = {
color: "#383838",
behavior: [
"XX|XX|XX",
"M2|DL%0.1|M2",
"M1|M1|M1",
],
reactions: {
"water": { "elem1": "dirty_water", "elem2": null },
"steam": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,15] },
"rain_cloud": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,15] },
"snow_cloud": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,15] },
"acid_cloud": { "elem1": "pyrocumulus", "chance":0.05, "y":[0,15] },
"fire_cloud": { "elem1": "pyrocumulus", "chance":0.05, "y":[0,15] },
"pyrocumulus": { "elem1": "pyrocumulus", "chance":0.08, "y":[0,15] },
},
temp: 114,
tempHigh: 605,
stateHigh: "liquid_fire",
category: "liquids",
state: "liquids",
density: 2180,
},
elements.liquid_cold_fire = {
color: ["#21cbff","#006aff","#00ffff"],
behavior: [
"XX|M2|XX",
"M2|CH:liquid_smoke%0.1|M2",
"M1|M1|M1",
],
reactions: {
"fire": { "elem1": "liquid_smoke", "elem2": "liquid_smoke" },
"plasma": { "elem1": "le_liquid_light", "elem2": "le_liquid_light" }, //prefixed to avoid conflict with F&M liquid_light
},
temp:-200,
tempHigh:0,
stateHigh: "liquid_smoke",
category: "liquids",
state: "liquid",
density: 42,
},
elements.le_liquid_light = {
color: "#ffffa8",
behavior: [
"XX|XX|XX",
"M2|DL%0.1 AND FX%0.5 AND FY%0.5|M2 AND BO",
"M1|M1|M1",
],
temp: 40,
category: "liquids",
},
elements.liquid_laser = {
color: "#ff0000",
behavior: [
"XX|M2|XX",
"M2|DL%0.05|M2 AND BO:1,2,3",
"XX|M1|XX",
],
rotatable: true,
temp: 40,
category: "liquids",
},
elements.liquid_electric = {
color: "#dddd00",
behavior: [
"CL%3|CL%3 AND SH|CL%3",
"M2%15 AND CL%3 AND SH|SH%3 AND DL%15|M2%15 AND CL%3 AND SH",
"M1%15 AND CL%4|M1%50 AND CL%9 AND SH|M1%15 AND CL%4",
],
charge: 3,
category: "liquids",
state: "solid",
density: 44.1,
},
elements.liquid_radiation = {
color: ["#00ff00","#6fff00"],
behavior: [
"XX|M2%50 AND HT|XX",
"M2%50 AND HT|DL%0.2|M2%50 AND HT",
"M1%50|M1 AND HT|M1%50",
],
reactions: {
"water": { "elem2":"rad_steam", "chance":0.8 },
"steam": { "elem2":"rad_steam", "chance":0.8 },
"salt_water": { "elem2":"rad_steam", "chance":0.8 },
"sugar_water": { "elem2":"rad_steam", "chance":0.8 },
"dirty_water": { "elem2":"rad_steam", "chance":0.8 },
"bubble": { "elem2":"rad_steam", "chance":0.8 },
"foam": { "elem2":"rad_steam", "chance":0.8 },
"ice": { "elem2":"rad_steam", "chance":0.8 },
"snow": { "elem2":"rad_steam", "chance":0.8 },
"packed_snow": { "elem2":"rad_steam", "chance":0.8 },
"slime": { "elem2":"rad_steam", "chance":0.8 },
"milk": { "elem2":"cheese", "chance":0.8 },
"permafrost": { "elem1":"rad_steam", "elem2":"dirt", "chance":0.8 },
"mud": { "elem1":"rad_steam", "elem2":"dirt", "chance":0.8 },
"wet_sand": { "elem1":"rad_steam", "elem2":"sand", "chance":0.8 },
"clay": { "elem1":"rad_steam", "elem2":"clay_soil", "chance":0.8 },
"slaked_lime": { "elem1":"rad_steam", "elem2":"limestone", "chance":0.8 },
"rain_cloud": { "elem2":"rad_cloud", "chance":0.8 },
"snow_cloud": { "elem2":"rad_cloud", "chance":0.8 },
"plant": { "elem2":"straw", "chance":0.8 },
"grass": { "elem2":["straw","grass_seed","wheat_seed"], "chance":0.8 },
"algae": { "elem2":["mushroom_spore","lichen","yeast"], "chance":0.8 },
"mushroom_spore": { "elem2":["lichen","yeast"], "chance":0.8 },
"mushroom_cap": { "elem2":["lichen","plant"], "chance":0.8 },
"mushroom_stalk": { "elem2":["lichen","yeast"], "chance":0.8 },
"mushroom_gill": { "elem2":["lichen","yeast"], "chance":0.8 },
"flea": { "elem2":["ash","ant","termite"], "chance":0.8 },
"ant": { "elem2":["ash","flea","termite"], "chance":0.8 },
"termite": { "elem2":["ash","flea","ant"], "chance":0.8 },
"fly": { "elem2":["ash","firefly","bee"], "chance":0.8 },
"bee": { "elem2":["ash","firefly","fly"], "chance":0.8 },
"firefly": { "elem2":["ash","bee","fly"], "chance":0.8 },
"frog": { "elem2":["ash","meat","rotten_meat","cooked_meat"], "chance":0.8 },
"fish": { "elem2":["ash","meat","rotten_meat","cooked_meat"], "chance":0.8 },
"rat": { "elem2":["ash","meat","rotten_meat","cooked_meat","plague"], "chance":0.8 },
"bone": { "elem2":["calcium","calcium","calcium","cancer"], "chance":0.8 },
"meat": { "elem2":["ash","rotten_meat","cooked_meat"], "chance":0.8 },
"rotten_meat": { "elem2":["ash","meat","cooked_meat"], "chance":0.8 },
"cooked_meat": { "elem2":["ash","rotten_meat"], "chance":0.8 },
"bamboo": { "elem2":["wood","plant","bamboo_plant"], "chance":0.8 },
"bamboo_plant": { "elem2":["wood","plant","bamboo"], "chance":0.8 },
"sapling": { "elem2":["wood","plant","tree_branch"], "chance":0.8 },
"tree_branch": { "elem2":["wood","plant","sapling"], "chance":0.8 },
"grass_seed": { "elem2":["straw","wheat_seed"], "chance":0.8 },
"lichen": { "elem2":"algae", "chance":0.8 },
"yeast": { "elem2":["algae","mushroom_spore","lichen"], "chance":0.8 },
"wheat_seed": { "elem2":["straw","wheat","grass_seed"], "chance":0.8 },
"flower_seed": { "elem2":["straw","grass","pistil","petal"], "chance":0.8 },
"pistil": { "elem2":["straw","grass","flower_seed","petal"], "chance":0.8 },
"petal": { "elem2":["straw","grass","flower_seed","pistil"], "chance":0.8 },
"vine": { "elem1":["vine"], "chance":0.8 },
"worm": { "elem2":"ash", "chance":0.8 },
"corn": { "elem2":"corn_seed", "chance":0.8 },
"corn_seed": { "elem2":"corn", "chance":0.8 },
"potato": { "elem2":"potato_seed", "chance":0.8 },
"potato_seed": { "elem2":"potato", "chance":0.8 },
"slug": { "elem2":"slime", "chance":0.8 },
"snail": { "elem2":"slime", "chance":0.8 },
"cell": { "elem2":"cancer", "chance":0.8 },
"blood": { "elem2":["infection","cancer"], "chance":0.8 },
"antibody": { "elem2":"cancer", "chance":0.8 },
"infection": { "elem2":"cancer", "chance":0.8 },
"cancer": { "elem2":null, "chance":0.2 },
},
state: "liquid",
density: 4.2,
category: "liquids",
},
elements.liquid_explosion = {
color: ["#ffb48f","#ffd991","#ffad91"],
behavior: [
"XX|XX|XX",
"M2|EX:10>fire,fire,fire,liquid_explosion,liquid_explosion%0.4|M2",
"M1|M1|M1",
],
temp: 300,
category: "liquids",
state: "liquid",
density: 2000,
excludeRandom: true,
}