Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: [0.95a-RC12] Black Market has much better ship quality than other markets  (Read 672 times)

Jaghaimo

  • Admiral
  • *****
  • Posts: 661
    • View Profile

Change `qualityPerDMod` to something low, like 0.01. Open Market and Militarized Market will sell ships with 3-5 d-mods on average but Black Market will still sell pristine ships. Most likely due to doctrine override (it's the only submarket that uses it) for market owner's ships and pirate ships (indies ships are not doctrine-overriden and will have poor quality).

This makes Black Market the best (and most reliable) place to buy great ships.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24130
    • View Profile

Ah, this is not a bug; see:
Math.min(1f, Misc.getShipQuality(market, market.getFactionId()) + 0.5f),

The black market specifically has better-quality ships, and the way you're adjusting the number of d-mods won't quite do what you want - it'll have no effect when quality values are >=1f. (I've expanded on this a bit in my response in the Misc modding questions thread.)
Logged