summaryrefslogtreecommitdiff
path: root/src/content_mapnode.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-25 17:00:50 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:51 +0200
commite5650bb54917ead2dccac9b46dfa1a00cd737694 (patch)
treec1cfda62fa6df17069f368f3b07fad11eb3d3a04 /src/content_mapnode.cpp
parent18bb0ea1ead82406bcfb89ea14908a4d0063209e (diff)
downloadminetest-e5650bb54917ead2dccac9b46dfa1a00cd737694.tar.gz
minetest-e5650bb54917ead2dccac9b46dfa1a00cd737694.tar.bz2
minetest-e5650bb54917ead2dccac9b46dfa1a00cd737694.zip
Make liquid_alternative_* to be strings
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r--src/content_mapnode.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp
index eda252dc1..878d66654 100644
--- a/src/content_mapnode.cpp
+++ b/src/content_mapnode.cpp
@@ -682,8 +682,8 @@ void content_mapnode_init(IWritableNodeDefManager *nodemgr)
f.diggable = false;
f.buildable_to = true;
f.liquid_type = LIQUID_FLOWING;
- f.liquid_alternative_flowing = CONTENT_WATER;
- f.liquid_alternative_source = CONTENT_WATERSOURCE;
+ f.liquid_alternative_flowing = "water_flowing";
+ f.liquid_alternative_source = "water_source";
f.liquid_viscosity = WATER_VISC;
f.post_effect_color = video::SColor(64, 100, 100, 200);
f.setSpecialMaterial(0, MaterialSpec("water.png", false));
@@ -705,8 +705,8 @@ void content_mapnode_init(IWritableNodeDefManager *nodemgr)
f.buildable_to = true;
f.liquid_type = LIQUID_SOURCE;
f.dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
- f.liquid_alternative_flowing = CONTENT_WATER;
- f.liquid_alternative_source = CONTENT_WATERSOURCE;
+ f.liquid_alternative_flowing = "water_flowing";
+ f.liquid_alternative_source = "water_source";
f.liquid_viscosity = WATER_VISC;
f.post_effect_color = video::SColor(64, 100, 100, 200);
// New-style water source material (mostly unused)
@@ -727,8 +727,8 @@ void content_mapnode_init(IWritableNodeDefManager *nodemgr)
f.diggable = false;
f.buildable_to = true;
f.liquid_type = LIQUID_FLOWING;
- f.liquid_alternative_flowing = CONTENT_LAVA;
- f.liquid_alternative_source = CONTENT_LAVASOURCE;
+ f.liquid_alternative_flowing = "lava_flowing";
+ f.liquid_alternative_source = "lava_source";
f.liquid_viscosity = LAVA_VISC;
f.damage_per_second = 4*2;
f.post_effect_color = video::SColor(192, 255, 64, 0);
@@ -751,8 +751,8 @@ void content_mapnode_init(IWritableNodeDefManager *nodemgr)
f.buildable_to = true;
f.liquid_type = LIQUID_SOURCE;
f.dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
- f.liquid_alternative_flowing = CONTENT_LAVA;
- f.liquid_alternative_source = CONTENT_LAVASOURCE;
+ f.liquid_alternative_flowing = "lava_flowing";
+ f.liquid_alternative_source = "lava_source";
f.liquid_viscosity = LAVA_VISC;
f.damage_per_second = 4*2;
f.post_effect_color = video::SColor(192, 255, 64, 0);