mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-11-13 05:40:28 +01:00
Retrocompatibility issue fixed
This commit is contained in:
parent
b1345bd302
commit
cdc7b6dd95
|
@ -6,6 +6,10 @@ Minetest mod that adds scifi themed blocks, doors, materials, plants and other a
|
|||
|
||||
# Changes log
|
||||
|
||||
* 14/08/2019 : retrocompatibility fixed (aliases in doors.lua)
|
||||
* 13/08/2019 :
|
||||
* added mod option doors_open_with_mesecon_only (default = false)
|
||||
* fixed a bug preventing the option from working
|
||||
* 05/09/2019 : door opening on rightclick is disabled (maybe reactivated via a mod option)
|
||||
* 05/08/2019 :
|
||||
* digicodes now work
|
||||
|
|
32
doors.lua
32
doors.lua
|
@ -19,25 +19,25 @@ local scifi_nodes = {}
|
|||
scifi_nodes.doors_open_with_mesecon_only = minetest.settings:get_bool("scifi_nodes.doors_open_with_mesecon_only", false)
|
||||
|
||||
-- Some aliases to deal with old namming policy --
|
||||
minetest.register_alias("scifi_nodes:doors_1a","scifi_nodes:Doom_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors_1b","scifi_nodes:Doom_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors_1c","scifi_nodes:Doom_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors_1d","scifi_nodes:Doom_door_opened_top")
|
||||
minetest.register_alias("scifi_nodes:doors1a","scifi_nodes:Doom_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors1b","scifi_nodes:Doom_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors1c","scifi_nodes:Doom_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors1d","scifi_nodes:Doom_door_opened_top")
|
||||
|
||||
minetest.register_alias("scifi_nodes:doors_2a","scifi_nodes:black_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors_2b","scifi_nodes:black_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors_2c","scifi_nodes:black_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors_2d","scifi_nodes:black_door_opened_top")
|
||||
minetest.register_alias("scifi_nodes:doors2a","scifi_nodes:black_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors2b","scifi_nodes:black_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors2c","scifi_nodes:black_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors2d","scifi_nodes:black_door_opened_top")
|
||||
|
||||
minetest.register_alias("scifi_nodes:doors_3a","scifi_nodes:white_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors_3b","scifi_nodes:white_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors_3c","scifi_nodes:white_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors_3d","scifi_nodes:white_door_opened_top")
|
||||
minetest.register_alias("scifi_nodes:doors3a","scifi_nodes:white_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors3b","scifi_nodes:white_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors3c","scifi_nodes:white_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors3d","scifi_nodes:white_door_opened_top")
|
||||
|
||||
minetest.register_alias("scifi_nodes:doors_4a","scifi_nodes:green_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors_4b","scifi_nodes:green_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors_4c","scifi_nodes:green_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors_4d","scifi_nodes:green_door_opened_top")
|
||||
minetest.register_alias("scifi_nodes:doors4a","scifi_nodes:green_door_closed")
|
||||
minetest.register_alias("scifi_nodes:doors4b","scifi_nodes:green_door_closed_top")
|
||||
minetest.register_alias("scifi_nodes:doors4c","scifi_nodes:green_door_opened")
|
||||
minetest.register_alias("scifi_nodes:doors4d","scifi_nodes:green_door_opened_top")
|
||||
|
||||
-- This table now uses named parameters and more convenient variables names
|
||||
local doors = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user