[#bugs] npc sitting is currently a bit strange, npcs will path to very distant chairs (l...

Issue #9459 new
Freehold Games Bot Account created an issue

Marked for crossposting by: torn sheet of graph paper

Message (jump):

<a menacing lorb (scary face ver)> npc sitting is currently a bit strange, npcs will path to very distant chairs (like argyve to joppa's hut), only to sit there for a single turn. you would think they would choose closer chairs and rest there for multiple turns

Comments (2)

  1. kernelmethod

    For context: this came up today while somebody was trying to add an NPC to level 19 of the Asphalt Mines. It appears that the best way to do this without breaking compatibility with other mods that may want to make modifications to this cell is to add

    <cell Name="Asphalt Mines" Inherits="Asphalt Mines" ApplyTo="TerrainAsphaltMines">
    ...
    </cell>

    … then to re-define the zone for Level="29", copying the same XML already used by the game’s Worlds.xml but with the addition of a new poptable.

    This works but is rather unwieldy (and depends on some implicit behavior in the way in which Worlds.xml is parsed).

    edit: woops, sorry, that comment was meant for #9458 instead

  2. Log in to comment