I'm currently working on a GUI program that should make it easy to create mods with a few clicks.
I also want to provide a simple Lua Editor. But For the auto completetion I have to know what version of Lua the game is using so that no functions are shown that are deprecated or not even implemented.
Also a short sneak peek on the software as attachment.
What Lua Version does the game use?
What Lua Version does the game use?
- Attachments
-
- bmfm.jpg (72.9 KiB) Viewed 4470 times
I'm currently working on a tool that will allow everyone to create mods for Factorio without having to learn any of the complicated stuff.
Follow the development here: viewtopic.php?f=137&t=40830.
Follow the development here: viewtopic.php?f=137&t=40830.
Re: What Lua Version does the game use?
Code: Select all
/c game.player.print(_VERSION)
Code: Select all
Lua 5.2
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: What Lua Version does the game use?
prg wrote:Code: Select all
/c game.player.print(_VERSION)
Code: Select all
Lua 5.2
Thank you very much.daniel34 wrote:Lua 5.2.1.
I'm currently working on a tool that will allow everyone to create mods for Factorio without having to learn any of the complicated stuff.
Follow the development here: viewtopic.php?f=137&t=40830.
Follow the development here: viewtopic.php?f=137&t=40830.
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: What Lua Version does the game use?
If possible, please make it so your editor sets up the common directory structure (based on what's in mod) as that will make it much easier should community need to offer support or provide long-term maintenance of mod at later date.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Re: What Lua Version does the game use?
There exists `_VERSION` global variable, which reports current version. (5.2 indeed)
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.