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.
[1.0.0] Spidertron missing prototype data
-
- Filter Inserter
- Posts: 311
- Joined: Sat Jan 09, 2016 1:11 am
- Contact:
Re: [1.0.0] Spidertron missing prototype data
That's data stage. OP asked for control stage. Which has been implemented.devilwarriors wrote: ↑Mon Aug 17, 2020 3:57 pm https://github.com/wube/factorio-data/b ... .lua#L7372
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [1.0.0] Spidertron missing prototype data
many thanks