RSPSApp / elvarg-rsps

17 stars 39 forks source link

Tile Stacking #260

Closed DrHenny closed 1 year ago

DrHenny commented 1 year ago

Added tile stacking for NPCs.

When an NPC is trying to move to the next tile via pathfinder IF they can tilestack (npc def method) then they will stay behind the NPC infront. This works for all NPCs currently. However, you can override the boolean on spawn by using npc.setTileStacking(ARG); (false for them NOT to tile stack and true for them to follow the rule)