Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Is this independent station supposed to be secretly pirate operated?  (Read 1027 times)

Gothars

  • Global Moderator
  • Admiral
  • *****
  • Posts: 4403
  • Eschewing obfuscatory verbosity.
    • View Profile

(Galatia System)
Spoiler
[close]


Unrelated: AI-controlled carriers which only have a Xyphos wing (which always stays with the ship) set that wing to "engage", pointlessly halving their speed. (Happens to me too, setting should maybe start on "regroup"?)

« Last Edit: April 24, 2017, 06:15:08 AM by Gothars »
Logged
The game was completed 8 years ago and we get a free expansion every year.

Arranging holidays in an embrace with the Starsector is priceless.

Histidine

  • Admiral
  • *****
  • Posts: 4682
    • View Profile
    • GitHub profile
Re: Is this independent station supposed to be secretly pirate operated?
« Reply #1 on: April 24, 2017, 06:21:56 AM »

The mining station starts owned by pirates, and gets transferred to the independents when the tutorial ends (or is skipped). But it seems Alex forgot to change the open submarket's faction as well.

Spoiler
RogueMinerMiscFleetManager.java, lines 25-40:
Code: java
	@Override
public void advance(float amount) {
super.advance(amount);

if (isDone()) return;

float days = Global.getSector().getClock().convertToDays(amount);
daysRemaining -= days;
if (daysRemaining <= 0) {
// source is Derinkuyu; going back to independent status
source.setFaction(Factions.INDEPENDENT); // entity
source.getMarket().setFactionId(Factions.INDEPENDENT); // market
// but no submarket, q_q
setDone(true);
}
}
[close]
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24114
    • View Profile
Re: Is this independent station supposed to be secretly pirate operated?
« Reply #2 on: April 24, 2017, 08:49:08 AM »

Thanks - fixed the market issue and noted the carrier one.
Logged