mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-03 19:12:59 -04:00
(go live) enforced use of instant travel vehicles to be only usable at level 50 and above.
This commit is contained in:
Regular → Executable
+4
@@ -1135,6 +1135,10 @@ public class player_travel extends script.base_script
|
||||
{
|
||||
debugLogging("//***// canCallForPickup", "////>>>> ENTERED");
|
||||
obj_id playerCurrentMount = getMountId(player);
|
||||
if(getLevel(player) < 50){
|
||||
sendSystemMessage(player, "Instant Travel vehicles may not be used until you have reached level 50.", null);
|
||||
return false;
|
||||
}
|
||||
if (isIdValid(playerCurrentMount))
|
||||
{
|
||||
sendSystemMessage(player, SID_INSTANT_MOUNT_NO);
|
||||
|
||||
Reference in New Issue
Block a user