generated from Jaysyn/ModuleTemplate
24 lines
812 B
Plaintext
24 lines
812 B
Plaintext
/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
|
Forsettii's Quest Builder System.
|
|
Version 1.0
|
|
Created for Layonara Online
|
|
Forsettii Forsettii@yahoo.com
|
|
April 7, 2004
|
|
Maximum Level that you can be to do level
|
|
Variables: max_level - Max level before it is not an option.
|
|
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
int ilevel = GetLocalInt(OBJECT_SELF, "max_level");
|
|
// Restrict based on the player's class
|
|
int iPassed = 0;
|
|
if(GetHitDice(oPC) <= ilevel)
|
|
iPassed = 1;
|
|
if(iPassed == 0)
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|