|
@@ -1991,6 +1991,7 @@ class ProxyMenu(object):
|
|
|
|
|
|
menu_item("C", "Configuration ({0})".format(len(self.game.gamedata.config)))
|
|
|
menu_item("D", "Display Report again")
|
|
|
+ menu_item("E", "Export Data (Save)")
|
|
|
# menu_item("Q", "Quest")
|
|
|
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)))
|
|
@@ -2196,6 +2197,12 @@ class ProxyMenu(object):
|
|
|
return
|
|
|
else:
|
|
|
self.queue_game.put("Missing trade_report." + self.nl)
|
|
|
+ elif key == 'E':
|
|
|
+ self.queue_game.put(self.c + key + self.r + self.nl)
|
|
|
+ self.queue_game.put(Boxes.alert("Saving..."))
|
|
|
+ then_do = coiterate(self.game.gamedata.save())
|
|
|
+ then_do.addCallback(self.welcome_back)
|
|
|
+ return
|
|
|
elif key == "C":
|
|
|
self.queue_game.put(self.c + key + self.r + self.nl)
|
|
|
self.activate_config_menu()
|