Quest NPCs location scope
Posted: Mon Jun 14, 2021 4:31 pm
Quest NPCs location scope is available from QBN data but was not understood until now. I extracted it and submitted a PR which also corrects the gender of all quest NPCs. This adds the "local" or "remote" attribute for NPCs when it is set in the QBN data. If not set, this means that the location scope has to be generated at random, except for questors and permanent NPCs.
I have also reverse engineered the meaning of groups which is not exactly what I said a few weeks ago in this post: http://forums.dfworkshop.net/viewtopic. ... 3ea#p54859
The meaning is the following one:
Local_3.n: Ally of NPC #n, whose faction is taken at random from the list of the related NPC's allies.
Local_4.n: Enemy of NPC #n, whose faction is taken at random from the list of the related NPC's enemies.
Group_5.n: NPC who is in the same faction as NPC #n.
Group_6.n: NPC who is in relation of any kind with NPC #n.
Group_7.n: Lover of NPC #n.
As an example, in quest A0C01Y03:
means that the hermit is in love with NPC 2, which is the spouse. And the spouse, which is set as
means that she is in love with NPC 1, the questgiver.
In classic, this sets the spouse gender as the opposite of the questgiver one, and sets the hermit gender as the opposite of the spouse one (so, the same as the questgiver).
I will open a new PR for this once the above one is merged.
I have also reverse engineered the meaning of groups which is not exactly what I said a few weeks ago in this post: http://forums.dfworkshop.net/viewtopic. ... 3ea#p54859
The meaning is the following one:
Local_3.n: Ally of NPC #n, whose faction is taken at random from the list of the related NPC's allies.
Local_4.n: Enemy of NPC #n, whose faction is taken at random from the list of the related NPC's enemies.
Group_5.n: NPC who is in the same faction as NPC #n.
Group_6.n: NPC who is in relation of any kind with NPC #n.
Group_7.n: Lover of NPC #n.
As an example, in quest A0C01Y03:
Code: Select all
Person _hermit_ face 1 group Group_7.2 remote
Code: Select all
Person _spouse_ group Group_7.1 remote
In classic, this sets the spouse gender as the opposite of the questgiver one, and sets the hermit gender as the opposite of the spouse one (so, the same as the questgiver).
I will open a new PR for this once the above one is merged.