mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-21 23:33:12 +09:00
Move the warp list into exp_scenario
The warp system was split across a legacy control module and a legacy gui, both built on expcore.datastore. They are now one exp_scenario gui, exp_scenario/module/gui/warp_list.lua, in the shape of the task list: per force warps and per player cooldown and proximity state live on the container's element data, rows are element defines which carry their warp in element data, and refreshes compute the player's status once and apply it to every row. Warps are referenced as objects rather than string ids, the last editor is a LuaPlayer, and the cooldown counts ticks. The locale moves to [exp-gui_warp-list] in en, zh-CN and zh-TW with keys named by region and use, and the legacy [warp-list] sections are removed along with the two legacy modules and the file loader entry. The config stays in exp_legacy/config/gui/warps.lua for now like the other gui configs.
This commit is contained in:
1 parent
61359af5bc
commit
68b2dda190
11 files changed
+1312
-1491
No files matched your search
@@ -158,37 +158,6 @@ ban-player=Ban player
|
||||
afk-time=__1__% of total map time\nLast moved __2__ ago
|
||||
open-map=__1__ __2__\n__3__\nClick to open map
|
||||
|
||||
[warp-list]
|
||||
main-caption=Warp List [img=info]
|
||||
main-tooltip=Warp List
|
||||
sub-tooltip=Warps can only be used every __1__ seconds and when within __2__ tiles\n__3__\n__4__\n__5__\n__6__\n__7__\n__8__
|
||||
sub-tooltip-current= - __1__ This is your current warp point;
|
||||
sub-tooltip-connected= - __1__ You can travel to this warp point;
|
||||
sub-tooltip-different= - __1__ This warp is on a different network;
|
||||
sub-tooltip-cooldown= - __1__ You are currently on cooldown;
|
||||
sub-tooltip-not_available= - __1__ You are not in range of a warp point;
|
||||
sub-tooltip-bypass= - __1__ Your role allows you to travel here;
|
||||
too-close=Cannot create warp; too close to existing warp point: __1__
|
||||
too-close-to-water=Cannot create warp; too close to water, please move __1__ tiles away from the water body or landfill it
|
||||
too-close-to-entities=Cannot create warp; too close to other entities, please move __1__ tiles away from the entities or remove them
|
||||
last-edit=Last edited by __1__ at __2__\nClick to view on map
|
||||
add-tooltip=Add new warp
|
||||
confirm-tooltip=Save changes
|
||||
cancel-tooltip=Discard changes
|
||||
edit-tooltip=Currently being edited by: __1__
|
||||
edit-tooltip-none=Currently being edited by: Nobody
|
||||
remove-tooltip=Remove warp
|
||||
timer-tooltip=Please wait __1__ seconds before you can warp
|
||||
timer-tooltip-zero=After each warp you will need to wait __1__ seconds before you can warp again
|
||||
goto-tooltip=Go to x __1__ y __2__
|
||||
goto-bypass=Go to x __1__ y __2__, bypass mode
|
||||
goto-bypass-different-network=Go to x __1__ y __2__, bypass mode different network
|
||||
goto-same-warp=You are already on this warp
|
||||
goto-different-network=This warp is on a different network, use power poles to connect it
|
||||
goto-cooldown=You are on cooldown, wait for your cooldown to recharge
|
||||
goto-disabled=You are not on a warp point, walk to a warp point
|
||||
goto-edit=Edit warp icon
|
||||
|
||||
[bonus]
|
||||
description=Get / Set the amount of bonus you receive.
|
||||
arg-amount=Amount to set your bonus to, 0 will disable bonus.
|
||||
|
||||
@@ -158,37 +158,6 @@ ban-player=封禁用戶
|
||||
afk-time=__1__% 地圖時間\n上次移動: __2__
|
||||
open-map=__1__ __2__\n__3__\n按下打開地圖
|
||||
|
||||
[warp-list]
|
||||
main-caption=傳送陣清單 [img=info]
|
||||
main-tooltip=傳送陣清單
|
||||
sub-tooltip=傳送陣在 __1__ 秒內只能使用一次。 亦需在 __2__ 格之內使用\n__3__\n__4__\n__5__\n__6__\n__7__\n__8__
|
||||
sub-tooltip-current= - __1__ 你目前的傳送陣;
|
||||
sub-tooltip-connected= - __1__ 你可以到本傳送陣;
|
||||
sub-tooltip-different= - __1__ 該傳送陣未連接;
|
||||
sub-tooltip-cooldown= - __1__ 傳送冷卻中;
|
||||
sub-tooltip-not_available= - __1__ 你不在傳送陣範圍;
|
||||
sub-tooltip-bypass= - __1__ 你可以傳送到這裏;
|
||||
too-close=無法新建傳送陣; 太接近 __1__ 了
|
||||
too-close-to-water=無法新建傳送陣; 太接近水源了, 請移動 __1__ 格又或者填平該地方
|
||||
too-close-to-entities=無法新建傳送陣; 太接近其他東西, 請移動 __1__ 格又或者拆除該東西
|
||||
last-edit=最後由 __1__ 在 __2__ 更改\n按這在地圖上看
|
||||
add-tooltip=新建傳送陣
|
||||
confirm-tooltip=儲存更改
|
||||
cancel-tooltip=放棄更改
|
||||
edit-tooltip=現被 __1__ 修改中
|
||||
edit-tooltip-none=現沒有被人修改
|
||||
remove-tooltip=拆除傳送陣
|
||||
timer-tooltip=請等 __1__ 秒才再次傳送
|
||||
timer-tooltip-zero=你要等 __1__ 秒才可以再次傳送
|
||||
goto-tooltip=到 X __1__ Y __2__
|
||||
goto-bypass=到 X __1__ Y __2__, 繞行模式
|
||||
goto-bypass-different-network=到 X __1__ Y __2__, 繞行模式 (不同網絡)
|
||||
goto-same-warp=你已在該傳送陣
|
||||
goto-different-network=該傳送陣未連接, 你可使用電纜連接
|
||||
goto-cooldown=傳送冷卻中, 請等候冷卻
|
||||
goto-disabled=你不在傳送陣, 請移至任意傳送陣
|
||||
goto-edit=修改傳送陣圖案
|
||||
|
||||
[bonus]
|
||||
description=取得 / 設定 Bonus 量。
|
||||
arg-amount=Bonus 數量, 0 來停用。
|
||||
|
||||
@@ -158,37 +158,6 @@ ban-player=封禁用戶
|
||||
afk-time=__1__% 地圖時間\n上次移動: __2__
|
||||
open-map=__1__ __2__\n__3__\n按下打開地圖
|
||||
|
||||
[warp-list]
|
||||
main-caption=傳送陣清單 [img=info]
|
||||
main-tooltip=傳送陣清單
|
||||
sub-tooltip=傳送陣在 __1__ 秒內只能使用一次。 亦需在 __2__ 格之內使用\n__3__\n__4__\n__5__\n__6__\n__7__\n__8__
|
||||
sub-tooltip-current= - __1__ 你目前的傳送陣;
|
||||
sub-tooltip-connected= - __1__ 你可以到本傳送陣;
|
||||
sub-tooltip-different= - __1__ 該傳送陣未連接;
|
||||
sub-tooltip-cooldown= - __1__ 傳送冷卻中;
|
||||
sub-tooltip-not_available= - __1__ 你不在傳送陣範圍;
|
||||
sub-tooltip-bypass= - __1__ 你可以傳送到這裏;
|
||||
too-close=無法新建傳送陣; 太接近 __1__ 了
|
||||
too-close-to-water=無法新建傳送陣; 太接近水源了, 請移動 __1__ 格又或者填平該地方
|
||||
too-close-to-entities=無法新建傳送陣; 太接近其他東西, 請移動 __1__ 格又或者拆除該東西
|
||||
last-edit=最後由 __1__ 在 __2__ 更改\n按這在地圖上看
|
||||
add-tooltip=新建傳送陣
|
||||
confirm-tooltip=儲存更改
|
||||
cancel-tooltip=放棄更改
|
||||
edit-tooltip=現被 __1__ 修改中
|
||||
edit-tooltip-none=現沒有被人修改
|
||||
remove-tooltip=拆除傳送陣
|
||||
timer-tooltip=請等 __1__ 秒才再次傳送
|
||||
timer-tooltip-zero=你要等 __1__ 秒才可以再次傳送
|
||||
goto-tooltip=到 X __1__ Y __2__
|
||||
goto-bypass=到 X __1__ Y __2__, 繞行模式
|
||||
goto-bypass-different-network=到 X __1__ Y __2__, 繞行模式 (不同網絡)
|
||||
goto-same-warp=你已在該傳送陣
|
||||
goto-different-network=該傳送陣未連接, 你可使用電纜連接
|
||||
goto-cooldown=傳送冷卻中, 請等候冷卻
|
||||
goto-disabled=你不在傳送陣, 請移至任意傳送陣
|
||||
goto-edit=修改傳送陣圖案
|
||||
|
||||
[bonus]
|
||||
description=取得 / 設定 Bonus 量。
|
||||
arg-amount=Bonus 數量, 0 來停用。
|
||||
|
||||
Reference in new issue
Block a user