Initial Upload
Initial Upload
This commit is contained in:
12
_module/nss/lvl_check_2_xav.nss
Normal file
12
_module/nss/lvl_check_2_xav.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
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" + "." );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user