[1.0.0] Spidertron missing prototype data

Post Reply
billbo99
Fast Inserter
Fast Inserter
Posts: 131
Joined: Fri Nov 02, 2018 9:19 am
Contact:

[1.0.0] Spidertron missing prototype data

Post 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.


Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [1.0.0] Spidertron missing prototype data

Post by Bilka »

That's data stage. OP asked for control stage. Which has been implemented.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

billbo99
Fast Inserter
Fast Inserter
Posts: 131
Joined: Fri Nov 02, 2018 9:19 am
Contact:

Re: [1.0.0] Spidertron missing prototype data

Post by billbo99 »

many thanks

Post Reply

Return to “Implemented mod requests”