Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//::----------------------------------------------------------
//:: Function Name: zep_pc_has_holyw
//:: Function use: Function used in zep_demi_regen_c
//:: conversation to check if the PC has the special Holy
//:: Water item needed to destroy the Demilich. Note that
//:: despite name this function will check for whatever
//:: item is specified by ZEP_DEMI_DEST_TAG. Will also
//:: create custom token for use in conversation file so
//:: the appropriate item name is displayed.
//::----------------------------------------------------------
//:: Included files: zep_inc_demi
#include "zep_inc_demi"
int StartingConditional()
{
object oPC=GetPCSpeaker(); //PC destroying the demilich
//Check if PC has destroying item. Referred to as "HolyWater"
//in code since that is its default type.
object oHolyWater=GetItemPossessedBy(oPC,ZEP_DEMI_DEST_TAG);
//If PC DOES have the right item, get it's name and create a
//custom token to use in the conversation for it.
if (oHolyWater!=OBJECT_INVALID)
{
string sHolyWaterName=GetName(oHolyWater);
SetCustomToken(1001,sHolyWaterName);
return TRUE;
}
else return FALSE;
}