Duplicate Stellaris - Deficit situation doesn't resolve despite 0 consumption [3.4.2] [7836]

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

Starfury

Ashanti Globetrotter
73 Badges
Jun 13, 2004
1.222
1.807
  • Europa Universalis IV: Cossacks
  • Rome Gold
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Nemesis
  • Europa Universalis IV: Art of War
  • Arsenal of Democracy
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • A Game of Dwarves
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Majesty 2
Description
Deficit situation doesn't resolve despite 0 consumption [3.4.2] [7836]

Game Version
3.4.2

What version do you use?
Steam

What expansions do you have installed?


Do you have mods enabled?

No

Please explain your issue is in as much detail as possible.
If you get into a rare resource deficit (for expample by conquering a planet with advanced buildings) when you have 0 production of that resource, you remain stuck in the deficit even after consuming no more of that resource.

If the checks for "not in deficit" were changed to "value >= 0, that problem wouldn't occur.
Code:
modifier = {
            subtract = 5
            desc = string_not_in_deficit_exotic_gases
            owner = {
                resource_income_compare = {
                    resource = exotic_gases
                    value > 0
                }
            }
        }

Steps to reproduce the issue.
Start a game
open console
select your capital
type "effect add_building = building_research_lab_2"
let the game run until the deficit situation starts
downgrade the reseach building
deficit situation remains stuck

Upload Attachment
File(s) attached
 

Attachments

  • Deficit.png
    Deficit.png
    490,5 KB · Views: 0
  • 1Like
Reactions: