Initial Commit
Initial Commit
This commit is contained in:
7
_module/nss/merch_reward.nss
Normal file
7
_module/nss/merch_reward.nss
Normal file
@@ -0,0 +1,7 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int nReward = GetLocalInt(OBJECT_SELF, "Reward");
|
||||
GiveGoldToCreature(oPC, nReward);
|
||||
DeleteLocalInt(GetArea(OBJECT_SELF), "MerchantTrouble");
|
||||
}
|
||||
Reference in New Issue
Block a user