13 lines
359 B
Plaintext
13 lines
359 B
Plaintext
void main() {
|
|
|
|
object oClicker = GetClickingObject();
|
|
object oTarget = GetTransitionTarget( OBJECT_SELF );
|
|
location lLoc = GetLocation( oTarget );
|
|
if ((GetHitDice(oClicker) >= 18) && (GetHitDice(oClicker) <= 40)) {
|
|
AssignCommand( oClicker, JumpToLocation( lLoc ) );
|
|
} else {
|
|
SpeakString( "You need to be 18th level or more to access this area " + "." );
|
|
}
|
|
}
|
|
|