summaryrefslogtreecommitdiff
path: root/mesecons/mesecons_alias
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 20:02:19 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 21:09:33 -0400
commitda66780a569712c23ae4f2996cfb4608a9f9d69d (patch)
tree217556029a78bc23ad4564720afc86de97228a04 /mesecons/mesecons_alias
parent615b22df4d423aded3613db7716943a2f389b047 (diff)
downloaddreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.gz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.bz2
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.xz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.zip
copy all standard Dreambuilder mods in from the old subgame
(exactly as last supplied there, updates to these mods will follow later)
Diffstat (limited to 'mesecons/mesecons_alias')
-rw-r--r--mesecons/mesecons_alias/depends.txt1
-rw-r--r--mesecons/mesecons_alias/init.lua38
2 files changed, 39 insertions, 0 deletions
diff --git a/mesecons/mesecons_alias/depends.txt b/mesecons/mesecons_alias/depends.txt
new file mode 100644
index 0000000..acaa924
--- /dev/null
+++ b/mesecons/mesecons_alias/depends.txt
@@ -0,0 +1 @@
+mesecons
diff --git a/mesecons/mesecons_alias/init.lua b/mesecons/mesecons_alias/init.lua
new file mode 100644
index 0000000..395c368
--- /dev/null
+++ b/mesecons/mesecons_alias/init.lua
@@ -0,0 +1,38 @@
+-- This file registers aliases for the /give /giveme commands.
+
+minetest.register_alias("mesecons:removestone", "mesecons_random:removestone")
+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:wire_00000000_off")
+minetest.register_alias("mesecons:object_detector", "mesecons_detector:object_detector_off")
+minetest.register_alias("mesecons:wireless_inverter", "mesecons_wireless:wireless_inverter_on")
+minetest.register_alias("mesecons:wireless_receiver", "mesecons_wireless:wireless_receiver_off")
+minetest.register_alias("mesecons:wireless_transmitter", "mesecons_wireless:wireless_transmitter_off")
+minetest.register_alias("mesecons:switch", "mesecons_switch:mesecon_switch_off")
+minetest.register_alias("mesecons:button", "mesecons_button:button_off")
+minetest.register_alias("mesecons:piston", "mesecons_pistons:piston_normal_off")
+minetest.register_alias("mesecons:blinky_plant", "mesecons_blinkyplant:blinky_plant_off")
+minetest.register_alias("mesecons:mesecon_torch", "mesecons_torch:mesecon_torch_on")
+minetest.register_alias("mesecons:torch", "mesecons_torch:mesecon_torch_on")
+minetest.register_alias("mesecons:hydro_turbine", "mesecons_hydroturbine:hydro_turbine_off")
+minetest.register_alias("mesecons:pressure_plate_stone", "mesecons_pressureplates:pressure_plate_stone_off")
+minetest.register_alias("mesecons:pressure_plate_wood", "mesecons_pressureplates:pressure_plate_wood_off")
+minetest.register_alias("mesecons:mesecon_socket", "mesecons_temperest:mesecon_socket_off")
+minetest.register_alias("mesecons:mesecon_inverter", "mesecons_temperest:mesecon_inverter_on")
+minetest.register_alias("mesecons:movestone", "mesecons_movestones:movestone")
+minetest.register_alias("mesecons:sticky_movestone", "mesecons_movestones:sticky_movestone")
+minetest.register_alias("mesecons:noteblock", "mesecons_noteblock:noteblock")
+minetest.register_alias("mesecons:microcontroller", "mesecons_microcontroller:microcontroller0000")
+minetest.register_alias("mesecons:delayer", "mesecons_delayer:delayer_off_1")
+minetest.register_alias("mesecons:solarpanel", "mesecons_solarpanel:solar_panel_off")
+
+
+--Backwards compatibility
+minetest.register_alias("mesecons:mesecon_off", "mesecons:wire_00000000_off")
+minetest.register_alias("mesecons_pistons:piston_sticky", "mesecons_pistons:piston_sticky_on")
+minetest.register_alias("mesecons_pistons:piston_normal", "mesecons_pistons:piston_normal_on")
+minetest.register_alias("mesecons_pistons:piston_up_normal", "mesecons_pistons:piston_up_normal_on")
+minetest.register_alias("mesecons_pistons:piston_down_normal", "mesecons_pistons:piston_down_normal_on")
+minetest.register_alias("mesecons_pistons:piston_up_sticky", "mesecons_pistons:piston_up_sticky_on")
+minetest.register_alias("mesecons_pistons:piston_down_sticky", "mesecons_pistons:piston_down_sticky_on")