1
Modding / Re: [0.9.51a-RC6] Starsector Portr-Ai-t Pack and Ai Model
« on: October 28, 2022, 09:53:52 AM »
Knowing how AI artwork is generated from an existing portfolio, is David (the artist) okay with this?
Starsector 0.97a is out! (02/02/24); New blog post: Save/Load UI, Autosave, Intel Map Markers, and More (04/10/24)
@Override
public void apply(){
super.apply(true);
int marketSize = market.getSize();
modifyStabilityWithBaseMod(); //Apply stabilty penalty
demand(0, Commodities.HEAVY_MACHINERY, marketSize/2, BASE_VALUE_TEXT); //Demands Heavy Machinery equal to hydroponics
Pair<String, Integer> deficit = getMaxDeficit(Commodities.HEAVY_MACHINERY); //Get deficits
log.debug("Deficit: " + deficit.one + "," + deficit.two);
if(!getAICoreId().equals(Commodities.ALPHA_CORE)) { //If core is alpha core, generate lobster
log.debug("Generating Lobsters for player.");
supply(Commodities.LOBSTER, marketSize - 5 - deficit.two);
}
supply(Commodities.FOOD, marketSize - deficit.two);
if (!isFunctional()) { supply.clear(); }
}
Versant Beginning i would love
Because there's the new update, would you please update this mod?
What new update?