2025/07/21 Update

Added PEPS AI.
Full compile.
This commit is contained in:
Jaysyn904
2025-07-21 09:07:09 -04:00
parent 0b53f89e02
commit 9ae0679a70
1359 changed files with 44828 additions and 1039 deletions

View File

@@ -0,0 +1,17 @@
/*//////////////////////////////////////////////////////////////////////////////
Script: 0c_if_identify
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that checks to see if the henchmen has a better lore
skill than the speaker.
Also checks AI_IDENTIFY_ON to see if the server wants them to help.
*///////////////////////////////////////////////////////////////////////////////
#include "0i_associates"
int StartingConditional()
{
object oHenchman = OBJECT_SELF;
if (!AI_IDENTIFY_ON && !ai_CanISpeak (oHenchman)) return FALSE;
int nHenchmanLore = GetSkillRank(SKILL_LORE, oHenchman);
int nMasterLore = GetSkillRank(SKILL_LORE, GetMaster(oHenchman));
return (nHenchmanLore > nMasterLore);
}