|
@@ -2543,6 +2543,7 @@ class ProxyMenu(object):
|
|
# menu_item("Q", "Quest")
|
|
# menu_item("Q", "Quest")
|
|
menu_item("P", "Port CIM Report ({0})".format(len(self.game.gamedata.ports)))
|
|
menu_item("P", "Port CIM Report ({0})".format(len(self.game.gamedata.ports)))
|
|
menu_item("W", "Warp CIM Report ({0})".format(len(self.game.gamedata.warps)))
|
|
menu_item("W", "Warp CIM Report ({0})".format(len(self.game.gamedata.warps)))
|
|
|
|
+ menu_item("R", "Restock Report")
|
|
menu_item("T", "Trading Report")
|
|
menu_item("T", "Trading Report")
|
|
menu_item("S", "Scripts")
|
|
menu_item("S", "Scripts")
|
|
menu_item("X", "eXit")
|
|
menu_item("X", "eXit")
|
|
@@ -2753,6 +2754,17 @@ class ProxyMenu(object):
|
|
# Scripts
|
|
# Scripts
|
|
self.activate_scripts_menu()
|
|
self.activate_scripts_menu()
|
|
return
|
|
return
|
|
|
|
+ elif key == "R":
|
|
|
|
+ self.queue_game.put(self.c + key + self.r + self.nl)
|
|
|
|
+ s = self.game.gamedata.special_ports()
|
|
|
|
+ box = Boxes(14, color=self.c)
|
|
|
|
+
|
|
|
|
+ self.queue_game.put(box.top())
|
|
|
|
+ self.queue_game.put(box.row(self.c1 + " Sector Class "))
|
|
|
|
+ for sector, data in s.items():
|
|
|
|
+ self.queue_game.put(box.row(" {0} {1:5}{2} {3:^5} ".format( self.c1, sector, self.c2, data['class'])))
|
|
|
|
+ self.queue_game.put(box.bottom())
|
|
|
|
+
|
|
elif key == "D":
|
|
elif key == "D":
|
|
self.queue_game.put(self.c + key + self.r + self.nl)
|
|
self.queue_game.put(self.c + key + self.r + self.nl)
|
|
# (Re) Display Trade Report
|
|
# (Re) Display Trade Report
|