Skip to content

Commit

Permalink
Explicit starting spaceport seeds
Browse files Browse the repository at this point in the history
- Starports in starting systems have "wandered" due to implicit seed changes affecting placement algorithm. Attempt to control that by restoring old seed value.
  • Loading branch information
sturnclaw committed Sep 6, 2023
1 parent 4c0ba5b commit 817cda3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/systems/00_sol.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,15 @@ local mars = CustomSystemBody:new('Mars', 'PLANET_TERRESTRIAL')

local mars_starports = {
CustomSystemBody:new('Bradbury Landing', 'STARPORT_SURFACE')
:seed(201299135)
:latitude(math.deg2rad(-4.5895))
:longitude(math.deg2rad(-137.4417)),
CustomSystemBody:new('Cydonia', 'STARPORT_SURFACE')
:seed(2874781459)
:latitude(math.deg2rad(-29))
:longitude(math.deg2rad(124)),
CustomSystemBody:new('Olympus Mons', 'STARPORT_SURFACE')
:seed(3046926584)
:latitude(math.deg2rad(25.60955))
:longitude(math.deg2rad(-41.35269)),
CustomSystemBody:new('Mars High', 'STARPORT_ORBITAL')
Expand Down
1 change: 1 addition & 0 deletions data/systems/01_epsilon_eridani.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ local newhope = CustomSystemBody:new('New Hope', 'PLANET_TERRESTRIAL')

local newhope_starports = {
CustomSystemBody:new('Itzalean', 'STARPORT_SURFACE')
:seed(795500669)
:latitude(math.deg2rad(0.0))
:longitude(math.deg2rad(45.864)),
CustomSystemBody:new('New Hope', 'STARPORT_SURFACE')
Expand Down

0 comments on commit 817cda3

Please sign in to comment.