Bug Fix: Inform Players if Ord Mantell Space isn't available

This commit is contained in:
AconiteX
2021-08-14 22:30:10 -04:00
parent 93cfd07fd6
commit 3924f2c2ca
2 changed files with 10 additions and 0 deletions
@@ -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)