Hey Everyone,
Looking through the code and trying to figure out a way to have a quest grant points in two affinities to allow for hybrid quests. I've narrowed down the section of the code that determines what affinity is given out, but I'm unsure if I'm missing something for successfully...
I've been looking into what calls what myself - Harmony Quests call Microbial Mine, Xenonursey, Mass Digesters, Xeno Santuaries, and Organ Printers (for some reason...) in single quests, while chains call Ultrasonic Fence (multiple times), Xeno Nursery, Laboratory and Vivarium, Supremacy calls...
If you go into the LUA for the affinity quest in question, buildings involved in the quest are typically referenced in the top of the code with via calling their ID; changing which building it calls and then reupdating the quest in the mod should fix it.
Less mod as a whole and more single building in a mod. Will look into how big of a hassle it is, might see if there is any way to bin the tiles being worked before switching so they're still worked afterwards. Also, for simplicity, might just limited it to a few breakpoints (1-4 gets you 1 tile...
While I'm sure there might be some complaints regarding micromanagement, I think an invisible building might be the best way then. Thanks for the advice!
Hey everyone,
Bit of a weird question here that I would like to see vetted before deciding on whether to want it in my mod. Can everyone think of a way to make it so that you can have the number of free tiles worked by the city (a la by Drone Command) scales with something else? Specifically...
That should actually do it - I don't necessarily need it to be a constant check when a perk is gained, since I'm instead using it as a check of whether or not buildings should be swapped out for an expanded version with more specialist slots at the start of each players turn. Nearest I can tell...
Current State of Affinity Buildings in the mod:
For one thing, all updated buildings are less likely to survive their city being captured - if it's 66% chance to keep the enemy Thorium Reactor, it's only 33% to keep an Affinity building. A bitharder to accidentally mix a lot of affinity...
Hey Everyone!
After a regrettably long delay, I am pleased to announce that Version 1.0 of the Distinct Affinities Mod is ready for release!
The goal of this mod is to make it so that all of the affinities, Hybrid and Core, feel equally in depth and distinct on all levels of gameplay...
Hey everyone,
I was wondering if it was possible to use perks as triggers in LUA. I think I have the code correctly written to do what I want it to do, but it's all based on whether or not the if statement regarding whether player has a perk works - I was wondering if anyone knows any command...
Quick question - basegame has a bunch of Quests in its LUA folder that aren't in the DLC LUA Quest folder (for example, Steel Synapse and Solid State Citizen). Is this because those quests that aren't repeated are disabled in Rising Tide? Or is it because they simply didn't need an update?
That's what we were referring to about a broken part of the XML. It looks like it was kept since Civ4 days, when you could do that, but it hasn't worked since. Still trying to figure out a way to replicate it, but not looking likely
Depending on what you want to make the Miasma yield, it might be possible to cheat it in some ways - you an use the LUA to cycle through all applicable cities (based on which ones can get yield from Miasma), then for each city, cycle through all tiles it owns to keep a running count of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.