Initial Commit
Initial Commit
This commit is contained in:
18
_module/nss/hench_canthire.nss
Normal file
18
_module/nss/hench_canthire.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
// 69_hench_canwork
|
||||
// Text appears if NPC can work for PC
|
||||
// Created: 69MEH69 July 2004
|
||||
|
||||
#include "x4_inc_functions"
|
||||
#include "69_hench_lib"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult;
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
iResult = GetCanWork69(oPC, OBJECT_SELF);
|
||||
int nHenchNumber = GetCampaignInt(CharacterDB(oPC), "HENCH_NUMBER");
|
||||
if(iResult == FALSE) return TRUE;
|
||||
if(nHenchNumber > 2) return TRUE;
|
||||
return FALSE;
|
||||
}
|
Reference in New Issue
Block a user