UW2_PRC8/_module/nss/givesocketgems93.nss

23 lines
399 B
Plaintext
Raw Permalink Normal View History

2023-09-25 20:24:01 -04:00
//Put this on action taken in the conversation editor
void main()
{
object oPC = GetPCSpeaker();
if (GetGold(oPC) >= 180000)
{
AssignCommand(oPC, TakeGoldFromCreature(180000, oPC, TRUE));
CreateItemOnObject("socketedgem072", oPC, 3);
}
else
{
ClearAllActions();
ActionSpeakString("I am no fool Vagabond, go get some gold and come back to deal honestly with me!");
}
}