Page 1 of 1

[1.0.0] Spidertron missing prototype data

Posted: Sat Aug 15, 2020 10:32 am
by billbo99
I was looking to query Spidertron from LUA during the control.lua phase and found there is no property .guns available.


If I look at `game.entity_prototypes["tank"].guns` I can see all 3x weapons available in a tank.

Under `game.entity_prototypes["spidertron"]` there is no property .guns to query the weapons it has available.



BTW .. The wiki as a page for cars/tanks .. https://wiki.factorio.com/Prototype/Car .. but not finding any documentation for Spidertron.

Re: [1.0.0] Spidertron missing prototype data

Posted: Mon Aug 17, 2020 3:57 pm
by devilwarriors

Re: [1.0.0] Spidertron missing prototype data

Posted: Mon Aug 17, 2020 4:18 pm
by Bilka
That's data stage. OP asked for control stage. Which has been implemented.

Re: [1.0.0] Spidertron missing prototype data

Posted: Tue Aug 18, 2020 9:31 pm
by billbo99
many thanks