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

Karlington

Field Marshal
94 Badges
May 1, 2017
7.478
14.279
  • Age of Wonders: Planetfall
  • Empire of Sin
  • Crusader Kings III
  • Stellaris: Federations
  • Sengoku
  • Age of Wonders: Planetfall - Revelations
  • Age of Wonders: Planetfall Season pass
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Deluxe edition
  • Europa Universalis III Complete
  • Surviving Mars: Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Magicka: Wizard Wars Founder Wizard
  • BATTLETECH
  • Crusader Kings Complete
  • March of the Eagles
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Stellaris - Path to Destruction bundle
  • Sword of the Stars II
  • Sword of the Stars
  • Rome: Vae Victis
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
Short summary of your issue
is_available_at_peace_adult does not actually check that the character is an adult

Game Version
1.4.2

What OS are you playing on?
Windows

What platform are you using?
Steam

Do you have mods enabled?
No

Have you tried verifying your game files (Steam only)?
Yes

How much "pain" is this causing you?
3

Please explain the issue you experienced in the most condensed way possible
The is_available_at_peace_adult trigger does not actually check for adulthood. This means events that are very strange for children can occur, for example the arm wrestling event when one is a few years old, and so on.

Please explain how to reproduce the issue
Trigger any event that uses is_available_at_peace_adult. Or just check the 00_available_for_events_triggers.txt file.

Is there anything else you think could help us identify/replicate the issue?
The check is in 00_available_for_events_triggers.txt lines 124-133, and looks like this:

Code:
is_available_at_peace_adult = {
	is_alive = yes
	is_in_an_activity = no
	is_imprisoned = no
	is_busy_in_events = no
	has_contagious_deadly_disease_trigger = no
	NOT = { has_trait = incapable }
	is_at_war = no
	is_commanding_army = no
}

I have attached a save game
No

Upload Attachment
File(s) attached
 

Attachments

  • is_available_at_peace_adult.jpg
    is_available_at_peace_adult.jpg
    210 KB · Views: 0
  • 1
Reactions:
@NamelessTheSecond
Upon examination three scripted triggers suffer from the lack of checking adulthood. (The other is_*adult triggers correctly check for adulthood)

is_available_adult_or_is_commanding
is_available_at_peace_adult
is_available_at_peace_adult_lenient

The second is the one that is responsible for amusing incidents like the three year old Toddzerker going on a killing spree. The game will be the lesser, but more sensible, for fixing the trigger.
 
  • 1
  • 1Like
Reactions: