1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-26 03:52:22 +02:00

minor change

This commit is contained in:
Gerkiz 2022-04-05 19:39:01 +02:00
parent 95f2e90e55
commit dbe79dcdfd
3 changed files with 10 additions and 5 deletions

View File

@ -51,7 +51,7 @@ map_off=OFF
[locomotive]
upgrades=Upgrades:
items=Items:
shoo=^-^ Please don't shoo at me ^-^
shoo=[Desync Bro]
not_trusted=You need to be trusted to purchase this.
coins_left=Coins left: __1__
market_name=Market

View File

@ -104,7 +104,7 @@ function Public.spawn_biter()
target = this.locomotive_biter,
target_offset = {0, -3.5},
scale = 1.05,
font = 'default-large-semibold',
font = 'heading-2',
color = {r = 175, g = 75, b = 255},
alignment = 'center',
scale_with_zoom = false

View File

@ -519,12 +519,14 @@ local function redraw_market_items(gui, player, search_text)
return
end
gui.add(
local upgrades_label =
gui.add(
{
type = 'label',
caption = ({'locomotive.upgrades'})
}
)
upgrades_label.style.font = 'heading-2'
local upgrade_table = gui.add({type = 'table', column_count = 6})
@ -574,12 +576,14 @@ local function redraw_market_items(gui, player, search_text)
::continue::
end
end
gui.add(
local items_label =
gui.add(
{
type = 'label',
caption = ({'locomotive.items'})
}
)
items_label.style.font = 'heading-2'
local slider_value = ceil(players[player.index].data.slider.slider_value)
local items_table = gui.add({type = 'table', column_count = 6})
@ -801,7 +805,8 @@ local function gui_opened(event)
player.opened = frame
local search_table = inside_table.add({type = 'table', column_count = 2})
search_table.add({type = 'label', caption = ({'locomotive.search_text'})})
local search_name = search_table.add({type = 'label', caption = ({'locomotive.search_text'})})
search_name.style.font = 'heading-2'
local search_text = search_table.add({type = 'textfield'})
search_text.style.width = 140