mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-08-28 17:56:25 -04:00
Bug Fix: Inform Players if Ord Mantell Space isn't available
This commit is contained in:
@@ -30,6 +30,11 @@ public class ord_mantell_dungeon_terminal extends script.base_script
|
||||
sendSystemMessage(player, noCanFly);
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
if(!isPlanetEnabledForCluster("space_ord_mantell"))
|
||||
{
|
||||
sendSystemMessageTestingOnly(player, "Space travel is not available right now. Please use the Gamma Shuttle Droid to return to Tansarii Point Station.");
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
if (checkGod(player))
|
||||
{
|
||||
return SCRIPT_CONTINUE;
|
||||
|
||||
@@ -27,6 +27,11 @@ public class ord_mantell_terminal extends script.base_script
|
||||
sendSystemMessage(player, noCanFly);
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
if(!isPlanetEnabledForCluster("space_ord_mantell"))
|
||||
{
|
||||
sendSystemMessageTestingOnly(player, "Space travel is not available right now. Please use the Gamma Shuttle Droid to visit Ord Mantell.");
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
obj_id vcdShipId = space_utils.hasUsableShip(player);
|
||||
obj_id[] shipId = getContents(vcdShipId);
|
||||
if (shipId != null && shipId.length != 0)
|
||||
|
||||
Reference in New Issue
Block a user