2025/12/15 Update

Updated PEPS
Hooked up new PRC8 GUI event.
Updated nim tools.
Updated readme.
This commit is contained in:
Jaysyn904
2025-12-15 21:37:12 -05:00
parent d897e0c598
commit e0803385be
1191 changed files with 139110 additions and 35267 deletions

View File

@@ -17,10 +17,21 @@ void main()
// Scout ahead is done int 0e_ch_1_hb (heartbeat script).
if(sAction == "Scout")
{
ai_ClearCreatureActions();
ai_HaveCreatureSpeak(oAssociate, 4, ":29:35:46:");
ai_SetAIMode(oAssociate, AI_MODE_SCOUT_AHEAD, TRUE);
ai_ScoutAhead(oAssociate);
if(ai_GetAIMode(oAssociate, AI_MODE_SCOUT_AHEAD))
{
ai_ClearCreatureActions();
ai_HaveCreatureSpeak(oAssociate, 6, ":29:35:46:10");
ai_SetAIMode(oAssociate, AI_MODE_SCOUT_AHEAD, FALSE);
ai_SendMessages(GetName(oAssociate) + " has stopped patrolling ahead.", AI_COLOR_YELLOW, oPC);
}
else
{
ai_ClearCreatureActions();
ai_HaveCreatureSpeak(oAssociate, 6, ":29:35:46:22:");
ai_SetAIMode(oAssociate, AI_MODE_SCOUT_AHEAD, TRUE);
ai_SendMessages(GetName(oAssociate) + " is now patrolling ahead.", AI_COLOR_YELLOW, oPC);
ai_ScoutAhead(oAssociate);
}
}
else if(sAction == "BasicTactics")
{
@@ -168,5 +179,22 @@ void main()
}
return;
}
else if(sAction == "GetHenchTokens")
{
int nCount, nCntr = 1;
object oHenchman = GetHenchman(oPC, nCntr);
while(oHenchman != OBJECT_INVALID && nCntr <= AI_MAX_HENCHMAN)
{
if(oHenchman == OBJECT_INVALID) break;
if(oHenchman != oAssociate)
{
SetCustomToken(77101 + nCount, GetName(oHenchman));
nCount++;
}
oHenchman = GetHenchman(oPC, ++nCntr);
}
ai_SetupAllyTargets(oAssociate, oPC);
return;
}
aiSaveAssociateModesToDb(oPC, oAssociate);
}