Spawning: Find entrance doors to building.

This commit is contained in:
Zorman2000
2017-04-10 22:42:21 -04:00
parent 7169035783
commit 55c6146e94
3 changed files with 36 additions and 7 deletions

View File

@ -67,6 +67,11 @@ npc.spawner.spawn_data = {
-- Scanning functions
---------------------------------------------------------------------------------------
function spawner.filter_first_floor_nodes(nodes)
local result = {}
end
-- Creates an array of {pos=<node_pos>, owner=''} for managing
-- which NPC owns what
function spawner.get_nodes_by_type(start_pos, end_pos, type)