13 lines
358 B
Plaintext
13 lines
358 B
Plaintext
void main() {
|
|
|
|
object oClicker = GetClickingObject();
|
|
object oTarget = GetTransitionTarget( OBJECT_SELF );
|
|
location lLoc = GetLocation( oTarget );
|
|
if ((GetHitDice(oClicker) <= 2) && (GetHitDice(oClicker) <= 20)) {
|
|
AssignCommand( oClicker, JumpToLocation( lLoc ) );
|
|
} else {
|
|
SpeakString( "You need to be no greater than 2 season's old to enter" + "." );
|
|
}
|
|
}
|
|
|