Page 1 of 1

Cosmetic bug in tech tree and in-game help browser

Posted: Tue Sep 08, 2020 4:51 pm
by Corbeau
There is a problem with some items depiction in the tech tree and in-game help.

This is the situation. First, buildings.ruleset:

Code: Select all

reqs	=
    { "type", "name", "range", "negated"
      "Tech", "Navigation", "Player", FALSE
      "Terrain", "Ocean", "Adjacent", FALSE
      "Tech", "The Republic", "Player", TRUE
      "Tech", "Democracy", "Player", TRUE
    }
The idea is that it is impossible to build this if your government is Democracy or Republic. Everything works fine, except how it is shown in the mentioned cases - see attached image.

So, the client grabs everything from the requirements, regardless if it allows or prevents the feature, and puts it for display. It even creates the funny situation where something is "prevented" and "allowed" in the same screen.

It may be confusing for someone unacquainted with the feature, but other than that, it's not a functional problem. I'm simply drawing attention in case someone wants to fix it.

Re: Cosmetic bug in tech tree and in-game help browser

Posted: Tue Sep 08, 2020 5:13 pm
by Ignatus
Is it 2.5 or 2.6?

Re: Cosmetic bug in tech tree and in-game help browser

Posted: Tue Sep 08, 2020 11:10 pm
by Corbeau
It's 2.5.

Re: Cosmetic bug in tech tree and in-game help browser

Posted: Wed Sep 09, 2020 6:06 am
by Ignatus
As forum says, you should replace "Tech" on "Government" in the two negated reqs to get the desired effect, IDK will the governments be described correctly then, but yes, requirement negation is often improperly goes to autohelp. Be patient, we have invented it only two or three versions ago :P

Re: Cosmetic bug in tech tree and in-game help browser

Posted: Wed Sep 09, 2020 8:14 pm
by Corbeau
Ok, effectively, I made a typo in the original post. Yesm it's supposed to depend on whether the tech was discovered, not on the government.

Which has nothing to do with the issue: putting an image where it shouldn't be.

And, like I said, it's cosmetic and not a problem for someone who is aware of it. Just pointing it out for te Higher Beings to see ;)