diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-01-01 18:04:45 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-01-01 18:04:45 +0100 |
commit | 394c2f6ea6fa5ce83eb8962a29424793d7d8cdf9 (patch) | |
tree | db4a1cb1e13205d4a0f12c78afc2df69ee1ecd9f | |
parent | 4895aa6a0c9c3d5ca134166e4d85e264cab3e619 (diff) | |
download | pipeworks-394c2f6ea6fa5ce83eb8962a29424793d7d8cdf9.tar pipeworks-394c2f6ea6fa5ce83eb8962a29424793d7d8cdf9.tar.gz pipeworks-394c2f6ea6fa5ce83eb8962a29424793d7d8cdf9.tar.bz2 pipeworks-394c2f6ea6fa5ce83eb8962a29424793d7d8cdf9.tar.xz pipeworks-394c2f6ea6fa5ce83eb8962a29424793d7d8cdf9.zip |
Fix conversion
-rw-r--r-- | pipes.lua | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,7 @@ -- This file supplies the steel pipes +local REGISTER_COMPATIBILITY = true + local pipes_empty_nodenames = {} local pipes_full_nodenames = {} @@ -120,8 +122,8 @@ end if REGISTER_COMPATIBILITY then - local cempty = "pipeworks:tube_compatibility_empty" - local cloaded = "pipeworks:tube_compatibility_loaded" + local cempty = "pipeworks:pipe_compatibility_empty" + local cloaded = "pipeworks:pipe_compatibility_loaded" minetest.register_node(cempty, { drawtype = "airlike", groups = {not_in_creative_inventory = 1, pipe_to_update = 1}, @@ -137,8 +139,8 @@ if REGISTER_COMPATIBILITY then for zm = 0, 1 do for zp = 0, 1 do local pname = xm..xp..ym..yp..zm..zp - minetest.register_alias("pipeworks_"..pname.."_empty", cempty) - minetest.register_alias("pipeworks_"..pname.."_loaded", cloaded) + minetest.register_alias("pipeworks:pipe_"..pname.."_empty", cempty) + minetest.register_alias("pipeworks:pipe_"..pname.."_loaded", cloaded) end end end |