UW2_PRC8/_module/nss/givesocketgem14.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

23 lines
394 B
Plaintext

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