Initial upload
Initial upload
This commit is contained in:
22
_module/nss/givesocketgem6.nss
Normal file
22
_module/nss/givesocketgem6.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//Put this on action taken in the conversation editor
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if (GetGold(oPC) >= 500000)
|
||||
{
|
||||
AssignCommand(oPC, TakeGoldFromCreature(500000, oPC, TRUE));
|
||||
|
||||
CreateItemOnObject("socketedgem066", oPC);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
ClearAllActions();
|
||||
|
||||
ActionSpeakString("I am no fool Vagabond, go get some gold and come back to deal honestly with me!");
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user