Search found 883 matches

by Impatient
Sun Mar 20, 2016 3:03 pm
Forum: Modding help
Topic: access value of belt speed? factorio 0.12.26/27
Replies: 5
Views: 2016

Re: access value of belt speed? factorio 0.12.26/27

Runtime, not currently. Read access would be pretty simple to add. Write access would require we save the speed of every single belt in the world to the save file in case it wasn't what the prototype speed was defined at which would waste a ton of space in 95%+ of everyone's save file that didn't h...
by Impatient
Sun Mar 20, 2016 3:25 am
Forum: Modding help
Topic: entity objects of items on transport line (0.12.27)
Replies: 4
Views: 1753

entity objects of items on transport line (0.12.27)

Hi, is there currently (0.12.26/0.12.27) a way of getting a list of entities on a transport line? it seems, former solutions of finding them with game.surface.find_entities and game.surface.find_entities_filtered do not work anymore. once an item is "inserted" into a LuaTransportLine, it i...
by Impatient
Sun Mar 20, 2016 3:11 am
Forum: Modding help
Topic: access value of belt speed? factorio 0.12.26/27
Replies: 5
Views: 2016

access value of belt speed? factorio 0.12.26/27

Hi,

is there currently (0.12.26/27) a way to access the speed of a belt via the api? i know i can set it in the entities definition. but can i access it programmatically?

thanks

Go to advanced search