Refactor some of the Guis from the legacy plugin (#399)

* Fix bugs in core and add default args to Gui defs

* Refactor production Gui

* Refactor landfill blueprint button

* Fix more bugs in core

* Consistent naming of new guis

* Refactor module inserter gui

* Refactor surveillance gui

* Add shorthand for data from arguments

* Make element names consistent

* Add types

* Change how table rows work

* Refactor player stats gui

* Refactor quick actions gui

* Refactor research milestones gui

* Refactor player bonus gui

* Refactor science production gui

* Refactor autofill gui

* Cleanup use of aligned flow

* Rename "Gui.element" to "Gui.define"

* Rename Gui types

* Rename property_from_arg

* Add guide for making guis

* Add full reference document

* Add condensed reference

* Apply style guide to refactored guis

* Bug fixes
This commit is contained in:
Cooldude2606
2025-08-29 14:30:30 +01:00
committed by GitHub
parent e2a7ab7b8b
commit 7ab721b4b6
72 changed files with 6736 additions and 4105 deletions

View File

@@ -281,3 +281,97 @@ area-too-large=區域太大了,需少過 __1__ 格,你選了 __2__ 格。
too-few-explosives=需要 __1__ 個 __ITEM__cliff-explosives__ 或其材料,你現在有 __2__ 個。
part-complete=__1__ 格已填水,但有 __2__ 格有東西擋著。
complete=__1__ 格已經轉換好。
[exp-gui_autofill]
tooltip-main=自動填入設定
caption-main=自動填入設定
caption-section-header=__1__ __2__
tooltip-toggle-section=Toggle section
tooltip-toggle-section-expand=擴張欄
tooltip-toggle-section-collapse=收縮欄
tooltip-toggle-entity=自動填入設定 - __1__
tooltip-toggle-item=自動填入設定 - __2__ 的 __1__
tooltip-amount=自動填入 __1__ 的數量
invalid=自動填入最大值 __1__ __2__ 給 __3__
inserted=自動填入 __1__ __2__ 到 __3__
[exp-gui_landfill-blueprint]
tooltip-main=藍圖填海
error-no-blueprint=您需要將藍圖保持在遊標處
[exp-gui_module-inserter]
tooltip-main=模組
caption-main=Modules
tooltip-apply=套用
[exp-gui_player-bonus]
tooltip-main=Bonus 介面
caption-main=Bonus
tooltip-reset=重置
tooltip-apply=應用
caption-character_mining_speed_modifier=挖掘速度
tooltip-character_mining_speed_modifier=個人挖掘速度
caption-character_running_speed_modifier=跑步速度
tooltip-character_running_speed_modifier=個人跑步速度
caption-character_crafting_speed_modifier=合成速度
tooltip-character_crafting_speed_modifier=個人合成速度
caption-character_inventory_slots_bonus=儲存位
tooltip-character_inventory_slots_bonus=個人儲存位
caption-character_health_bonus=生命
tooltip-character_health_bonus=個人生命
caption-character_reach_distance_bonus=到達距離
tooltip-character_reach_distance_bonus=個人到達距離
caption-personal_battery_recharge=電池充電
tooltip-personal_battery_recharge=為玩家電池充電
[exp-gui_player-stats]
tooltip-main=Player Stats
caption-main=Player Stats
[exp-gui_production-stats]
tooltip-main=製造
tooltip-per-second=物品每秒
caption-net=淨值
[exp-gui_quick-actions]
tooltip-main=工具
caption-artillery=火炮遙控
tooltip-artillery=火炮遙控
caption-research=研究
tooltip-research=啟用自動研究
caption-spawn=傳送出生
tooltip-spawn-tooltip=傳送到出生點
caption-trains=火車
tooltip-trains=把火車設置為自動模式
caption-waterfill=挖水
tooltip-waterfill=把地換為水。
[exp-gui_research-milestones]
tooltip-main=研究介面
caption-main=研究介面
caption-name=名稱
caption-target=目標
caption-achieved=用時
caption-difference=差距
caption-research-name=[technology=__1__] __2__
notice-inf=[color=255, 255, 255] 研究完成在 __1__ - [technology=__2__] - __3__[/color]
notice=[color=255, 255, 255] 研究完成在 __1__ - [technology=__2__][/color]
[exp-gui_science-production]
tooltip-main=研究資訊
caption-main=研究瓶
caption-spm=__1__ 瓶每分鐘
caption-eta=預計時間:
caption-eta-time=T- __1__
tooltip-eta=餘下研究所需時間
caption-no-production=你未製造任何研究瓶
tooltip-made=製造: __1__
tooltip-used=使用: __1__
tooltip-net=淨: __1__
[exp-gui_surveillance]
tooltip-main=監控
caption-set-location=
type-player=用戶
type-static=靜態
type-loop=循環