23 lines
394 B
Plaintext
23 lines
394 B
Plaintext
|
//Put this on action taken in the conversation editor
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
if (GetGold(oPC) >= 70000)
|
||
|
{
|
||
|
AssignCommand(oPC, TakeGoldFromCreature(70000, oPC, TRUE));
|
||
|
|
||
|
CreateItemOnObject("socketedgem598", oPC);
|
||
|
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
ClearAllActions();
|
||
|
|
||
|
ActionSpeakString("I am no fool Vagabond, go get some gold and come back to deal honestly with me!");
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|