mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
labels for inventory side buttons
This commit is contained in:
@@ -482,7 +482,7 @@ class UICraftingWorkbench(val inventoryUI: UIInventoryFull?, val parentContainer
|
||||
batch.color = Color.WHITE
|
||||
|
||||
// text label for two inventory grids
|
||||
val craftingLabel = Lang["GAME_CRAFTING"]
|
||||
val craftingLabel = Lang["GAME_CRAFTABLE_ITEMS"]
|
||||
val ingredientsLabel = Lang["GAME_INVENTORY_INGREDIENTS"]
|
||||
|
||||
App.fontGame.draw(batch, craftingLabel, thisOffsetX + (cellsWidth - App.fontGame.getWidth(craftingLabel)) / 2, thisOffsetY - INVENTORY_NAME_TEXT_GAP)
|
||||
|
||||
@@ -241,6 +241,11 @@ class UIInventoryFull(
|
||||
{ Lang["CONTEXT_ITEM_MAGIC"] },
|
||||
{ Lang["GAME_GENRE_MISC"] },
|
||||
),
|
||||
superLabels = listOf(
|
||||
{ Lang["GAME_CRAFTING"] },
|
||||
{ Lang["GAME_INVENTORY"] },
|
||||
{ Lang["MENU_LABEL_MENU"] }
|
||||
)
|
||||
|
||||
) { i -> if (!panelTransitionLocked) requestTransition(i) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user