@@ -104,6 +104,9 @@ Liquids
104
104
default:water_source
105
105
default:water_flowing
106
106
107
+ default:river_water_source
108
+ default:river_water_flowing
109
+
107
110
default:lava_source
108
111
default:lava_flowing
109
112
@@ -956,6 +959,100 @@ minetest.register_node("default:water_flowing", {
956
959
})
957
960
958
961
962
+ minetest .register_node (" default:river_water_source" , {
963
+ description = " River Water Source" ,
964
+ inventory_image = minetest .inventorycube (" default_water.png" ),
965
+ drawtype = " liquid" ,
966
+ tiles = {
967
+ {
968
+ name = " default_water_source_animated.png" ,
969
+ animation = {
970
+ type = " vertical_frames" ,
971
+ aspect_w = 16 ,
972
+ aspect_h = 16 ,
973
+ length = 2.0 ,
974
+ },
975
+ },
976
+ },
977
+ special_tiles = {
978
+ {
979
+ name = " default_water_source_animated.png" ,
980
+ animation = {
981
+ type = " vertical_frames" ,
982
+ aspect_w = 16 ,
983
+ aspect_h = 16 ,
984
+ length = 2.0 ,
985
+ },
986
+ backface_culling = false ,
987
+ },
988
+ },
989
+ alpha = 160 ,
990
+ paramtype = " light" ,
991
+ walkable = false ,
992
+ pointable = false ,
993
+ diggable = false ,
994
+ buildable_to = true ,
995
+ is_ground_content = false ,
996
+ drop = " " ,
997
+ drowning = 1 ,
998
+ liquidtype = " source" ,
999
+ liquid_alternative_flowing = " default:river_water_flowing" ,
1000
+ liquid_alternative_source = " default:river_water_source" ,
1001
+ liquid_viscosity = 1 ,
1002
+ liquid_renewable = false ,
1003
+ liquid_range = 2 ,
1004
+ post_effect_color = {a = 64 , r = 100 , g = 100 , b = 200 },
1005
+ groups = {water = 3 , liquid = 3 , puts_out_fire = 1 },
1006
+ })
1007
+
1008
+ minetest .register_node (" default:river_water_flowing" , {
1009
+ description = " Flowing River Water" ,
1010
+ inventory_image = minetest .inventorycube (" default_water.png" ),
1011
+ drawtype = " flowingliquid" ,
1012
+ tiles = {" default_water.png" },
1013
+ special_tiles = {
1014
+ {
1015
+ name = " default_water_flowing_animated.png" ,
1016
+ backface_culling = false ,
1017
+ animation = {
1018
+ type = " vertical_frames" ,
1019
+ aspect_w = 16 ,
1020
+ aspect_h = 16 ,
1021
+ length = 0.8 ,
1022
+ },
1023
+ },
1024
+ {
1025
+ name = " default_water_flowing_animated.png" ,
1026
+ backface_culling = true ,
1027
+ animation = {
1028
+ type = " vertical_frames" ,
1029
+ aspect_w = 16 ,
1030
+ aspect_h = 16 ,
1031
+ length = 0.8 ,
1032
+ },
1033
+ },
1034
+ },
1035
+ alpha = 160 ,
1036
+ paramtype = " light" ,
1037
+ paramtype2 = " flowingliquid" ,
1038
+ walkable = false ,
1039
+ pointable = false ,
1040
+ diggable = false ,
1041
+ buildable_to = true ,
1042
+ is_ground_content = false ,
1043
+ drop = " " ,
1044
+ drowning = 1 ,
1045
+ liquidtype = " flowing" ,
1046
+ liquid_alternative_flowing = " default:river_water_flowing" ,
1047
+ liquid_alternative_source = " default:river_water_source" ,
1048
+ liquid_viscosity = 1 ,
1049
+ liquid_renewable = false ,
1050
+ liquid_range = 2 ,
1051
+ post_effect_color = {a = 64 , r = 100 , g = 100 , b = 200 },
1052
+ groups = {water = 3 , liquid = 3 , puts_out_fire = 1 , not_in_creative_inventory = 1 },
1053
+ })
1054
+
1055
+
959
1056
960
1057
minetest .register_node (" default:lava_source" , {
961
1058
description = " Lava Source" ,
1 commit comments
HybridDog commentedon Apr 20, 2015
river_water seems to be almost equal to water.
You could use the water node definition, e.g.