PoA_PRC8/module/nss/aq_ssring.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

27 lines
458 B
Plaintext

object oTarget;
#include "nw_i0_tool"
void main()
{
object oPC = GetModuleItemAcquiredBy();
object oItem;
oItem = GetModuleItemAcquired();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "guildstone")== OBJECT_INVALID)
{
oTarget = GetObjectByTag("ssring");
object oSelf = OBJECT_SELF;
DestroyObject(oTarget, 0.0);
DestroyObject(oSelf, 0.0);
RewardPartyGP(3330000, oPC, FALSE);
CreateItemOnObject("ssbook", oPC, 1);
}
}