From 5092a07ff0ef28f6361206f8eb57b741c15b52d0 Mon Sep 17 00:00:00 2001 From: Rochambeau Date: Tue, 31 Jul 2018 19:39:20 +0200 Subject: [PATCH] schematics church and tower -> now compatible with 0.4.17 (stairs_outer_something nodes) --- buildings.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/buildings.lua b/buildings.lua index 86d0e3c..4dff100 100644 --- a/buildings.lua +++ b/buildings.lua @@ -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