Page 1 of 1

problem with LuaTechnology.level

Posted: Mon Mar 30, 2020 7:38 pm
by CyberWizard2261
in techs with multiple levels, LuaTechnology.level is showing level + 1 except when level = max level
Am I missing something? Is it a bug? If this is the normal behavior I think it should be explained in the documentation since it's unintuitive

Re: problem with LuaTechnology.level

Posted: Mon Mar 30, 2020 8:22 pm
by eradicator
CyberWizard2261 wrote: Mon Mar 30, 2020 7:38 pm I think it should be explained in the documentation since it's unintuitive
It already does.
The current level of this technology. For level-based technology writing to this is the same as researching the technology to the *previous* level.

Re: problem with LuaTechnology.level

Posted: Mon Mar 30, 2020 8:33 pm
by CyberWizard2261
I'm sorry but if you consider this vague sentence an explanation I think there's something wrong with you

Re: problem with LuaTechnology.level

Posted: Mon Mar 30, 2020 9:40 pm
by eradicator
I'm also sorry for your inability to understand a simple sentence.

Re: problem with LuaTechnology.level

Posted: Tue Mar 31, 2020 5:43 am
by picklock
There was a similar discussion for this topic. Perhaps it is helpful for ypu:

LuaTechnology.level is not consistent

Re: problem with LuaTechnology.level

Posted: Tue Mar 31, 2020 11:28 am
by CyberWizard2261
thanks, picklock now I can make a code to circumvent this problem, but I still think this kind of unintuitive feature deserves a better explanation