2025/12/19 Update

Added PEPS.
Updated nim tools.
Hooked up new GUI event.
Added PRC8 Discord journal entry.
Full compile.
This commit is contained in:
Jaysyn904
2025-12-19 23:28:23 -05:00
parent c8f152816a
commit cb6455825b
1241 changed files with 180354 additions and 39608 deletions

View File

@@ -0,0 +1,18 @@
/*//////////////////////////////////////////////////////////////////////////////
Script: 0c_if_has_assoc
Programmer: Philos
////////////////////////////////////////////////////////////////////////////////
Text Appears When script that checks to see if caller has the specified feat
to summon either a companion or a familiar and they are not summoned.
Param
sAssociate - "Familiar" or "Companion"
*///////////////////////////////////////////////////////////////////////////////
int StartingConditional()
{
object oHenchman = OBJECT_SELF;
string sAssociate = GetScriptParam("sAssociate");
if(sAssociate == "Familiar" && GetHasFeat(FEAT_SUMMON_FAMILIAR, oHenchman) &&
GetAssociate(ASSOCIATE_TYPE_FAMILIAR) == OBJECT_INVALID) return TRUE;
return (sAssociate == "Companion" && GetHasFeat(FEAT_ANIMAL_COMPANION, oHenchman) &&
GetAssociate(ASSOCIATE_TYPE_ANIMALCOMPANION) == OBJECT_INVALID);
}