Planning story elements and npc interaction