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

Rydelfox

Lt. General
90 Badges
Oct 30, 2016
1.476
12
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Sword of the Stars
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Hearts of Iron III
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
One line summary of your issue
Game checks for Iron instead of Mercury (3.0.1.1)

Game Version
3.0.1.1

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.
In several scripted triggers, the code checks for ingredient_metal_exotic8 twice, with one commented are Mercury and the other commented as iron. Mercury is ingredient_metal_exotic2, so it never actually gets checked for.

The affected scripted triggers are:
selected_ingredient_is_perceived_healthy_trigger
selected_ingredient_is_unhealthy_trigger
ingredient_is_perceived_healthy_trigger
ingredient_is_unhealthy_trigger

Steps to reproduce the issue.
Do anything that cares about how healthy an ingredient is and choose Mercury. It's perceived as less healthy than it should, and the results are more healthy than they should be

Upload Attachment
 
Upvote 0
The game also doesn't seem to calculate the health levels of ingredients correctly. In calculate_health_level_of_ingredient_1_effect and calculate_health_level_of_ingredient_2_effect, and , it runs ingredient_is_perceived_healthy_trigger and ingredient_is_unhealthy_trigger in a character scope in the first if-limit. Those triggers should be moved inside the any_artifact scope immediately above them.