MSFD Useful global variables
CrimeGoldDiscount (is global short)
Contains the amount of gold needed to pay the reduced fine at the thieves guild.
CrimeGoldTurnIn (is global short)
Contains the reduced fee you have to pay when you turn yourself in.
PCHasCrimeGold (is global short)
Used in dialogue conditions. Gets set to 1 if player has enough gold to pay for his crimes.
PCHasGoldDiscount (is global short)
Used in dialogue conditions. Gets set to 1 if player has enough gold to pay thieves guild discount on the "price on your head".
PCHasGoldTurnIn (is global short)
Used in dialogue conditions. Gets set to 1 if player has enough gold to the reduced crime fee that is charged when turning yourself in.
Example: A dialogue result field for the topic "price on your head", for paying a fine at the thieves guild:
Player->RemoveItem Gold_001 CrimeGoldDiscount
SetPCCrimeLevel 0
PayFineThief
For comparison, this is the result fields that guards use when you have a price on your head and turn yourself in (you find this under Greeting 0):
Player->RemoveItem Gold_001 CrimeGoldTurnIn
SetPCCrimeLevel 0
PayFine
Or if you get caught and have to pay the normal "fines and compensation":
Player->RemoveItem Gold_001 GetPCCrimeLevel
SetPCCrimeLevel 0
PayFine