mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-16 02:47:48 +02:00
minor tweaks
This commit is contained in:
parent
74107c39c7
commit
30fdb4b8ad
@ -526,7 +526,7 @@ local on_research_finished = function(event)
|
||||
|
||||
research.force.character_inventory_slots_bonus = game.forces.player.mining_drill_productivity_bonus * 50 -- +5 Slots / level
|
||||
local mining_speed_bonus = game.forces.player.mining_drill_productivity_bonus * 5 -- +50% speed / level
|
||||
if research.force.technologies['steel-axe'].researched then
|
||||
if research.name == 'steel-axe' then
|
||||
mining_speed_bonus = mining_speed_bonus + 0.5
|
||||
research.force.manual_mining_speed_modifier = mining_speed_bonus
|
||||
local msg =
|
||||
|
@ -16,6 +16,9 @@ local function set_location(event)
|
||||
local player = game.get_player(event.player_index)
|
||||
local gui = player.gui
|
||||
local label = gui.screen[ups_label]
|
||||
if not label or not label.valid then
|
||||
return
|
||||
end
|
||||
local res = player.display_resolution
|
||||
local uis = player.display_scale
|
||||
label.location = {x = res.width - 423 * uis, y = 30 * uis}
|
||||
|
Loading…
Reference in New Issue
Block a user