Created
October 3, 2012 11:15
-
-
Save PilzAdam/3826440 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minetest.register_node("default:water_source", { | |
description = "Water Source", | |
inventory_image = minetest.inventorycube("default_water.png"), | |
drawtype = "liquid", | |
tiles = { | |
{name="default_water_source_animated.png", animation={type="vertical_frames", aspect_w=128, aspect_h=128, length=2.0}} | |
}, | |
special_tiles = { | |
-- New-style water source material (mostly unused) | |
{name="default_water.png", backface_culling=false}, | |
}, | |
alpha = WATER_ALPHA, | |
paramtype = "light", | |
walkable = false, | |
pointable = false, | |
diggable = false, | |
buildable_to = true, | |
liquidtype = "source", | |
liquid_alternative_flowing = "default:water_flowing", | |
liquid_alternative_source = "default:water_source", | |
liquid_viscosity = WATER_VISC, | |
--post_effect_color = {a=64, r=100, g=100, b=200}, | |
post_effect_color = {a=240, r=10, g=10, b=30}, | |
groups = {water=3, liquid=3, puts_out_fire=1}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment