Template:HostDiffs

From VGA Planets Wiki
Jump to navigationJump to search

Differences between NuHost and Host 3.22

1. Different ammount of mines, factories and defenses:

Taken from Donovans:

Maximum structures:

Mines: one for every clan up to 200, above that it's 200+SQRT(clans-200)

Factories: one for every clan up to 100, above that it's 100+SQRT(clans-100)

Effectively this is one for every clan up to 101, due to SQRT(101-100) being 1

Defenseposts: one for every clan up to 50, above that it's 50+SQRT(clans-50)

NU: Uses the math.floor (truncate) function

THOST/PHOST: Uses the round function, so in some cases there can be one more item.


2. Fuel Use:

THOST: Taken from Donovans:

fueluse = TRUNC [fuelfactor * ( TRUNC (mass/10) ) * ( (TRUNC(distance) / maxtravel) / 10000 ) ]

NU acts like PHost:

Taken from Phost-Helps

Fuel consumption = TRUNC(ERND((FuellessShipMass+ShipFuel)/10)* 10*FUEL_CONSUMPTION_RATE*TRUNC(DistanceToTravel))