Initial commit
Initial commit.
This commit is contained in:
14
_module/nss/con_c_townport1.nss
Normal file
14
_module/nss/con_c_townport1.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// conversation condition
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int nTokenMax = GetLocalInt(oPC,"TokenMax");
|
||||
int nTokenCounter = GetLocalInt(oPC,"TokenCounter");
|
||||
|
||||
SetLocalInt(oPC,"TokenCounter",++nTokenCounter);
|
||||
|
||||
return (nTokenCounter <= nTokenMax);
|
||||
}
|
||||
Reference in New Issue
Block a user