27 lines
458 B
Plaintext
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);
|
|
|
|
}
|
|
}
|