2018-06-24 09:10:47 +00:00
|
|
|
|
|
|
|
-- Etching Acid
|
|
|
|
|
2019-01-27 16:41:49 +00:00
|
|
|
ele.helpers.register_liquid("etching_acid", {
|
|
|
|
description = "Etching Acid",
|
|
|
|
tiles = {"elepower_etching_acid.png"},
|
|
|
|
special_tiles = {"elepower_etching_acid.png", "elepower_etching_acid.png"},
|
|
|
|
alpha = 200,
|
|
|
|
liquid_viscosity = 4,
|
2018-06-24 09:10:47 +00:00
|
|
|
damage_per_second = 4,
|
|
|
|
post_effect_color = {a = 103, r = 65, g = 8, b = 0},
|
2019-01-27 16:41:49 +00:00
|
|
|
groups = {acid = 1, etching_acid = 1, liquid = 3, tree_fluid = 1},
|
2018-06-24 09:10:47 +00:00
|
|
|
})
|
|
|
|
|
2019-01-22 03:09:12 +00:00
|
|
|
-- Liquid Lithium
|
|
|
|
|
2019-01-27 16:41:49 +00:00
|
|
|
ele.helpers.register_liquid("lithium", {
|
|
|
|
description = "Liquid Lithium",
|
|
|
|
drawtype = "liquid",
|
|
|
|
tiles = {"elepower_lithium.png"},
|
|
|
|
special_tiles = {"elepower_lithium.png", "elepower_lithium.png"},
|
|
|
|
liquid_viscosity = 4,
|
|
|
|
damage_per_second = 1,
|
|
|
|
alpha = 200,
|
2019-02-09 09:20:31 +00:00
|
|
|
gas_form = "elepower_dynamics:lithium_gas",
|
2019-01-22 03:09:12 +00:00
|
|
|
post_effect_color = {a = 103, r = 229, g = 227, b = 196},
|
2019-01-27 16:41:49 +00:00
|
|
|
groups = {lithium = 1, liquid = 3},
|
2019-01-22 03:09:12 +00:00
|
|
|
})
|
|
|
|
|
2018-06-24 09:10:47 +00:00
|
|
|
bucket.register_liquid("elepower_dynamics:etching_acid_source", "elepower_dynamics:etching_acid_flowing",
|
|
|
|
"elepower_dynamics:bucket_etching_acid", "#410800", "Etching Acid Bucket")
|
2018-07-08 09:33:35 +00:00
|
|
|
|
2019-01-22 03:09:12 +00:00
|
|
|
bucket.register_liquid("elepower_dynamics:lithium_source", "elepower_dynamics:lithium_flowing",
|
|
|
|
"elepower_dynamics:bucket_lithium", "#e5e3c4", "Liquid Lithium Bucket")
|
|
|
|
|
2018-08-30 20:14:50 +00:00
|
|
|
-----------
|
|
|
|
-- Gases --
|
|
|
|
-----------
|
|
|
|
|
2018-07-08 09:33:35 +00:00
|
|
|
minetest.register_node("elepower_dynamics:steam", {
|
|
|
|
description = "Steam",
|
2018-08-29 12:45:31 +00:00
|
|
|
groups = {not_in_creative_inventory = 1, gas = 1},
|
2019-02-09 09:20:31 +00:00
|
|
|
liquid_form = "default:water_source",
|
2018-08-29 12:45:31 +00:00
|
|
|
tiles = {"elepower_steam.png"},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:oxygen", {
|
|
|
|
description = "Oxygen",
|
|
|
|
groups = {not_in_creative_inventory = 1, gas = 1},
|
|
|
|
tiles = {"elepower_steam.png"},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:hydrogen", {
|
|
|
|
description = "Hydrogen",
|
|
|
|
groups = {not_in_creative_inventory = 1, gas = 1},
|
|
|
|
tiles = {"elepower_steam.png"},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:nitrogen", {
|
|
|
|
description = "Nitrogen",
|
|
|
|
groups = {not_in_creative_inventory = 1, gas = 1},
|
2018-07-08 09:33:35 +00:00
|
|
|
tiles = {"elepower_steam.png"},
|
|
|
|
})
|
2019-01-22 03:09:12 +00:00
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:lithium_gas", {
|
|
|
|
description = "Lithium Gas",
|
|
|
|
groups = {not_in_creative_inventory = 1, gas = 1, lithium = 1},
|
2019-02-09 09:20:31 +00:00
|
|
|
liquid_form = "elepower_dynamics:lithium_source",
|
2019-01-22 03:09:12 +00:00
|
|
|
tiles = {"elepower_lithium.png"},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:chlorine_gas", {
|
|
|
|
description = "Chlorine Gas",
|
|
|
|
groups = {not_in_creative_inventory = 1, gas = 1, chlorine = 1},
|
|
|
|
tiles = {"elepower_chlorine.png"},
|
|
|
|
})
|