• 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.

Seomis

Major
49 Badges
Jun 27, 2016
562
418
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Prison Architect
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Cities: Skylines
  • Victoria 2
  • Stellaris
  • Age of Wonders III
I have the following in "common/buildings/00_buildings.txt":

Code:
allow = {
        OR = {
            planet = {
                sector_controlled = no
            }
            tile = {
                OR = {
                    has_deposit = d_society_deposit
                    has_deposit = d_rich_society_deposit
                    has_deposit = d_vast_society_deposit
                    has_deposit = d_immense_society_deposit
                }
            }
        }
    }

It's used as a means of preventing sector AI from upgrading a science lab to a biolab unless there's a society deposit present on the tile. However, changing "allow" to "ai_allow" causes sector AI to ignore the restriction for some reason. It's not a major issue since only sector AI is affected in either case, but the difference was unexpected.
 
Last edited:
Upvote 0

ForzaA

Thalassic QA
Paradox Staff
QA
69 Badges
Apr 1, 2001
10.288
1.546
  • Rome Gold
  • Knights of Pen and Paper +1 Edition
  • Leviathan: Warships
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • King Arthur II
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Starvoid
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Imperator: Rome Sign Up
  • Dungeonland
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • A Game of Dwarves
  • East India Company Collection
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
Thank you for your report.

This may be as designed (the sector AI is not a full AI) - but if it is, it could certainly do with better documentation of that fact.