Stellaris
41 valoraciones
Better AI economies
2
   
Premio
Favoritos
Favorito
Quitar
Tamaño
Publicado el
121.508 KB
20 DIC 2024 a las 10:52 p. m.
1 nota sobre cambios ( ver )

Suscríbete para descargar
Better AI economies

Descripción
Hot take: the AI kinda sucks at managing its economy.

I pulled this out of a larger mod I've been working on, basically it aims to help the AI manage empire economies in several ways:

1) it monitors AI colonies, adding districts and buildings based on needs and unemployment (at cost, ie they still pay for them)-- inspired by alpha ashes similar mod

2) the AI now makes "trades." if they've excess of a resource, they will set up longterm trade to sell it for energy at a fixed rate. if they are lacking a resource, they will set up longterm import trades to buy it at a fixed rate.

they will also periodically buy amounts of strategic resources, and if close to going into resource situation from lack of a resource, are more likely to sell a resource they've in excess and then buy the missing resource-- again at fixed rates.

Because they're made at fixed rates, it is a bit of a cheat vs market trades. But I did it this way for simplicity. The outcome is that the AI no longer finds itself constantly in resource deficit situations and their economies are overall healthier.

Shouldn't clash with other mods really, as this one doesn't edit any existing files.
21 comentarios
Albys Hace 51 minutos 
Dumb question, if I use it along with Giga, will the AI try to buy/sell the modded resources?
marchin_81  [autor] hace 22 horas 
it really shouldn't, no.

the export/import trade are done with modifiers, same as when player buys rare resources from an enclave, and only fire every 2-5 years (since they're meant to be long-term). and the one-time trades to prevent deficits, that's why I said "are more likely" to sell before actually reaching deficit. they're not running every day or month, meaning AI can miss the opportunity.

building checks are more frequent, but also random so it's not every planet being checked every month. rather, it's spacing them out that way.
Stwiumfever4 4 ENE a las 7:24 a. m. 
Does affect performance in any way?
SweetGula 2 ENE a las 4:22 a. m. 
anything that helps making ai a bit better is a good mod in my book cheers !
marchin_81  [autor] 1 ENE a las 9:57 p. m. 
so yeah, some of these basically cheat that system.
Dragatus 1 ENE a las 9:55 p. m. 
Monthly trades do affect market price, but only if they exceed a certain limit. IIRC the limit is 40 for basic resources, 20 for CGs, 10 for alloys, 4 for strategic resources and 2 for rare strategic resources like Zro and Dark Matter. If you're selling more than the limit the price will slowly go down and if you're buying more than the limit the price will slowly go up. And you still pay the market fee on the trades in either case.

This is why at the very start of the game it makes more sense to buy minerals with a monthly trade than to employ miners. Technicians produce 50% more baseline energy than miners produce minerals, so even with the 30% market fee it's more efficient to employ technicians and buy minerals than to employ miners until you get to the 40 per month limit.
marchin_81  [autor] 1 ENE a las 1:31 p. m. 
do the set monthly trades there not fluctuate cost with the market like one time trades? never used them much, just know the one time trades do. here, even the one time trades and purchases I set up for them don't fluctuate though, which is why i called it a bit of a cheat.

emphasis on "a bit" though. if it were a full on cheat I wouldn't be in favor of it. I hate that whole... "let's just give the AI a bunch of free resources," mentality.
Styr 31 DIC 2024 a las 6:05 p. m. 
Selling goods at fixed rates for AIs isn't really cheating, everyone has access to that (selling at fixed rates via monthly trades) from the internal market, at least pre-galactic community.
Dragatus 26 DIC 2024 a las 6:34 a. m. 
Also points for the cover image. :steamthumbsup:
Dragatus 26 DIC 2024 a las 6:34 a. m. 
I appreciate the high level of compatibility. Will give it a try in my next game.