Amon_PRC8/_module/nss/xx_pc_8_disturb.nss
Jaysyn904 d2a9c50615 20255/17/19 Update
Added PEPS AI.
Full compile.
2025-07-19 18:27:32 -04:00

22 lines
1.0 KiB
Plaintext

/*//////////////////////////////////////////////////////////////////////////////
Script: xx_pc_8_disturb
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Player OnDisturbed event script for PC AI.
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("xx_pc_8_disturb", "14", GetName(OBJECT_SELF) + " is been disturbed!");
// 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 ();
}