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

QE1

Recruit
17 Badges
Aug 10, 2009
4
0
  • Cities in Motion
  • Stellaris - Path to Destruction bundle
  • Semper Fi
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Darkest Hour
  • Arsenal of Democracy
  • 500k Club
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Stellaris: Apocalypse
The secret weapon events #8002 (Turbojet CAG), #8012 (Nuclear captial ship propulsion) and #8013 (Nuclear screening ship propulsion) do not work as expected.

They should trigger when one of several techs are researched, yet trigger only when all of the techs have been completed, because the OR in the scripting is messed up.

Taking #8002 as an example it should trigger when Practical Turbojet Engine (#15500) and either Semi-Modern Air Carrier (#3390) or Semi-Modern Light Carrier (#12140) are researched. Currently the trigger is

Code:
	trigger = {

		technology = 3390
		technology = 15500
		NOT = {
			is_tech_active = 7050
		}

		OR = {    

		technology = 12140
		technology = 15500

		NOT = {
			is_tech_active = 7050
		}
	}
}

while, to work correctly, it should be:
Code:
	trigger = {

		technology = 15500
		NOT = {
			is_tech_active = 7050
		}

		OR = {    

		technology = 12140
		technology = 3390

        }
}

Likewise for the other two events.
 
Upvote 0