1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Linting fix and tooltip added

This commit is contained in:
SimonFlapse 2019-03-02 16:52:13 +01:00
parent 5e0598d35f
commit bfa355e309
2 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,7 @@ local callback =
local ent = data.ent
local name = data.name
local msg_number = data.msg_number
message =
local message =
ent.surface.create_entity(
{name = 'compi-speech-bubble', text = messages[name][msg_number], position = {0, 0}, source = ent}
)

View File

@ -109,7 +109,8 @@ local function redraw_chest_button(data, player)
{
type = 'button',
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'