Contract collateral is always from 0 and never reaches max if min is larger than 0
This affects the vanilla hauling (deliver) contract too but since it has 5k to 100k range it's hard to notice that it's in fact 0 to 95k.
The contract's sbc file has a <MinStartingDeposit> and <MaxStartingDeposit>, the bug however is that it's not random between those 2 values, it's random between 0 and max-min.
And while only the hauling/deliver contract type shows it, ALL contract types will subtract it in the same way so please fix this on all of them (in all implementations of GenerateContract where StartingDeposit is assigned)
To reproduce:
- The attached zip contains a local mod, drop it in the local mods folder (%appdata%/SpaceEngineers/Mods/) which sets all contracts to be from 9900 to 10000 collateral.
- In-game, add the mod to a new StarSystem (existing one with economy works too if easier).
- Find any trade station (datapad with GPS in respawnship cockpit inventory).
- Open their contract block, filter by Hauling types and notice that it's a very low number, even though the sbc file says minimum 9900... and none of them ever go past 100 either.
I have the same bug
Replies have been locked on this page!