1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-11-06 08:56:27 +02:00
This commit is contained in:
MewMew
2019-10-03 22:20:12 +02:00
parent 45cba7c74b
commit a8ffbb7a40
6 changed files with 27 additions and 17 deletions

View File

@@ -19,7 +19,7 @@ local function on_player_changed_position(event)
},
unit_count = amount,
force = "enemy",
unit_search_distance=256
unit_search_distance=1024
})
global.biters_attack_moving_players_last_action_tick = game.tick
end

View File

@@ -70,7 +70,7 @@ end
local function get_amount(entity)
local distance_to_center = math.sqrt(entity.position.x^2 + entity.position.y^2)
local amount = 50 + (distance_to_center * 0.33)
local amount = 35 + (distance_to_center * 0.25)
if amount > 150 then amount = 150 end
amount = rock_yield[entity.name] * amount

View File

@@ -328,7 +328,7 @@ local function draw_level_text(player)
text = "lvl " .. global.rpg[player.index].level,
surface = player.surface,
target = player.character,
target_offset = {-0.05, -3.15},
target_offset = {0, -3.25},
color = {
r = player.color.r * 0.6 + 0.25,
g = player.color.g * 0.6 + 0.25,
@@ -336,8 +336,8 @@ local function draw_level_text(player)
a = 1
},
players = players,
scale = 1.10,
font = "scenario-message-dialog",
scale = 1.00,
font = "default-large-semibold",
alignment = "center",
scale_with_zoom = false
}