Skip to content

Commit

Permalink
schematics church and tower -> now compatible with 0.4.17 (stairs_out…
Browse files Browse the repository at this point in the history
…er_something nodes)
  • Loading branch information
Jeb187 committed Jul 31, 2018
1 parent 256272f commit 5092a07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions buildings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5092a07

Please sign in to comment.