summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@arch.localdomain>2012-03-25 00:06:59 +0100
committerroot <root@arch.localdomain>2012-03-25 00:06:59 +0100
commit81d9f6a68aed4ca78aa5d2333b8856ca5fce4678 (patch)
tree933c3c1becfbea5aacd8f9ec020203be0c9aacc2
parentb051609405b90f547acf12ab476264482c33595d (diff)
downloadmesecons-81d9f6a68aed4ca78aa5d2333b8856ca5fce4678.tar
mesecons-81d9f6a68aed4ca78aa5d2333b8856ca5fce4678.tar.gz
mesecons-81d9f6a68aed4ca78aa5d2333b8856ca5fce4678.tar.bz2
mesecons-81d9f6a68aed4ca78aa5d2333b8856ca5fce4678.tar.xz
mesecons-81d9f6a68aed4ca78aa5d2333b8856ca5fce4678.zip
Add alias for powerplant (version compatibility + simplify give command)
-rw-r--r--mesecons_alias/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesecons_alias/init.lua b/mesecons_alias/init.lua
index d68c982..33dd193 100644
--- a/mesecons_alias/init.lua
+++ b/mesecons_alias/init.lua
@@ -1,5 +1,6 @@
-- This file registers aliases for the /give /giveme commands.
+minetest.register_alias("jeija:power_plant", "mesecons_powerplant:power_plant")
minetest.register_alias("jeija:meselamp_off", "mesecons_lamp:lamp_off")
minetest.register_alias("jeija:meselamp_on", "mesecons_lamp:lamp_on")
minetest.register_alias("jeija:mesecon_off", "mesecons:mesecon_off")
@@ -35,6 +36,8 @@ minetest.register_alias("jeija:mesecon_socket_off", "mesecons_temperest:mesecon_
minetest.register_alias("jeija:mesecon_inverter_on", "mesecons_temperest:mesecon_inverter_on")
minetest.register_alias("jeija:mesecon_inverter_off", "mesecons_temperest:mesecon_inverter_off")
+minetest.register_alias("mesecons:power_plant", "mesecons_powerplant:power_plant")
+minetest.register_alias("mesecons:powerplant", "mesecons_powerplant:power_plant")
minetest.register_alias("mesecons:meselamp", "mesecons_lamp:lamp_off")
minetest.register_alias("mesecons:mesecon", "mesecons:mesecon_off")
minetest.register_alias("mesecons:object_detector", "mesecons_detector:object_detector_off")