Initial upload
Initial upload.
This commit is contained in:
35
_module/nss/takeinsig_sc.nss
Normal file
35
_module/nss/takeinsig_sc.nss
Normal file
@@ -0,0 +1,35 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName takeinsig_sc
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 8/12/2002 8:52:19 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
|
||||
object oTalkingPC;
|
||||
object oInvItem;
|
||||
|
||||
|
||||
|
||||
oTalkingPC = GetPCSpeaker();
|
||||
oInvItem = GetFirstItemInInventory(oTalkingPC);
|
||||
|
||||
// while (oInvItem != OBJECT_INVALID)
|
||||
|
||||
|
||||
while (GetIsObjectValid(oInvItem) != 0)
|
||||
{
|
||||
if (GetTag(oInvItem) == "RedAxeInsignia2") {
|
||||
|
||||
DestroyObject(oInvItem);
|
||||
GiveGoldToCreature(oTalkingPC, 20);
|
||||
|
||||
}
|
||||
|
||||
oInvItem = GetNextItemInInventory(oTalkingPC);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user