mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
Move liquids to own file
This commit is contained in:
parent
2a07192f64
commit
f9ebd08ce7
3 changed files with 281 additions and 286 deletions
|
@ -56,6 +56,7 @@ local default_path = minetest.get_modpath("default")
|
||||||
dofile(default_path.."/functions.lua")
|
dofile(default_path.."/functions.lua")
|
||||||
dofile(default_path.."/trees.lua")
|
dofile(default_path.."/trees.lua")
|
||||||
dofile(default_path.."/nodes.lua")
|
dofile(default_path.."/nodes.lua")
|
||||||
|
dofile(default_path.."/liquids.lua")
|
||||||
dofile(default_path.."/chests.lua")
|
dofile(default_path.."/chests.lua")
|
||||||
dofile(default_path.."/furnace.lua")
|
dofile(default_path.."/furnace.lua")
|
||||||
dofile(default_path.."/torch.lua")
|
dofile(default_path.."/torch.lua")
|
||||||
|
|
280
mods/default/liquids.lua
Normal file
280
mods/default/liquids.lua
Normal file
|
@ -0,0 +1,280 @@
|
||||||
|
minetest.register_node("default:water_source", {
|
||||||
|
description = S("Water Source"),
|
||||||
|
drawtype = "liquid",
|
||||||
|
waving = 3,
|
||||||
|
tiles = {
|
||||||
|
{
|
||||||
|
name = "default_water_source_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
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,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
use_texture_alpha = "blend",
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "source",
|
||||||
|
liquid_alternative_flowing = "default:water_flowing",
|
||||||
|
liquid_alternative_source = "default:water_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
|
||||||
|
groups = {water = 3, liquid = 3, cools_lava = 1},
|
||||||
|
sounds = default.node_sound_water_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("default:water_flowing", {
|
||||||
|
description = S("Flowing Water"),
|
||||||
|
drawtype = "flowingliquid",
|
||||||
|
waving = 3,
|
||||||
|
tiles = {"default_water.png"},
|
||||||
|
special_tiles = {
|
||||||
|
{
|
||||||
|
name = "default_water_flowing_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
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,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
use_texture_alpha = "blend",
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "flowingliquid",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "flowing",
|
||||||
|
liquid_alternative_flowing = "default:water_flowing",
|
||||||
|
liquid_alternative_source = "default:water_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
|
||||||
|
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1,
|
||||||
|
cools_lava = 1},
|
||||||
|
sounds = default.node_sound_water_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("default:river_water_source", {
|
||||||
|
description = S("River Water Source"),
|
||||||
|
drawtype = "liquid",
|
||||||
|
tiles = {
|
||||||
|
{
|
||||||
|
name = "default_river_water_source_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 2.0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "default_river_water_source_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 2.0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
use_texture_alpha = "blend",
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "source",
|
||||||
|
liquid_alternative_flowing = "default:river_water_flowing",
|
||||||
|
liquid_alternative_source = "default:river_water_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
-- Not renewable to avoid horizontal spread of water sources in sloping
|
||||||
|
-- rivers that can cause water to overflow riverbanks and cause floods.
|
||||||
|
-- River water source is instead made renewable by the 'force renew'
|
||||||
|
-- option used in the 'bucket' mod by the river water bucket.
|
||||||
|
liquid_renewable = false,
|
||||||
|
liquid_range = 2,
|
||||||
|
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
|
||||||
|
groups = {water = 3, liquid = 3, cools_lava = 1},
|
||||||
|
sounds = default.node_sound_water_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("default:river_water_flowing", {
|
||||||
|
description = S("Flowing River Water"),
|
||||||
|
drawtype = "flowingliquid",
|
||||||
|
tiles = {"default_river_water.png"},
|
||||||
|
special_tiles = {
|
||||||
|
{
|
||||||
|
name = "default_river_water_flowing_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 0.5,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "default_river_water_flowing_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 0.5,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
use_texture_alpha = "blend",
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "flowingliquid",
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "flowing",
|
||||||
|
liquid_alternative_flowing = "default:river_water_flowing",
|
||||||
|
liquid_alternative_source = "default:river_water_source",
|
||||||
|
liquid_viscosity = 1,
|
||||||
|
liquid_renewable = false,
|
||||||
|
liquid_range = 2,
|
||||||
|
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
|
||||||
|
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1,
|
||||||
|
cools_lava = 1},
|
||||||
|
sounds = default.node_sound_water_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("default:lava_source", {
|
||||||
|
description = S("Lava Source"),
|
||||||
|
drawtype = "liquid",
|
||||||
|
tiles = {
|
||||||
|
{
|
||||||
|
name = "default_lava_source_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 3.0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "default_lava_source_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 3.0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
light_source = default.LIGHT_MAX - 1,
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "source",
|
||||||
|
liquid_alternative_flowing = "default:lava_flowing",
|
||||||
|
liquid_alternative_source = "default:lava_source",
|
||||||
|
liquid_viscosity = 7,
|
||||||
|
liquid_renewable = false,
|
||||||
|
damage_per_second = 4 * 2,
|
||||||
|
post_effect_color = {a = 191, r = 255, g = 64, b = 0},
|
||||||
|
groups = {lava = 3, liquid = 2, igniter = 1},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("default:lava_flowing", {
|
||||||
|
description = S("Flowing Lava"),
|
||||||
|
drawtype = "flowingliquid",
|
||||||
|
tiles = {"default_lava.png"},
|
||||||
|
special_tiles = {
|
||||||
|
{
|
||||||
|
name = "default_lava_flowing_animated.png",
|
||||||
|
backface_culling = false,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 3.3,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "default_lava_flowing_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 3.3,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "flowingliquid",
|
||||||
|
light_source = default.LIGHT_MAX - 1,
|
||||||
|
walkable = false,
|
||||||
|
pointable = false,
|
||||||
|
diggable = false,
|
||||||
|
buildable_to = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
drop = "",
|
||||||
|
drowning = 1,
|
||||||
|
liquidtype = "flowing",
|
||||||
|
liquid_alternative_flowing = "default:lava_flowing",
|
||||||
|
liquid_alternative_source = "default:lava_source",
|
||||||
|
liquid_viscosity = 7,
|
||||||
|
liquid_renewable = false,
|
||||||
|
damage_per_second = 4 * 2,
|
||||||
|
post_effect_color = {a = 191, r = 255, g = 64, b = 0},
|
||||||
|
groups = {lava = 3, liquid = 2, igniter = 1,
|
||||||
|
not_in_creative_inventory = 1},
|
||||||
|
})
|
|
@ -2190,292 +2190,6 @@ minetest.register_node("default:coral_skeleton", {
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Liquids
|
|
||||||
--
|
|
||||||
|
|
||||||
minetest.register_node("default:water_source", {
|
|
||||||
description = S("Water Source"),
|
|
||||||
drawtype = "liquid",
|
|
||||||
waving = 3,
|
|
||||||
tiles = {
|
|
||||||
{
|
|
||||||
name = "default_water_source_animated.png",
|
|
||||||
backface_culling = false,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
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,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
use_texture_alpha = "blend",
|
|
||||||
paramtype = "light",
|
|
||||||
walkable = false,
|
|
||||||
pointable = false,
|
|
||||||
diggable = false,
|
|
||||||
buildable_to = true,
|
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
|
||||||
drowning = 1,
|
|
||||||
liquidtype = "source",
|
|
||||||
liquid_alternative_flowing = "default:water_flowing",
|
|
||||||
liquid_alternative_source = "default:water_source",
|
|
||||||
liquid_viscosity = 1,
|
|
||||||
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
|
|
||||||
groups = {water = 3, liquid = 3, cools_lava = 1},
|
|
||||||
sounds = default.node_sound_water_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("default:water_flowing", {
|
|
||||||
description = S("Flowing Water"),
|
|
||||||
drawtype = "flowingliquid",
|
|
||||||
waving = 3,
|
|
||||||
tiles = {"default_water.png"},
|
|
||||||
special_tiles = {
|
|
||||||
{
|
|
||||||
name = "default_water_flowing_animated.png",
|
|
||||||
backface_culling = false,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
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,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
use_texture_alpha = "blend",
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "flowingliquid",
|
|
||||||
walkable = false,
|
|
||||||
pointable = false,
|
|
||||||
diggable = false,
|
|
||||||
buildable_to = true,
|
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
|
||||||
drowning = 1,
|
|
||||||
liquidtype = "flowing",
|
|
||||||
liquid_alternative_flowing = "default:water_flowing",
|
|
||||||
liquid_alternative_source = "default:water_source",
|
|
||||||
liquid_viscosity = 1,
|
|
||||||
post_effect_color = {a = 103, r = 30, g = 60, b = 90},
|
|
||||||
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1,
|
|
||||||
cools_lava = 1},
|
|
||||||
sounds = default.node_sound_water_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_node("default:river_water_source", {
|
|
||||||
description = S("River Water Source"),
|
|
||||||
drawtype = "liquid",
|
|
||||||
tiles = {
|
|
||||||
{
|
|
||||||
name = "default_river_water_source_animated.png",
|
|
||||||
backface_culling = false,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 2.0,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name = "default_river_water_source_animated.png",
|
|
||||||
backface_culling = true,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 2.0,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
use_texture_alpha = "blend",
|
|
||||||
paramtype = "light",
|
|
||||||
walkable = false,
|
|
||||||
pointable = false,
|
|
||||||
diggable = false,
|
|
||||||
buildable_to = true,
|
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
|
||||||
drowning = 1,
|
|
||||||
liquidtype = "source",
|
|
||||||
liquid_alternative_flowing = "default:river_water_flowing",
|
|
||||||
liquid_alternative_source = "default:river_water_source",
|
|
||||||
liquid_viscosity = 1,
|
|
||||||
-- Not renewable to avoid horizontal spread of water sources in sloping
|
|
||||||
-- rivers that can cause water to overflow riverbanks and cause floods.
|
|
||||||
-- River water source is instead made renewable by the 'force renew'
|
|
||||||
-- option used in the 'bucket' mod by the river water bucket.
|
|
||||||
liquid_renewable = false,
|
|
||||||
liquid_range = 2,
|
|
||||||
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
|
|
||||||
groups = {water = 3, liquid = 3, cools_lava = 1},
|
|
||||||
sounds = default.node_sound_water_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("default:river_water_flowing", {
|
|
||||||
description = S("Flowing River Water"),
|
|
||||||
drawtype = "flowingliquid",
|
|
||||||
tiles = {"default_river_water.png"},
|
|
||||||
special_tiles = {
|
|
||||||
{
|
|
||||||
name = "default_river_water_flowing_animated.png",
|
|
||||||
backface_culling = false,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 0.5,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name = "default_river_water_flowing_animated.png",
|
|
||||||
backface_culling = true,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 0.5,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
use_texture_alpha = "blend",
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "flowingliquid",
|
|
||||||
walkable = false,
|
|
||||||
pointable = false,
|
|
||||||
diggable = false,
|
|
||||||
buildable_to = true,
|
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
|
||||||
drowning = 1,
|
|
||||||
liquidtype = "flowing",
|
|
||||||
liquid_alternative_flowing = "default:river_water_flowing",
|
|
||||||
liquid_alternative_source = "default:river_water_source",
|
|
||||||
liquid_viscosity = 1,
|
|
||||||
liquid_renewable = false,
|
|
||||||
liquid_range = 2,
|
|
||||||
post_effect_color = {a = 103, r = 30, g = 76, b = 90},
|
|
||||||
groups = {water = 3, liquid = 3, not_in_creative_inventory = 1,
|
|
||||||
cools_lava = 1},
|
|
||||||
sounds = default.node_sound_water_defaults(),
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_node("default:lava_source", {
|
|
||||||
description = S("Lava Source"),
|
|
||||||
drawtype = "liquid",
|
|
||||||
tiles = {
|
|
||||||
{
|
|
||||||
name = "default_lava_source_animated.png",
|
|
||||||
backface_culling = false,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 3.0,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name = "default_lava_source_animated.png",
|
|
||||||
backface_culling = true,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 3.0,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
paramtype = "light",
|
|
||||||
light_source = default.LIGHT_MAX - 1,
|
|
||||||
walkable = false,
|
|
||||||
pointable = false,
|
|
||||||
diggable = false,
|
|
||||||
buildable_to = true,
|
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
|
||||||
drowning = 1,
|
|
||||||
liquidtype = "source",
|
|
||||||
liquid_alternative_flowing = "default:lava_flowing",
|
|
||||||
liquid_alternative_source = "default:lava_source",
|
|
||||||
liquid_viscosity = 7,
|
|
||||||
liquid_renewable = false,
|
|
||||||
damage_per_second = 4 * 2,
|
|
||||||
post_effect_color = {a = 191, r = 255, g = 64, b = 0},
|
|
||||||
groups = {lava = 3, liquid = 2, igniter = 1},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_node("default:lava_flowing", {
|
|
||||||
description = S("Flowing Lava"),
|
|
||||||
drawtype = "flowingliquid",
|
|
||||||
tiles = {"default_lava.png"},
|
|
||||||
special_tiles = {
|
|
||||||
{
|
|
||||||
name = "default_lava_flowing_animated.png",
|
|
||||||
backface_culling = false,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 3.3,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name = "default_lava_flowing_animated.png",
|
|
||||||
backface_culling = true,
|
|
||||||
animation = {
|
|
||||||
type = "vertical_frames",
|
|
||||||
aspect_w = 16,
|
|
||||||
aspect_h = 16,
|
|
||||||
length = 3.3,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
paramtype = "light",
|
|
||||||
paramtype2 = "flowingliquid",
|
|
||||||
light_source = default.LIGHT_MAX - 1,
|
|
||||||
walkable = false,
|
|
||||||
pointable = false,
|
|
||||||
diggable = false,
|
|
||||||
buildable_to = true,
|
|
||||||
is_ground_content = false,
|
|
||||||
drop = "",
|
|
||||||
drowning = 1,
|
|
||||||
liquidtype = "flowing",
|
|
||||||
liquid_alternative_flowing = "default:lava_flowing",
|
|
||||||
liquid_alternative_source = "default:lava_source",
|
|
||||||
liquid_viscosity = 7,
|
|
||||||
liquid_renewable = false,
|
|
||||||
damage_per_second = 4 * 2,
|
|
||||||
post_effect_color = {a = 191, r = 255, g = 64, b = 0},
|
|
||||||
groups = {lava = 3, liquid = 2, igniter = 1,
|
|
||||||
not_in_creative_inventory = 1},
|
|
||||||
})
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Tools / "Advanced" crafting / Non-"natural"
|
-- Tools / "Advanced" crafting / Non-"natural"
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Reference in a new issue