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
while, to work correctly, it should be:
Likewise for the other two events.
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