2019-10-20 15:46:01 -07:00
|
|
|
-- doors went through a lot of changes in the past
|
|
|
|
local door_types = {'wood', 'steel', 'glass', 'obsidian'}
|
|
|
|
for i, door_typ in ipairs(door_types) do
|
|
|
|
local door_name = 'doors:door_'..door_typ
|
2016-03-20 15:57:53 -07:00
|
|
|
-- the upper part is no longer a seperate part
|
2019-10-20 15:46:01 -07:00
|
|
|
handle_schematics.global_replacement_table[ door_name..'_t_1' ] = 'doors:hidden'
|
|
|
|
handle_schematics.global_replacement_table[ door_name..'_t_2' ] = 'doors:hidden'
|
2016-03-20 15:57:53 -07:00
|
|
|
-- the lower part is now two nodes high
|
2019-10-20 15:46:01 -07:00
|
|
|
handle_schematics.global_replacement_table[ door_name..'_b_1' ] = door_name..'_a'
|
|
|
|
handle_schematics.global_replacement_table[ door_name..'_b_2' ] = door_name..'_b'
|
2016-03-20 15:57:53 -07:00
|
|
|
end
|