mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
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:
@@ -281,3 +281,97 @@ area-too-large=Selected area is too large, must be less than __1__ tiles, select
|
||||
too-few-explosives=Requires __1__ __ITEM__cliff-explosives__ or its ingredients, you have __2__.
|
||||
part-complete=__1__ tiles were filled with water, but entities are blocking __2__ tiles.
|
||||
complete=__1__ tiles were filled with water.
|
||||
|
||||
[exp-gui_autofill]
|
||||
tooltip-main=Autofill
|
||||
caption-main=Autofill
|
||||
caption-section-header=__1__ __2__
|
||||
tooltip-toggle-section=Toggle section
|
||||
tooltip-toggle-section-expand=Expand section
|
||||
tooltip-toggle-section-collapse=Collapse section
|
||||
tooltip-toggle-entity=Toggle the autofill of __1__
|
||||
tooltip-toggle-item=Toggle the autofill of __1__ into __2__ slots
|
||||
tooltip-amount=Amount of items to insert into the __1__ slots
|
||||
invalid=Autofill set to maximum amount: __1__ __2__ for __3__
|
||||
inserted=Inserted __1__ __2__ into __3__
|
||||
|
||||
[exp-gui_landfill-blueprint]
|
||||
tooltip-main=Landfill Blueprint
|
||||
error-no-blueprint=You need to hold the blueprint in cursor
|
||||
|
||||
[exp-gui_module-inserter]
|
||||
tooltip-main=Module Inserter
|
||||
caption-main=Modules
|
||||
tooltip-apply=Apply
|
||||
|
||||
[exp-gui_player-bonus]
|
||||
tooltip-main=Player Bonus
|
||||
caption-main=Bonus
|
||||
tooltip-reset=Reset sliders
|
||||
tooltip-apply=Apply bonus
|
||||
caption-character_mining_speed_modifier=Mining
|
||||
tooltip-character_mining_speed_modifier=Character manual mining speed
|
||||
caption-character_running_speed_modifier=Running
|
||||
tooltip-character_running_speed_modifier=Character running speed
|
||||
caption-character_crafting_speed_modifier=Crafting
|
||||
tooltip-character_crafting_speed_modifier=Character crafting speed
|
||||
caption-character_inventory_slots_bonus=Inventory
|
||||
tooltip-character_inventory_slots_bonus=Character inventory slots bonus
|
||||
caption-character_health_bonus=Health
|
||||
tooltip-character_health_bonus=Character health bonus
|
||||
caption-character_reach_distance_bonus=Reach
|
||||
tooltip-character_reach_distance_bonus=Character reach distance bonus
|
||||
caption-personal_battery_recharge=Battery
|
||||
tooltip-personal_battery_recharge=Armor battery recharge
|
||||
|
||||
[exp-gui_player-stats]
|
||||
tooltip-main=Player Stats
|
||||
caption-main=Player Stats
|
||||
|
||||
[exp-gui_production-stats]
|
||||
tooltip-main=Production Stats
|
||||
tooltip-per-second=Items per second
|
||||
caption-net=Net
|
||||
|
||||
[exp-gui_quick-actions]
|
||||
tooltip-main=Quick Actions
|
||||
caption-artillery=Artillery
|
||||
tooltip-artillery=Select artillery targets
|
||||
caption-research=Auto Research
|
||||
tooltip-research=Toggle auto research queue
|
||||
caption-spawn=Teleport Spawn
|
||||
tooltip-spawn-tooltip=Teleport to spawn
|
||||
caption-trains=Set Auto Train
|
||||
tooltip-trains=Set all trains to automatic
|
||||
caption-waterfill=Waterfill
|
||||
tooltip-waterfill=Change tiles to water
|
||||
|
||||
[exp-gui_research-milestones]
|
||||
tooltip-main=Research Milestones
|
||||
caption-main=Milestones
|
||||
caption-name=Name
|
||||
caption-target=Target
|
||||
caption-achieved=Achieved
|
||||
caption-difference=Difference
|
||||
caption-research-name=[technology=__1__] __2__
|
||||
notice-inf=[color=255, 255, 255] Research completed at __1__ - [technology=__2__] - __3__[/color]
|
||||
notice=[color=255, 255, 255] Research completed at __1__ - [technology=__2__][/color]
|
||||
|
||||
[exp-gui_science-production]
|
||||
tooltip-main=Science Production
|
||||
caption-main=Science
|
||||
caption-spm=__1__ spm
|
||||
caption-eta=ETA:
|
||||
caption-eta-time=T- __1__
|
||||
tooltip-eta=The estimated time left for the current research
|
||||
caption-no-production=You have not made any science packs yet
|
||||
tooltip-made=Total made: __1__
|
||||
tooltip-used=Total used: __1__
|
||||
tooltip-net=Total net: __1__
|
||||
|
||||
[exp-gui_surveillance]
|
||||
tooltip-main=Surveillance
|
||||
caption-set-location=Set
|
||||
type-player=Player
|
||||
type-static=Static
|
||||
type-loop=Loop
|
||||
|
||||
@@ -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=循環
|
||||
|
||||
@@ -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=循環
|
||||
|
||||
Reference in New Issue
Block a user