openly-retro / stellaris-machine-robot-expansion

Reviving XVCV's "Machine & Robot Expansion" mod
https://steamcommunity.com/sharedfiles/filedetails/?id=3163759042
2 stars 2 forks source link

Removing DE/DA/RS civic via Source Code AP doesn't refund the used civic that was removed #92

Closed openly-retro closed 6 months ago

openly-retro commented 6 months ago

See https://discord.com/channels/378985949373399040/676376359513227304/1209230779440439336

ArchmageMC did some playtesting and found the following:

Yeah Source code reprogramming doesn't give the civic slot until you run the project And it does and doesn't give +1 civic. If you remove your unique empire trait, you get +1 civic, but would actaully need +2 civics if you were getting rid of a civic. when you start like a normal robot empire and take it, you get +1 civics like normal when aquiring a unique empire type And when you swap them around, you get +1 civic as well

And if you remove DE/DA/RS you DON'T get +1 civic. Well, you do, but you aren't refunded the civic slot you just gave up. So instead of being +3 civic after running the project, I'm +2, even though that means I'd only have 3 civics total not 4 like the project should allow. So what I can suggest is either a new button or allowing to select the button for your unique empire type if you have one that lets you 'affirm' your empire type for +1 civic slot in the way of "code optimization" And for the "removing the civic", change the paramater to +2 civics instaed of +1 to fix the bug with it.

Next steps:

Possible fixes:

openly-retro commented 6 months ago

Testing as non DE:

Testing as DE

openly-retro commented 6 months ago

My thoughts:

can use civics_count > N as a limit

openly-retro commented 6 months ago

ArchmageMC suggested

have one of its requirements be the tech that gives +1 civic points Uh... galactic adminsitration I think its called?

Going to try adding that as a limit

openly-retro commented 6 months ago

Testing:

new game, open console

I ended up adding a tech limit to the AP image

openly-retro commented 6 months ago

in progress -- dialogue boxes to remove civics after adding DE/DA/RS

with check ONLY if civics are >= 3 at project competion

also add a monthly check that the source code was overhauled. set a country flag &chek every month in case the player X out of the dialogue

openly-retro commented 6 months ago

This is all patched up now. plus new graphics added.