Conversation: goignar004
Triggered by
No caller found in static analysis. May be invoked from runtime-only code paths (string-built resrefs, etc.).
Scripts referenced
| Script | Slot | In module | Notes |
|---|---|---|---|
removeallitems | action | ✓ | |
israngedweapon | active | ✓ | |
calcmodvalue1 | action | ✓ | |
isitemonanvil4 | active | ✓ | |
setpropmighty | action | ✓ | |
setpropac | action | ✓ | |
setplus0 | action | ✓ | |
setplus10 | action | ✓ | |
setplus9 | action | ✓ | |
setplus8 | action | ✓ | |
setplus7 | action | ✓ | |
setplus6 | action | ✓ | |
setplus5 | action | ✓ | |
setplus4 | action | ✓ | |
setplus3 | action | ✓ | |
setplus2 | action | ✓ | |
setplus1 | action | ✓ | |
calcmodvalue2 | action | ✓ | |
cannotafford | active | ✓ | |
isamttopay | active | ✓ | |
isamtrefund | active | ✓ | |
modifyitem | action | ✓ |
Custom tokens
These runtime tokens are filled by NWScript via SetCustomToken(N, text). The scripts listed set each token; the actual value depends on game state at runtime.
| Token | Set by script(s) |
|---|---|
<CUSTOM100> | isitemonanil8, isitemonanil81, isitemonanvil, isitemonanvil2, isitemonanvil3, isitemonanvil4, isitemonanvil5, isitemonanvil6, isitemonanvil7, isitemonanvil8, isitemonanvil9 |
<CUSTOM101> | calcmodvalue2 |
Starting entries
- entry #0 — Greetings my . What can I do for you?
Conversation flow
Each starting entry is expanded recursively. Repeated nodes (cycles, shared continuations) appear inline as ↩ link backrefs to the first occurrence.
entry #0 → removeallitems ¶
Greetings my <lord/lady>. What can I do for you?
reply #1 ¶
Modify the item on the anvil.
entry #2 (if isitemonanvil4) ¶
Are you sure you want to modify the <CUSTOM100>[isitemonanil8, isitemonanil81, isitemonanvil, isitemonanvil2, isitemonanvil3, isitemonanvil4, isitemonanvil5, isitemonanvil6, isitemonanvil7, isitemonanvil8, isitemonanvil9]?
reply #4 ¶
Yes.
entry #4 ¶
What type of modification would you like?
reply #6 → setpropac ¶
Armour Bonus.
entry #5 ¶
Now, please select the bonus amount.
reply #17 → setplus1 ¶
+1
entry #6 → calcmodvalue1 ¶
Please wait while I calculate the cost of this modification.
reply #18 → calcmodvalue2 ¶
(no text)
entry #10 (if cannotafford) ¶
This modification will cost you <CUSTOM101>[calcmodvalue2] gold.
entry #9 (if isamttopay) ¶
This modification will cost you <CUSTOM101>[calcmodvalue2] gold.
entry #8 (if isamtrefund) ¶
This modification will give you a refund of <CUSTOM101>[calcmodvalue2] gold.
↩ reply #0 “Goodbye.”
NPC lines (entries) — flat index
entry #0 →
removeallitemsGreetings my <lord/lady>. What can I do for you?
- → reply #1 “Modify the item on the anvil.”
- → reply #0 “Goodbye.”
entry #2
Are you sure you want to modify the <CUSTOM100>[isitemonanil8, isitemonanil81, isitemonanvil, isitemonanvil2, isitemonanvil3, isitemonanvil4, isitemonanvil5, isitemonanvil6, isitemonanvil7, isitemonanvil8, isitemonanvil9]?
- → reply #4 “Yes.”
- → reply #3 “No.”
entry #4
What type of modification would you like?
- → reply #6 “Armour Bonus.”
- → reply #5 “Mighty.” (if
israngedweapon)
entry #5
Now, please select the bonus amount.
- → reply #17 “+1”
- → reply #16 “+2”
- → reply #15 “+3”
- → reply #14 “+4”
- → reply #13 “+5”
- → reply #12 “+6”
- → reply #11 “+7”
- → reply #10 “+8”
- → reply #9 “+9”
- → reply #8 “+10”
- → reply #7 “Remove the existing bonus.”
entry #7
There is no charge for this modification.
entry #8
This modification will give you a refund of <CUSTOM101>[calcmodvalue2] gold.
- → reply #20 “Please go ahead.”
- → reply #19 “I've changed my mind.”
entry #9
This modification will cost you <CUSTOM101>[calcmodvalue2] gold.
entry #10
This modification will cost you <CUSTOM101>[calcmodvalue2] gold.
- → reply #21 “Sorry, I don't seem to have enough gold.”
PC replies — flat index
reply #0
Goodbye.
reply #1
Modify the item on the anvil.
- → entry #2 “Are you sure you want to modify the ?” (if
isitemonanvil4) - → entry #1 “Please place exactly one item on the anvil, then speak to me again.”
reply #2
(no text)
reply #7 →
setplus0Remove the existing bonus.
- → child “Please wait while I calculate the cost of this modification.”
reply #18 →
calcmodvalue2(no text)
- → entry #10 “This modification will cost you gold.” (if
cannotafford) - → entry #9 “This modification will cost you gold.” (if
isamttopay) - → entry #8 “This modification will give you a refund of gold.” (if
isamtrefund) - → entry #7 “There is no charge for this modification.”