gothic-1-community-patch
gothic-1-community-patch copied to clipboard
"Preview Item Stats" string not available in dialogue box for NPC "Baal Namib".
Hello, everyone!
I would like to report the following bug:
Describe the bug: This issue can be encountered in the Swamp Camp after completing the "Admission to the Swamp Camp" quest. In Chapter 2, the user can purchase a "Novice's Armor" from NPC "Baal Namib", however, the dialogue box does not show a "Preview Item Stats" string, instead, if the user has enough Ore, it will automatically purchase the item.
Expected behavior: The "Preview Item Stats" string is displayed in the dialogue box once the Player Character inquires about the armor and after Baal Namib finishes his response. String: Novice's Armor. Protection: Weapons 40, Arrows 5, Fire 20 (1200 ore)
Steps to reproduce the issue:
- Initiate and complete the "Admission to the Swamp Camp" quest.
- Talk with NPC "Lester" in order to trigger Chapter 2. (Baal Namib will not sell the armor in Chapter 1)
- Confirm the Player Character has 1200 Ore in its inventory.
- Talk with NPC "Baal Namib" and select the "I'd like to have better armor." option.
- Notice that the "Novice's Armor" item is automatically purchased while Baal Namib finishes his response.
Additional context The main issue here would be that the user is unaware of what he buys and how much he pays for the item. No other information is available in that regard. If you don't have enough Ore in your inventory, Baal Namib will simply reply: "Come back as soon as you have enough ore."
Attaching screenshots for more clear information.
-
Dialogue box.
-
Item purchased.
-
Novice's Armor @ Inventory
-
Chapter 1 restriction.
-
Not enough Ore response.
-
Lester triggers Chapter 2.
Thank You and Best Regards! Quintus24
Info for implementation: See #91 for implementation, but keep in mind to pull the ore values for they might have been changed by a mod. That might be tricky or even impossible (see #80 for reference).
I suggest to manipulate the dialog description to append the cost for ore only. That may be inferred from the bytecode of the dialog function (looking out for B_GiveInvItems
or similar), but may fail if done another way (e.g. custom function of a mod). Since this is a dialog and not a dialog choice, it is not related to #91.