Skip to content

Commit

Permalink
Reduce the flow of tradeships
Browse files Browse the repository at this point in the history
- reduce the flow to the most popular station in system by 40%.
- reduce the maximum station load by 25%
- reduce the maximum ships limit by 40%

This is to improve the performance. although these parameters are
independent, it is better to change them synchronously.  For example, if
you just reduce the allowable number of ships, in all systems this
number can become the same.  If the load on the station is not reduced,
the ships will stay there for too long.
  • Loading branch information
Gliese852 authored and Webster Sheets committed May 2, 2021
1 parent 6081f3e commit 9795b9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/modules/TradeShips/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ local Core = {
-- CONSTANTS / SETTINGS
AU = 149598000000.0, -- meters

MAX_ROUTE_FLOW = 3, -- flow to the most popular station in the system, ships/hour
MAX_BUSY = 0.4, -- maximum station load
MAX_SHIPS = 500, -- ~ maximim ships in open space (limitation for performance reasons)
MAX_ROUTE_FLOW = 1.8, -- flow to the most popular station in the system, ships/hour
MAX_BUSY = 0.3, -- maximum station load
MAX_SHIPS = 300, -- ~ maximim ships in open space (limitation for performance reasons)
MIN_STATION_DOCKING_TIME = 2, -- hours, minimum average time of the ship's stay at the station

WAIT_FOR_NEXT_UNDOCK = 600, -- seconds
Expand Down

0 comments on commit 9795b9d

Please sign in to comment.