2025/07/20 Update

Added PEPS AI.
Updated class & racialtypes 2DAs for the Lost Lands.
Full compile.
This commit is contained in:
Jaysyn904
2025-07-20 20:28:49 -04:00
parent fdbffdd730
commit 51e1a2a2b3
1773 changed files with 147537 additions and 829 deletions

25
_module/nss/nw_ch_ac8.nss Normal file
View File

@@ -0,0 +1,25 @@
/*//////////////////////////////////////////////////////////////////////////////
Script: nw_ch_ac8
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Associates (Summons, Familiars, Companions) OnDisturbed event script.
Fires when the inventory of oCreature is changed i.e. added or removed.
Creatures can't have items added or removed from its inventory (it's not a
container), then the only way this fires for creatures if something is stolen.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_associates"
void main()
{
if(AI_DEBUG) ai_Debug("nw_ch_ac8", "13", GetName(OBJECT_SELF) + " is been disturbed!");
if(GetSpawnInCondition(NW_FLAG_DISTURBED_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1008));
}
// We do nothing at the moment... lets not mess up our factions ok?
// This should be defined by the server admins and is commented out.
//if(ai_GetIsBusy(OBJECT_SELF, FALSE) || ai_Disabled()) return;
//object oTarget = GetLastDisturbed();
//if (oTarget != OBJECT_INVALID) ai_DoMonsterCombatRound ();
}