Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerkiz committed Oct 22, 2020
1 parent 74107c3 commit 30fdb4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion maps/mountain_fortress_v3/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
3 changes: 3 additions & 0 deletions utils/datastore/server_ups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 30fdb4b

Please sign in to comment.