Hi,
I did some changes/rewrites on this mod. Please see / review my changes at
https://github.com/bell07/minetest-towntest. Pull request is set to upstream.
Main changes:
- Support fir newer WE-Files added. So you can save a building using the latest WorldEdit, move the we file to the towntest_chest/buildings and it is buildable.
- Metadata handling is there, so the chests can be full after building if stored in the template file ;)
- Special blocks like doors:hidden are handled, Glass pane, Coffee Table are no problem too
- Ignoring of unknown nodes in the file. So if you try to build a home with equipment from homedecor mod in a game without this mod, no problem, just the homedecor nodes will be not placed
- More intelligence for NPC. He builds not just line for line but search for shorter ways, but not perfect. Its funny to look how the NPC decide which block should be placed at the next
- Crafting recipe added to build the chest in survival (The builder is no problem for survival because you need to provide all used nodes for the building)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
output = 'towntest_chest:chest',
recipe = {
{'default:mese_crystal', 'default:chest_locked', 'default:mese_crystal'},
{'default:book', 'default:diamond', 'default:book'},
{'default:mese_crystal', 'default:chest_locked', 'default:mese_crystal'},
}
Some screenshots:
All nodes placed by the NPC:
The NPC follows the building structure instead of build line-per-line