Page 1 of 1

[boskid][2.0.10] Error accessing prototypes.technology["space-science-pack"].research_trigger in the base game

Posted: Thu Oct 24, 2024 11:10 pm
by ignatio
To reproduce: Load only the base mod in 2.0.10 and start a new game. Then try to evaluate `prototypes.technology["space-science-pack"].research_trigger`, e.g. like so:

Code: Select all

/c print(prototypes.technology["space-science-pack"].research_trigger)
Cannot execute command: Error: Value must be a list or none in property tree at ROOT
The same thing works fine for e.g. `prototypes.technology["automation-science-pack"].research_trigger` and produces the expected table.

Re: [boskid][2.0.10] Error accessing prototypes.technology["space-science-pack"].research_trigger in the base game

Posted: Thu Oct 24, 2024 11:30 pm
by boskid
Thanks for the report. Issue is now fixed for 2.0.11. This issue was affecting 2 types of research triggers: "send-item-to-orbit" and "build-entity", both are fixed.

Re: [boskid][2.0.10] Error accessing prototypes.technology["space-science-pack"].research_trigger in the base game

Posted: Fri Oct 25, 2024 12:28 am
by ignatio
That was quick, thanks.