13 lines
358 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
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" + "." );
}
}