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

MemeWizard

Second Lieutenant
26 Badges
Dec 18, 2016
140
20
  • Surviving Mars
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Federations
  • Crusader Kings III
  • Age of Wonders III
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II
  • Warlock: Master of the Arcane
One line summary of your issue
[3.1 - KKAD] "A Town is born" event can fire if province already have 7 holding slots

Game Version
3.1 - KKAD

What expansions do you have installed?
All of the above

Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
This event can fire for a province that are already has 7 available slots.
In this case, this event will not add extra slots.

Steps to reproduce the issue.
Restore the Lighthouse of Alexandria

Upload Attachment
 

Attachments

  • ck2_13.png
    ck2_13.png
    2,7 MB · Views: 32
Upvote 0
Hell, you don't need to reproduce it; the issue in the code is obvious. Event is LT.60001 in LT_wonder_flavor_event_2.txt; with a trigger block
Code:
trigger = {
       is_alive = yes
       is_inaccessible_trigger = no
       war = no
       FROMFROM = {
           wonder_age = 50
           num_of_wonder_upgrades = 2
       }
       FROMFROMFROM = { NOT = { has_province_flag = had_event_LT_60001 } }
   }
There's nothing in it to check the number of holding slots. Just needs a NOT = { num_of_max_settlements = 7 } in the FROMFROMFROM, I do believe.