mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-04 00:15:45 +02:00
Journey - set max satellites to 3
This commit is contained in:
parent
5cea0c5db5
commit
4d10581d49
@ -20,6 +20,7 @@ Public.size_of_particle_spawn_vectors = #Public.particle_spawn_vectors
|
||||
|
||||
Public.world_selector_width = 6
|
||||
Public.world_selector_height = 8
|
||||
Public.max_satellites = 3
|
||||
|
||||
local area = {
|
||||
left_top = {x = -3, y = math.floor(Public.mothership_radius * 0.5) * -1},
|
||||
|
@ -1003,7 +1003,11 @@ function Public.create_the_world(journey)
|
||||
journey.rocket_silos = {}
|
||||
journey.mothership_cargo["uranium-fuel-cell"] = 0
|
||||
journey.world_number = journey.world_number + 1
|
||||
journey.mothership_cargo_space["satellite"] = math_floor(journey.world_number * 0.334) + 1
|
||||
local max_satellites = math_floor(journey.world_number * 0.334) + 1
|
||||
if max_satellites > 3 then
|
||||
max_satellites = Constants.max_satellites
|
||||
end
|
||||
journey.mothership_cargo_space["satellite"] = max_satellites
|
||||
journey.mothership_cargo_space["uranium-fuel-cell"] = journey.mothership_cargo_space["uranium-fuel-cell"] + journey.world_selectors[journey.selected_world].fuel_requirement
|
||||
|
||||
game.forces.enemy.reset_evolution()
|
||||
|
Loading…
Reference in New Issue
Block a user