mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-25 21:29:06 +02:00
Merge pull request #179 from Bilka2/name-in-autostash-flying-text
Use localized item names for autostash flying text
This commit is contained in:
commit
0f6917a5a7
@ -41,7 +41,7 @@ local function create_floaty_text(surface, position, name, count)
|
||||
position.x,
|
||||
position.y + autostash.floating_text_y_offsets[position.x .. '_' .. position.y]
|
||||
},
|
||||
text = '-' .. count .. ' ' .. name,
|
||||
text = {'', '-', count, ' ', game.item_prototypes[name].localised_name},
|
||||
color = {r = 255, g = 255, b = 255}
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user