Cosmetic bug in tech tree and in-game help browser
Posted: Tue Sep 08, 2020 4:51 pm
There is a problem with some items depiction in the tech tree and in-game help.
This is the situation. First, buildings.ruleset:
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.
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
}
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.