Battledale_PRC8/_module/nss/jw_ogre_100.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

31 lines
835 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName jw_ogre_500
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 21/08/2002 23:14:46
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
object oPC=GetPCSpeaker();
object oPartyMember = GetFirstFactionMember(oPC, TRUE);
while (GetIsObjectValid(oPartyMember) == TRUE)
{
if (GetArea(oPartyMember)==GetArea(OBJECT_SELF))
{
CreateItemOnObject("jw_ogre_amulet", oPartyMember, 1);
}
oPartyMember = GetNextFactionMember(oPC, TRUE);
}
// Remove some gold from the player
TakeGoldFromCreature(100, GetPCSpeaker(), TRUE);
}