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

@@ -54,18 +54,6 @@ progress-caption=__1__ %
progress-tooltip=該火箭發射井發射了 __1__ 次
launch-failed=火箭發射失敗, 請過一會再試。
[science-info]
main-caption=研究瓶
main-tooltip=研究資訊
eta-caption=預計時間:
eta-tooltip=餘下研究所需時間
eta-time=T- __1__
unit=__1__ 瓶每分鐘
pos-tooltip=製造: __1__
neg-tooltip=使用: __1__
net-tooltip=淨: __1__
no-packs=你未製造任何研究瓶
[task-list]
main-caption=工作流程 [img=info]
main-tooltip=工作流程
@@ -88,17 +76,6 @@ create-footer-header=加入工作流程
edit-footer-header=修改工作流程
view-footer-header=工作流程細節
[autofill]
main-tooltip=自動填入設定
toggle-section-caption=__1__ __2__
toggle-section-tooltip=擴張欄
toggle-section-collapse-tooltip=收縮欄
toggle-entity-tooltip=自動填入設定 - __1__
toggle-tooltip=自動填入設定 - __2__ 的 __1__
amount-tooltip=自動填入 __1__ 的數量
invalid=自動填入最大值 __1__ __2__ 給 __3__
inserted=自動填入 __1__ __2__ 到 __3__
[warp-list]
main-caption=傳送陣清單 [img=info]
main-tooltip=傳送陣清單
@@ -215,27 +192,6 @@ arg-amount=Bonus 數量, 0 來停用。
set=你的 Bonus 已設為 __1__。
get=你的 Bonus 為 __1__。
perm=你沒有足夠權限設多過 __1__。
main-tooltip=Bonus 介面
control-pts-a=可用分數
control-pts-n=必要分數
control-pts-r=餘下分數
control-reset=重置
control-apply=應用
control-pts-exceed=分數超出可用上限
display-cmms=挖掘速度
display-cmms-tooltip=個人挖掘速度
display-crs=跑步速度
display-crs-tooltip=個人跑步速度
display-ccs=合成速度
display-ccs-tooltip=個人合成速度
display-cisb=儲存位
display-cisb-tooltip=個人儲存位
display-chb=生命
display-chb-tooltip=個人生命
display-crdb=到達距離
display-crdb-tooltip=個人到達距離
display-personal-battery-recharge=電池充電
display-personal-battery-recharge-tooltip=為玩家電池充電
display-fmms=挖掘速度
display-fmms-tooltip=勢力挖掘速度
display-frs=跑步速度
@@ -298,30 +254,6 @@ power-on-space-research=你要研究 [technology=__1__] 在 __2__ 級 才可使
enter=現在進入 vlayer 區域選擇
exit=已進入 vlayer 區域選擇
[module]
main-tooltip=模組介面
apply=套用
[landfill]
main-tooltip=藍圖填海介面
cursor-none=您需要將藍圖保持在遊標處
[production]
main-tooltip=製造介面
label-prod=製造
label-con=消耗
label-bal=淨值
tooltip-per-second=物品每秒
[surveillance]
main-tooltip=監控介面
status-enable=啟用
status-disable=停用
func-set=
type-player=用戶
type-static=靜態
type-player-loop=用戶循環
[toolbar]
main-caption=工具箱
main-tooltip=工具箱設定\n選上來設定喜好
@@ -329,28 +261,3 @@ reset=重設
toggle=啟用喜好
move-up=向上
move-down=向下
[research]
msg=[color=255, 255, 255] 研究完成在 __1__ - [technology=__2__][/color]
inf=[color=255, 255, 255] 研究完成在 __1__ - [technology=__2__] - __3__[/color]
res-name=[technology=__1__] __2__
name=名稱
target=目標
attempt=用時
difference=差距
main-tooltip=研究介面
[tool]
main-tooltip=工具
apply=應用
artillery=火炮遙控
artillery-tooltip=火炮遙控
waterfill=挖水
waterfill-tooltip=把地換為水。
train=火車
train-tooltip=把火車設置為自動模式
research=研究
research-tooltip=啟用自動研究
spawn=傳送出生
spawn-tooltip=傳送到出生點