Page 1 of 1

How to make a MOD that plays factorio automatically

Posted: Sat Apr 02, 2016 9:29 am
by kengonakajima
Hi, I wanted to make an AI program that play factorio as a normal player,
that means, it don't modify game nor cheats, just play it automatically.

I have found that I can't command the player to craft inside inventory from Lua.
To automate crafting, I searched how to generate events to GUI and manipulate
player action by GUI events, but I can't find.

Is there any way to automate gameplay itself?
I want to exclude using external tools that receive screenshots of game..

Thanks!

Re: How to make a MOD that plays factorio automatically

Posted: Sat Apr 02, 2016 9:51 am
by DaveMcW
No way to automate gameplay, the devs only added enough automatic commands to make the trailer.

Re: How to make a MOD that plays factorio automatically

Posted: Sat Apr 02, 2016 11:57 am
by kengonakajima
Oh, got it, thanks...!