A World of Ice and Fire Forums

Follow-up: Reward of the kidnapped girl quest

Started by tos1, July 03, 2024, 05:24:48 PM

Previous topic - Next topic

tos1

Releted topics:
- Reward of the kidnapped girl quest in v8.* by me.
- "Rhaesh Loy", outlaw/bandit/clansman says in V9.* by me.
- Follow-up: "Number of troops killed will be the new lady/lord" in V9.* by me.

As I wrote few days ago in the "Number of troops ..." topic above:
----
I assumed that the Consequences block would be executed after the text was displayed, but I was wrong. I confirmed the text is displayed after both Conditions and Consequences blocks are executed.
----

Using display_message, I confirmed that reg8 is constantly 1 in the displayed dialog text (below) at rewarded for qst_kidnapped_girl quest though both Conditions and Consequences blocks are executed and reg8 is set correctly. (To test this, I temporarily changed scripts.txt so that the mayor requests always this quest, as described later.)

----
dlga_mayor_begin:close_window.1
{playername} -- I am in your debt for bringing back my friend's daughter. Please take these {reg8} silver stags that I promised you. My friend wished he could give more but paying that ransom brought him to his knees.
----

One of solutions is replace reg8 (both in assign ope and in the text) in dlga_mayor_begin:close_window.1 with reg9. CAUTION: This change affects all translation files i.e. languages/*/dialog.csv.



- How to reproduce it/when/why it happens:
(How to force this quest: scripts.txt -> get_quest -> search and remove 5th and 6th operations that use local variable 35 (count from 0. It's ":quest_no" in mod system v1.171). The opes are check_quest_active|neg ":L35" and quest_slot_ge|neg ":L35" 25 1. Add 1 ope, assign ":L35" "qst_kidnapped_girl"[Ransom Girl from Bandits] there.)
Visit a town, meet the mayor, and select "Do you happen to have a job for me?". If above patch was done, the mayor constantly gives the player character the quest qst_kidnapped_girl. Do the job and return to the mayor.

- Game version (and steam or downloaded):
AWoIaF v9.4, v8.2. Warband v1.174 downloaded
(Probably earlier versions also have the same problem)

Quick Reply

Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Shortcuts: ALT+S post or ALT+P preview