1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-16 17:39:29 +08:00

仪表盘完成了

This commit is contained in:
梦念逍遥
2023-01-28 10:20:21 +08:00
committed by GitHub
parent c0426bc660
commit 42b2e58028

View File

@@ -364,6 +364,15 @@ class AlasGUI(Frame):
log = RichLog("log")
oil = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.oiltomaxoil")
coin = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.cointomaxcoin")
gem = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.gem")
cube = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.cube")
pt = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.pt")
opcoin = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.opcoin")
actionpoint = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.actionpoint")
purplecoin = self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.purplecoin")
with use_scope("logs"):
put_scope(
"log-bar",
@@ -379,24 +388,14 @@ class AlasGUI(Frame):
),
put_table(
[
[t("Gui.Overview.Oil"),t("Gui.Overview.Coin"),t("Gui.Overview.EventPt"),t("Gui.Overview.OperationSupplyCoin")],
[
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.oiltomaxoil"),
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.cointomaxcoin"),
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.pt"),
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.opcoin")
],
[t("Gui.Overview.Oil"),t("Gui.Overview.Gem"),t("Gui.Overview.EventPt"),t("Gui.Overview.OperationSupplyCoin")],
[oil,gem,pt,opcoin],
],
),
put_table(
[
[t("Gui.Overview.Gem"),t("Gui.Overview.Cube"),t("Gui.Overview.ActionPoint"),t("Gui.Overview.SpecialItemToken")],
[
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.gem"),
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.cube"),
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.actionpoint"),
self.alas_config.cross_get("ViewCurrentResources.ViewCurrentResources.purplecoin")
],
[t("Gui.Overview.Coin"),t("Gui.Overview.Cube"),t("Gui.Overview.ActionPoint"),t("Gui.Overview.SpecialItemToken")],
[coin,cube,actionpoint,purplecoin],
],
),
],