Page 1 of 1
Updated API specification
Posted: Sun Oct 25, 2015 11:21 am
by Kalsius
I am working on a mod and whilst the forums can be very helpful one thing which is frustrating is a complete, up to date interface specification showing events, properties and methods isnt really available. I have noticed that some topics highlight methods/properties which are not in the wiki. Is there an alternate source for this information I can use until the wiki is updated? I'd be happy to contribute to the wiki in updating but without a reference it would be dificult!
I am new to lua but have done lots of dev in the past, can I export the interfaces in game?
Re: Updated API specification
Posted: Sun Oct 25, 2015 11:41 am
by prg
Kalsius wrote:I am working on a mod and whilst the forums can be very helpful one thing which is frustrating is a complete, up to date interface specification showing events, properties and methods isnt really available. I have noticed that some topics highlight methods/properties which are not in the wiki. Is there an alternate source for this information I can use until the wiki is updated? I'd be happy to contribute to the wiki in updating but without a reference it would be dificult!
I am new to lua but have done lots of dev in the past, can I export the interfaces in game?
You can call .help() on the various game objects to get an up to date list of methods and values. Of course this doesn't explain what the methods do and values mean, but still...
Re: Updated API specification
Posted: Sun Oct 25, 2015 9:55 pm
by Rseding91
Kalsius wrote:I am working on a mod and whilst the forums can be very helpful one thing which is frustrating is a complete, up to date interface specification showing events, properties and methods isnt really available. I have noticed that some topics highlight methods/properties which are not in the wiki. Is there an alternate source for this information I can use until the wiki is updated? I'd be happy to contribute to the wiki in updating but without a reference it would be dificult!
I am new to lua but have done lots of dev in the past, can I export the interfaces in game?
Are you referencing this?
https://forums.factorio.com/wiki/inde ... s#Chapters
Because as far as I know that's 99%~ up to date.