• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Hansatron

Lt. General
20 Badges
Mar 30, 2020
1.200
4.675
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Cities: Skylines
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Cities: Skylines - After Dark
  • Stellaris: Synthetic Dawn
While playing around with the fifth district slot on the UI, I have been cooking up some new ideas.

One thing I want to do is create a district is normal in all ways except you cannot directly build it. Instead, you can only get it from the add_district effect. My plan is to use this as a "reward" or "upgraded" district. For example, imagine a repeatable planetary decision to convert one city district into a "super city district."

There are two ways i can think of doing this. One is to use some kind of tag or parameter similar to what capital buildings use - can_build = no. This doesn't work on districts, but maybe there is some other combination of parameters that achieves the same result.

The other method would be to have the district capped by modifier, and then only increase the max allowed slots for that district by 1 each time the planetary decision finishes. Not sure how to actually do that though.
 
Put always = no in the allow = { } wrapper.

You'll probably want to use a custom text to explain why it can't be built instead of the harsh "Never" that's generated from always = no, so you'll end up with something like this:

Code:
    allow = {
        custom_tooltip = {
            text = localisation_key_with_nicely_worded_description_here
            always = no
        }
    }
 
  • 1Like
Reactions: