Browse Source

create mod to transition from dynamic_liquid

master
poikilos 7 years ago
committed by Jacob Gustafson
parent
commit
d2d85bdf07
  1. 7
      patches/mods-stopgap/dynamic_liquid_to_default/README.txt
  2. 1
      patches/mods-stopgap/dynamic_liquid_to_default/depends.txt
  3. 8
      patches/mods-stopgap/dynamic_liquid_to_default/init.lua

7
patches/mods-stopgap/dynamic_liquid_to_default/README.txt

@ -0,0 +1,7 @@
Minetest mod: dynamic_liquid_to_default
==========================================
This Minetest mod was created to repair worlds that have materials from dynamic_liquid but where the dynamic_liquid mod was removed. The dynamic_liquid:* nodes will be converted to the most closely matching default:* nodes.
Authors of source code
----------------------
expertmm (github.com/expertmm)

1
patches/mods-stopgap/dynamic_liquid_to_default/depends.txt

@ -0,0 +1 @@
default

8
patches/mods-stopgap/dynamic_liquid_to_default/init.lua

@ -0,0 +1,8 @@
-- Copyright 2017 expertmm (GNU GPL v2.1 license)
-- minetest.register_alias(name, convert_to)
-- "This means that if the engine finds nodes with the name name in the world the node with the name convert_to is used instead. "
-- <https://dev.minetest.net/minetest.register_alias>
minetest.register_alias("dynamic_liquid:clay", "default:clay")
minetest.register_alias("dynamic_liquid:spring", "default:water_source")
Loading…
Cancel
Save