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.
This commit is contained in:
30
_module/nss/jw_ogre_800.nss
Normal file
30
_module/nss/jw_ogre_800.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName jw_ogre_1000
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: 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(1000, GetPCSpeaker(), TRUE);
|
||||
}
|
||||
Reference in New Issue
Block a user