Voxelis/mods/ITEMS/vox_main/liquids.lua

794 lines
23 KiB
Lua
Raw Normal View History

2024-12-12 12:35:15 -08:00
-- -------------------------------------------------------------------------- --
-- Liquids --
-- -------------------------------------------------------------------------- --
-- Water
2024-12-12 23:59:48 -08:00
minetest.register_node("vox_main:water_source", {
description = ("Water Source"),
2024-12-12 12:35:15 -08:00
drawtype = "liquid",
2024-12-12 23:59:48 -08:00
waving = 3,
2024-12-12 12:35:15 -08:00
tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_water_source_animated.png",
backface_culling = false,
2024-12-12 12:35:15 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
2024-12-12 23:59:48 -08:00
length = 2.0,
},
},
{
name = "default_water_source_animated.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
2024-12-12 12:35:15 -08:00
},
2024-12-12 23:59:48 -08:00
use_texture_alpha = "blend",
2024-12-12 12:35:15 -08:00
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
is_ground_content = false,
drop = "",
drowning = 1,
2024-12-12 12:35:15 -08:00
liquidtype = "source",
liquid_alternative_flowing = "vox_main:water_flowing",
liquid_alternative_source = "vox_main:water_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
groups = {water = 3, liquid = 3, cools_lava = 1},
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Flowing Water
minetest.register_node("vox_main:water_flowing", {
description = ("Flowing Water"),
2024-12-12 12:35:15 -08:00
drawtype = "flowingliquid",
2024-12-12 23:59:48 -08:00
waving = 3,
tiles = {"default_water.png"},
2024-12-12 12:35:15 -08:00
special_tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_water_flowing_animated.png",
2024-12-12 12:35:15 -08:00
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
2024-12-12 23:59:48 -08:00
length = 0.5,
},
},
{
name = "default_water_flowing_animated.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.5,
},
},
2024-12-12 12:35:15 -08:00
},
2024-12-12 23:59:48 -08:00
use_texture_alpha = "blend",
2024-12-12 12:35:15 -08:00
paramtype = "light",
2024-12-12 23:59:48 -08:00
paramtype2 = "flowingliquid",
2024-12-12 12:35:15 -08:00
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
is_ground_content = false,
drop = "",
drowning = 1,
2024-12-12 12:35:15 -08:00
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:water_flowing",
liquid_alternative_source = "vox_main:water_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1, cools_lava = 1},
2024-12-12 12:35:15 -08:00
})
-- River Water
core.register_node("vox_main:river_water_source", {
description = "River Water Source",
drawtype = "liquid",
tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_river_water_source_animated.png",
2024-12-12 12:35:15 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
2024-12-12 23:59:48 -08:00
special_tiles = {
{
name = "default_river_water_source_animated.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
drowning = 1,
2024-12-12 12:35:15 -08:00
liquidtype = "source",
liquid_alternative_flowing = "vox_main:river_water_flowing",
liquid_alternative_source = "vox_main:river_water_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
groups = {water = 3, liquid = 3, puts_out_fire = 1}
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Flowing River Water
2024-12-12 12:35:15 -08:00
core.register_node("vox_main:river_water_flowing", {
description = "Flowing River Water",
drawtype = "flowingliquid",
2024-12-12 23:59:48 -08:00
tiles = {"default_river_water_flowing_animated.png"},
2024-12-12 12:35:15 -08:00
special_tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_river_water_flowing_animated.png",
2024-12-12 12:35:15 -08:00
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
2024-12-12 23:59:48 -08:00
paramtype2 = "flowingliquid",
2024-12-12 12:35:15 -08:00
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
drowning = 1,
2024-12-12 12:35:15 -08:00
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:river_water_flowing",
liquid_alternative_source = "vox_main:river_water_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
groups = {water = 3, liquid = 3, puts_out_fire = 1}
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Lava
core.register_node("vox_main:lava_source", {
description = "Lava Source",
2024-12-12 12:35:15 -08:00
drawtype = "liquid",
tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_lava_source_animated.png",
2024-12-12 12:35:15 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
2024-12-12 23:59:48 -08:00
special_tiles = {
{
name = "default_lava_source_animated.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "source",
2024-12-12 23:59:48 -08:00
liquid_alternative_flowing = "vox_main:lava_flowing",
liquid_alternative_source = "vox_main:lava_source",
liquid_viscosity = 7,
post_effect_color = {a = 240, r = 255, g = 64, b = 0},
groups = {lava = 3, liquid = 3, hot = 3, igniter = 1}
})
-- Flowing Lava
core.register_node("vox_main:lava_flowing", {
description = "Flowing Lava",
drawtype = "flowingliquid",
tiles = {"default_lava_flowing_animated.png"},
special_tiles = {
{
name = "default_lava_flowing_animated.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:lava_flowing",
liquid_alternative_source = "vox_main:lava_source",
liquid_viscosity = 7,
post_effect_color = {a = 240, r = 255, g = 64, b = 0},
groups = {lava = 3, liquid = 3, hot = 3, igniter = 1}
})
-- Oil
core.register_node("vox_main:oil_source", {
description = "Oil Source",
drawtype = "liquid",
tiles = {
{
name = "default_water_source_animated.png^[colorize:black:200",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
special_tiles = {
{
name = "default_water_source_animated.png^[colorize:black:200",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "source",
liquid_alternative_flowing = "vox_main:oil_flowing",
liquid_alternative_source = "vox_main:oil_source",
2024-12-12 12:35:15 -08:00
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 240, r = 0, g = 0, b = 0},
groups = {oil = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Flowing Oil
core.register_node("vox_main:oil_flowing", {
description = "Flowing Oil",
2024-12-12 12:35:15 -08:00
drawtype = "flowingliquid",
2024-12-12 23:59:48 -08:00
tiles = {"default_water_flowing_animated.png^[colorize:black:200"},
2024-12-12 12:35:15 -08:00
special_tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_water_flowing_animated.png^[colorize:black:200",
2024-12-12 12:35:15 -08:00
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
2024-12-12 23:59:48 -08:00
paramtype2 = "flowingliquid",
2024-12-12 12:35:15 -08:00
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "flowing",
2024-12-12 23:59:48 -08:00
liquid_alternative_flowing = "vox_main:oil_flowing",
liquid_alternative_source = "vox_main:oil_source",
2024-12-12 12:35:15 -08:00
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 240, r = 0, g = 0, b = 0},
groups = {oil = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Acid
core.register_node("vox_main:acid_source", {
description = "Acid Source",
2024-12-12 12:35:15 -08:00
drawtype = "liquid",
tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_water_source_animated.png^[colorize:green:200",
2024-12-12 12:35:15 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
2024-12-12 23:59:48 -08:00
special_tiles = {
{
name = "default_water_source_animated.png^[colorize:green:200",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "source",
2024-12-12 23:59:48 -08:00
liquid_alternative_flowing = "vox_main:acid_flowing",
liquid_alternative_source = "vox_main:acid_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {acid = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Flowing Acid
core.register_node("vox_main:acid_flowing", {
description = "Flowing Acid",
drawtype = "flowingliquid",
tiles = {"default_water_flowing_animated.png^[colorize:green:200"},
special_tiles = {
{
name = "default_water_flowing_animated.png^[colorize:green:200",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:acid_flowing",
liquid_alternative_source = "vox_main:acid_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {acid = 3, liquid = 3, igniter = 1}
})
-- Slime
core.register_node("vox_main:slime_source", {
description = "Slime Source",
drawtype = "liquid",
tiles = {
{
name = "default_water_source_animated.png^[colorize:lime:200",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
special_tiles = {
{
name = "default_water_source_animated.png^[colorize:lime:200",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "source",
liquid_alternative_flowing = "vox_main:slime_flowing",
liquid_alternative_source = "vox_main:slime_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {slime = 3, liquid = 3, igniter = 1}
})
-- Flowing Slime
core.register_node("vox_main:slime_flowing", {
description = "Flowing Slime",
2024-12-12 12:35:15 -08:00
drawtype = "flowingliquid",
2024-12-12 23:59:48 -08:00
tiles = {"default_water_flowing_animated.png^[colorize:lime:200"},
2024-12-12 12:35:15 -08:00
special_tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_water_flowing_animated.png^[colorize:lime:200",
2024-12-12 12:35:15 -08:00
backface_culling = false,
2024-12-12 23:59:48 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:slime_flowing",
liquid_alternative_source = "vox_main:slime_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {slime = 3, liquid = 3, igniter = 1}
})
-- Sewage
core.register_node("vox_main:sewage_source", {
description = "Sewage Source",
drawtype = "liquid",
tiles = {
{
name = "default_water_source_animated.png^[colorize:brown:200",
2024-12-12 12:35:15 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
2024-12-12 23:59:48 -08:00
special_tiles = {
{
name = "default_water_source_animated.png^[colorize:brown:200",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "source",
liquid_alternative_flowing = "vox_main:sewage_flowing",
liquid_alternative_source = "vox_main:sewage_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {sewage = 3, liquid = 3, igniter = 1}
})
-- Flowing Sewage
core.register_node("vox_main:sewage_flowing", {
description = "Flowing Sewage",
drawtype = "flowingliquid",
tiles = {"default_water_flowing_animated.png^[colorize:#4B5320:150"},
special_tiles = {
{
name = "default_water_flowing_animated.png^[colorize:#4B5320:150",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
2024-12-12 23:59:48 -08:00
paramtype2 = "flowingliquid",
2024-12-12 12:35:15 -08:00
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "flowing",
2024-12-12 23:59:48 -08:00
liquid_alternative_flowing = "vox_main:sewage_flowing",
liquid_alternative_source = "vox_main:sewage_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {sewage = 3, liquid = 3, igniter = 1}
})
-- Tar
core.register_node("vox_main:tar_source", {
description = "Tar Source",
drawtype = "liquid",
tiles = {"default_water_source_animated.png^[colorize:#2F4F4F:200"},
special_tiles = {
{
name = "default_water_source_animated.png^[colorize:#2F4F4F:200",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "source",
liquid_alternative_flowing = "vox_main:tar_flowing",
liquid_alternative_source = "vox_main:tar_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 0, b = 0},
groups = {tar = 3, liquid = 3, igniter = 1}
})
-- Flowing Tar
core.register_node("vox_main:tar_flowing", {
description = "Flowing Tar",
drawtype = "flowingliquid",
tiles = {"default_water_flowing_animated.png^[colorize:#2F4F4F:200"},
special_tiles = {
{
name = "default_water_flowing_animated.png^[colorize:#2F4F4F:200",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:tar_flowing",
liquid_alternative_source = "vox_main:tar_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 0, b = 0},
groups = {tar = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})
-- Oil
core.register_node("vox_main:oil_source", {
description = "Oil Source",
drawtype = "liquid",
2024-12-12 23:59:48 -08:00
tiles = {"default_water_source_animated.png^[colorize:#000000:200"},
special_tiles = {
2024-12-12 12:35:15 -08:00
{
2024-12-12 23:59:48 -08:00
name = "default_water_source_animated.png^[colorize:#000000:200",
2024-12-12 12:35:15 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
2024-12-12 23:59:48 -08:00
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "source",
liquid_alternative_flowing = "vox_main:oil_flowing",
liquid_alternative_source = "vox_main:oil_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 240, r = 0, g = 0, b = 0},
groups = {oil = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Flowing Oil
2024-12-12 12:35:15 -08:00
core.register_node("vox_main:oil_flowing", {
description = "Flowing Oil",
drawtype = "flowingliquid",
2024-12-12 23:59:48 -08:00
tiles = {"default_water_flowing_animated.png^[colorize:#000000:200"},
2024-12-12 12:35:15 -08:00
special_tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_water_flowing_animated.png^[colorize:#000000:200",
2024-12-12 12:35:15 -08:00
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
2024-12-12 23:59:48 -08:00
length = 0.8
2024-12-12 12:35:15 -08:00
}
}
},
2024-12-12 23:59:48 -08:00
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
2024-12-12 23:59:48 -08:00
paramtype2 = "flowingliquid",
2024-12-12 12:35:15 -08:00
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:oil_flowing",
liquid_alternative_source = "vox_main:oil_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 240, r = 0, g = 0, b = 0},
groups = {oil = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})
-- Acid
core.register_node("vox_main:acid_source", {
description = "Acid Source",
drawtype = "liquid",
2024-12-12 23:59:48 -08:00
tiles = {"default_water_source_animated.png^[colorize:#00FF00:150"},
special_tiles = {
2024-12-12 12:35:15 -08:00
{
2024-12-12 23:59:48 -08:00
name = "default_water_source_animated.png^[colorize:#00FF00:150",
2024-12-12 12:35:15 -08:00
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
2024-12-12 23:59:48 -08:00
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "source",
liquid_alternative_flowing = "vox_main:acid_flowing",
liquid_alternative_source = "vox_main:acid_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {acid = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})
2024-12-12 23:59:48 -08:00
-- Flowing Acid
2024-12-12 12:35:15 -08:00
core.register_node("vox_main:acid_flowing", {
description = "Flowing Acid",
drawtype = "flowingliquid",
2024-12-12 23:59:48 -08:00
tiles = {"default_water_flowing_animated.png^[colorize:#00FF00:150"},
2024-12-12 12:35:15 -08:00
special_tiles = {
{
2024-12-12 23:59:48 -08:00
name = "default_water_flowing_animated.png^[colorize:#00FF00:150",
2024-12-12 12:35:15 -08:00
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
2024-12-12 23:59:48 -08:00
length = 0.8
2024-12-12 12:35:15 -08:00
}
}
},
2024-12-12 23:59:48 -08:00
alpha = 160,
2024-12-12 12:35:15 -08:00
paramtype = "light",
2024-12-12 23:59:48 -08:00
paramtype2 = "flowingliquid",
2024-12-12 12:35:15 -08:00
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
2024-12-12 23:59:48 -08:00
drop = "",
2024-12-12 12:35:15 -08:00
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:acid_flowing",
liquid_alternative_source = "vox_main:acid_source",
liquid_viscosity = 1,
2024-12-12 23:59:48 -08:00
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {acid = 3, liquid = 3, igniter = 1}
})
-- Slime
core.register_node("vox_main:slime_source", {
description = "Slime Source",
drawtype = "liquid",
tiles = {"default_water_source_animated.png^[colorize:#00FF00:100"},
special_tiles = {
{
name = "default_water_source_animated.png^[colorize:#00FF00:100",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0
}
}
},
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "source",
liquid_alternative_flowing = "vox_main:slime_flowing",
liquid_alternative_source = "vox_main:slime_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {slime = 3, liquid = 3, igniter = 1}
})
-- Flowing Slime
core.register_node("vox_main:slime_flowing", {
description = "Flowing Slime",
drawtype = "flowingliquid",
tiles = {"default_water_flowing_animated.png^[colorize:#00FF00:100"},
special_tiles = {
{
name = "default_water_flowing_animated.png^[colorize:#00FF00:100",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8
}
}
},
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
drop = "",
liquidtype = "flowing",
liquid_alternative_flowing = "vox_main:slime_flowing",
liquid_alternative_source = "vox_main:slime_source",
liquid_viscosity = 1,
post_effect_color = {a = 240, r = 0, g = 255, b = 0},
groups = {slime = 3, liquid = 3, igniter = 1}
2024-12-12 12:35:15 -08:00
})