mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-08-19 20:34:04 +02:00
The liquids don't look like liquids so somethings still a bit off but at least the warnings are gone
29 lines
925 B
Lua
29 lines
925 B
Lua
|
|
-- Brine
|
|
|
|
ele.helpers.register_liquid("brine", {
|
|
description = "Brine",
|
|
drawtype = "liquid",
|
|
tiles = {"elenuclear_brine.png"},
|
|
special_tiles = {"elenuclear_brine.png", "elenuclear_brine.png"},
|
|
use_texture_alpha = "blend",
|
|
liquid_viscosity = 7,
|
|
post_effect_color = {a = 200, r = 215, g = 221, b = 187},
|
|
groups = {brine = 3, saline = 1, liquid = 3, puts_out_fire = 1, cools_lava = 1},
|
|
})
|
|
|
|
if minetest.get_modpath("bucket") ~= nil then
|
|
bucket.register_liquid("elepower_thermal:brine_source", "elepower_thermal:brine_flowing",
|
|
"elepower_thermal:bucket_heavy_water", "#d7ddbb", "Brine Bucket")
|
|
|
|
fluid_tanks.register_tank(":elepower_dynamics:portable_tank", {
|
|
description = "Portable Tank",
|
|
capacity = 8000,
|
|
accepts = true,
|
|
tiles = {
|
|
"elepower_tank_base.png", "elepower_tank_side.png", "elepower_tank_base.png^elepower_power_port.png",
|
|
}
|
|
|
|
})
|
|
end
|