|
@@ -1824,6 +1824,10 @@ class ScriptTerror(object):
|
|
|
for sector in sorted(self.game.gamedata.ports.keys()):
|
|
|
pd = self.game.gamedata.ports[sector]
|
|
|
if not GameData.port_burnt(pd):
|
|
|
+
|
|
|
+ if 'class' not in pd:
|
|
|
+ continue
|
|
|
+
|
|
|
pc = pd['class']
|
|
|
|
|
|
|
|
@@ -2000,6 +2004,13 @@ class PlanetUpScript(object):
|
|
|
self.deactivate()
|
|
|
return
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ _, _, part = prompt.partition(']:[')
|
|
|
+ sector, _, _ = part.partition(']')
|
|
|
+ self.current_sector = int(sector)
|
|
|
+
|
|
|
|
|
|
|
|
|
tc = merge(Style.BRIGHT + Fore.YELLOW + Back.BLUE)
|
|
@@ -2506,6 +2517,10 @@ class ProxyMenu(object):
|
|
|
for sector in sorted(self.game.gamedata.ports.keys()):
|
|
|
pd = self.game.gamedata.ports[sector]
|
|
|
if not GameData.port_burnt(pd):
|
|
|
+
|
|
|
+ if 'class' not in pd:
|
|
|
+ continue
|
|
|
+
|
|
|
pc = pd['class']
|
|
|
|
|
|
|