mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-30 23:17:53 +02:00
More relevant Journey satellites count comparison
Small fix for future to easily change maximum satellites count if needed (not hardcoded to 3).
This commit is contained in:
parent
4606de6207
commit
46383fc354
@ -1004,7 +1004,7 @@ function Public.create_the_world(journey)
|
||||
journey.mothership_cargo["uranium-fuel-cell"] = 0
|
||||
journey.world_number = journey.world_number + 1
|
||||
local max_satellites = math_floor(journey.world_number * 0.334) + 1
|
||||
if max_satellites > 3 then
|
||||
if max_satellites > Constants.max_satellites then
|
||||
max_satellites = Constants.max_satellites
|
||||
end
|
||||
journey.mothership_cargo_space["satellite"] = max_satellites
|
||||
|
Loading…
Reference in New Issue
Block a user