NPC: Changed general issue with names. Now names are a dedicated variable, not anymore a nametag.

NPC names aren't visible anymore.
Spawner: Added NPC statistics to plotmarkers.
Add statistics-based spawning for a more balanced, family-type spawning of NPCs.
This commit is contained in:
Hector Franqui
2017-06-17 09:08:29 -04:00
parent adeeecd43e
commit bf0f643e3e
12 changed files with 221 additions and 81 deletions

View File

@ -844,7 +844,7 @@ function npc.actions.walk_to_pos(self, args)
-- Check if movement is enforced
if enforce_move then
-- Move to end pos
self.object:moveto(end_pos)
self.object:moveto({x=end_pos.x, y=end_pos.y+1, z=end_pos.z})
end
end
end