I have an NPC in an office. I would like to add a Topic to her dialog which, when selected would produce a single line of dialog AND run some commands in the results script section that would check that the player had X amount of money, deduct that amount, and reset their criminal status.
If the player did not have that amount of money the transaction would not take place. This transaction needs to be available whenever the NPC is available.
Is this the best way to do this, or should I use a script, and if so, how would I go about using the script when the player selects this item in the NPC's Topic?
cheers
MVK