schematics church and tower -> now compatible with 0.4.17 (stairs_outer_something nodes)

master
Rochambeau 2018-07-31 19:39:20 +02:00
parent 256272fe2a
commit 5092a07ff0
1 changed files with 6 additions and 0 deletions

View File

@ -358,6 +358,12 @@ function settlements.place_schematics()
-- special material for spawning npcs
schem_lua = schem_lua:gsub("default:junglewood",
"settlements:junglewood")
-- compatibility with 0.4.17, can be removed when 5 is released
schem_lua = schem_lua:gsub("stairs:stair_outer_wood",
"stairs:slab_wood")
schem_lua = schem_lua:gsub("stairs:stair_outer_stone_block",
"air")
-- format schematic string
local schematic = loadstring(schem_lua)()
-- build foundation for the building an make room above