mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
Linting fix and tooltip added
This commit is contained in:
parent
5e0598d35f
commit
bfa355e309
@ -59,7 +59,7 @@ local callback =
|
|||||||
local ent = data.ent
|
local ent = data.ent
|
||||||
local name = data.name
|
local name = data.name
|
||||||
local msg_number = data.msg_number
|
local msg_number = data.msg_number
|
||||||
message =
|
local message =
|
||||||
ent.surface.create_entity(
|
ent.surface.create_entity(
|
||||||
{name = 'compi-speech-bubble', text = messages[name][msg_number], position = {0, 0}, source = ent}
|
{name = 'compi-speech-bubble', text = messages[name][msg_number], position = {0, 0}, source = ent}
|
||||||
)
|
)
|
||||||
|
@ -109,7 +109,8 @@ local function redraw_chest_button(data, player)
|
|||||||
{
|
{
|
||||||
type = 'button',
|
type = 'button',
|
||||||
name = 'Quadrants.Button.Toggle',
|
name = 'Quadrants.Button.Toggle',
|
||||||
caption = 'Toggle inventory empty to chest. Currently: ' .. toggle_status
|
caption = 'Toggle inventory empty to chest. Currently: ' .. toggle_status,
|
||||||
|
tooltip = 'If on:\nYour inventory will be emptied in a chest, when you switch quadrant'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
button.style.font = 'default'
|
button.style.font = 'default'
|
||||||
|
Loading…
Reference in New Issue
Block a user