forked from nalc/nalc_game
Default: Add river_water nodes
This commit is contained in:
parent
f49faadc19
commit
f8c8047a52
|
@ -104,6 +104,9 @@ Liquids
|
||||||
default:water_source
|
default:water_source
|
||||||
default:water_flowing
|
default:water_flowing
|
||||||
|
|
||||||
|
default:river_water_source
|
||||||
|
default:river_water_flowing
|
||||||
|
|
||||||
default:lava_source
|
default:lava_source
|
||||||
default:lava_flowing
|
default:lava_flowing
|
||||||
|
|
||||||
|
@ -956,6 +959,100 @@ minetest.register_node("default:water_flowing", {
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("default:river_water_source", {
|
||||||
|
description = "River Water Source",
|
||||||
|
inventory_image = minetest.inventorycube("default_water.png"),
|
||||||
|
drawtype = "liquid",
|
||||||
|
tiles = {
|
||||||
|
{
|
||||||
|
name = "default_water_source_animated.png",
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 2.0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
special_tiles = {
|
||||||
|
{
|
||||||
|
name = "default_water_source_animated.png",
|
||||||
|
animation = {
|
||||||
|
type = "vertical_frames",
|
||||||
|
aspect_w = 16,
|
||||||
|
aspect_h = 16,
|
||||||
|
length = 2.0,
|
||||||
|
},
|
||||||
|
backface_culling = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
alpha = 160,
|
||||||
|
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,
|
||||||
|
liquid_renewable = false,
|
||||||
|
liquid_range = 2,
|
||||||
|
post_effect_color = {a=64, r=100, g=100, b=200},
|
||||||
|
groups = {water=3, liquid=3, puts_out_fire=1},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("default:river_water_flowing", {
|
||||||
|
description = "Flowing River Water",
|
||||||
|
inventory_image = minetest.inventorycube("default_water.png"),
|
||||||
|
drawtype = "flowingliquid",
|
||||||
|
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.8,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "default_water_flowing_animated.png",
|
||||||
|
backface_culling = true,
|
||||||
|
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,
|
||||||
|
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=64, r=100, g=100, b=200},
|
||||||
|
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
minetest.register_node("default:lava_source", {
|
minetest.register_node("default:lava_source", {
|
||||||
description = "Lava Source",
|
description = "Lava Source",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user