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