Archived
Compare commits
3
Commits
v1.0.0
..
015bcd8545
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
015bcd8545 | ||
|
|
f9eccc68be | ||
|
|
2a7eac1a2e |
No files matched your search
+10
-2
@@ -16,14 +16,22 @@ local function onClick(_target, _button)
|
||||
end
|
||||
|
||||
function RepackableItems_RejoinPrompt.show()
|
||||
--- @diagnostic disable-next-line: unnecessary-if
|
||||
if dialog then
|
||||
return
|
||||
end
|
||||
|
||||
local width, height = 420, 150
|
||||
|
||||
local x = (getCore():getScreenWidth() - width) / 2
|
||||
local y = (getCore():getScreenHeight() - height) / 2
|
||||
dialog = ISModalDialog:new(x, y, width, height,
|
||||
getText("IGUI_RepackableItems_RejoinRequired"), false, nil, onClick, 0)
|
||||
|
||||
dialog = ISModalDialog:new(
|
||||
x, y, width, height,
|
||||
getText("IGUI_RepackableItems_RejoinRequired"),
|
||||
false, nil, onClick, 0
|
||||
)
|
||||
|
||||
dialog:initialise()
|
||||
dialog:addToUIManager()
|
||||
dialog:setAlwaysOnTop(true)
|
||||
|
||||
+5
@@ -299,6 +299,11 @@ function RepackableItems_Types.getBootText()
|
||||
return bootText
|
||||
end
|
||||
|
||||
---The file text as of the last sync (may not be applied yet).
|
||||
function RepackableItems_Types.getFileText()
|
||||
return buildFileText(merged, configuredEntries)
|
||||
end
|
||||
|
||||
function RepackableItems_Types.getEntry(fullType)
|
||||
return byFullType[fullType]
|
||||
end
|
||||
|
||||
@@ -6,6 +6,6 @@ id=RepackableItems
|
||||
description=Adds configurable packing recipes for admin-selected items, letting them be crafted into their own boxes and cartons like vanilla's repacking.
|
||||
description= <LINE> <LINE> Configure the items in Sandbox Options (RepackableItems.ItemList). Changes apply after a server restart; players are asked to rejoin once.
|
||||
description= <LINE> <LINE> Multiplayer servers must set DoLuaChecksum=false in the server settings.
|
||||
modversion=1.0.0
|
||||
modversion=1.0.1
|
||||
versionMin=42.0.0
|
||||
incompatible=
|
||||
Reference in new issue
Block a user