mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-03 13:12:11 +02:00
tweaks
This commit is contained in:
parent
0dca8bdfd4
commit
6e151a2439
@ -129,10 +129,9 @@ function Public.rock_spawns_biters(cave_miner, position)
|
||||
local amount = Public.roll_biter_amount()
|
||||
local surface = game.surfaces.nauvis
|
||||
local difficulty_modifier = Public.get_difficulty_modifier(position)
|
||||
local tick = game.tick
|
||||
for _ = 1, amount, 1 do
|
||||
tick = tick + math_random(30, 90)
|
||||
Esq.add_to_queue(tick, surface, {name = BiterRaffle.roll("mixed", difficulty_modifier), position = position, force = "enemy"}, 8)
|
||||
local tick = game.tick
|
||||
for c = 1, amount, 1 do
|
||||
Esq.add_to_queue(tick + c * 25, surface, {name = BiterRaffle.roll("mixed", difficulty_modifier), position = position, force = "enemy"}, 8)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -189,7 +189,7 @@ local function on_init()
|
||||
|
||||
global.rocks_yield_ore_maximum_amount = 256
|
||||
global.rocks_yield_ore_base_amount = 16
|
||||
global.rocks_yield_ore_distance_modifier = 0.01
|
||||
global.rocks_yield_ore_distance_modifier = 0.0128
|
||||
|
||||
Explosives.set_destructible_tile("out-of-map", 1500)
|
||||
Explosives.set_destructible_tile("water", 1000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user