summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2012-01-30 13:10:03 -0500
committerAnthony Zhang <azhang9@gmail.com>2012-01-30 13:10:03 -0500
commitdbd9b4e6b75bd996ae8529516861407bb942bfe4 (patch)
tree27bacc4124c93d0aa61cea4491e881e800112ce9
parent1289cefee05bcac5121563a948dd9d7e9f0c4d77 (diff)
downloadmesecons-dbd9b4e6b75bd996ae8529516861407bb942bfe4.tar
mesecons-dbd9b4e6b75bd996ae8529516861407bb942bfe4.tar.gz
mesecons-dbd9b4e6b75bd996ae8529516861407bb942bfe4.tar.bz2
mesecons-dbd9b4e6b75bd996ae8529516861407bb942bfe4.tar.xz
mesecons-dbd9b4e6b75bd996ae8529516861407bb942bfe4.zip
Add aliases for plugs, sockets, inverters, and buttons.
-rw-r--r--jeija/alias.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/jeija/alias.lua b/jeija/alias.lua
index 90ed87b..079bb8d 100644
--- a/jeija/alias.lua
+++ b/jeija/alias.lua
@@ -7,9 +7,15 @@ minetest.register_alias("jeija:wireless_inverter", "jeija:wireless_inverter_on")
minetest.register_alias("jeija:wireless_receiver", "jeija:wireless_receiver_off")
minetest.register_alias("jeija:wireless_transmitter", "jeija:wireless_transmitter_off")
minetest.register_alias("jeija:switch", "jeija:mesecon_switch_off")
+minetest.register_alias("jeija:wall_button", "jeija:wall_button_off")
minetest.register_alias("jeija:piston", "jeija:piston_normal")
minetest.register_alias("jeija:blinky_plant", "jeija:blinky_plant_off")
minetest.register_alias("jeija:mesecon_torch", "jeija:mesecon_torch_on")
minetest.register_alias("jeija:hydro_turbine", "jeija:hydro_turbine_off")
minetest.register_alias("jeija:pressure_plate_stone", "jeija:pressure_plate_stone_off")
minetest.register_alias("jeija:pressure_plate_wood", "jeija:pressure_plate_wood_off")
+
+if ENABLE_TEMPEREST==1 then
+ minetest.register_alias("jeija:mesecon_socket", "jeija:mesecon_socket_off")
+ minetest.register_alias("jeija:mesecon_inverter", "jeija:mesecon_inverter_off")
+end \ No newline at end of file