RoT2_PRC8/_module/nss/0_door_limit30.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

16 lines
276 B
Plaintext

void main() {
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget( OBJECT_SELF );
location lLoc = GetLocation( oTarget );
if ((GetHitDice(oClicker) >= 30) && (GetHitDice(oClicker) <= 15)) {
AssignCommand( oClicker, JumpToLocation( lLoc ) );
}
}