About 0.15 Lua commands
I can't understand it: Factorio\doc-html Inside command.
now “/c game.local_player.insert{name="speed-module-3", count=50}" This command An error will occur. Unable to obtain items.
As shown:
Please know, can help solve. Present can be directly generated speed moule 3 Command.
thank you very much indeed
0.15 lua command
Re: 0.15 lua command
I can't find the docs you're referring to but I think it should only be "player" not "local_player", like so:
Code: Select all
/c game.player.insert{name="speed-module-3", count=50}
Re: 0.15 lua command
http://lua-api.factorio.com/latest/LuaG ... ipt.playeraaargha wrote:I can't find the docs you're referring to but I think it should only be "player" not "local_player", like so:Code: Select all
/c game.player.insert{name="speed-module-3", count=50}
Code: Select all
game.players[1]
Re: 0.15 lua command
Version 0.13.0
- game.local_player has been renamed to game.player and now works through remote calls.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Re: 0.15 lua command
That would explain it.prg wrote:Version 0.13.0
- game.local_player has been renamed to game.player and now works through remote calls.
Re: 0.15 lua command
Thanks very muchaaargha wrote:I can't find the docs you're referring to but I think it should only be "player" not "local_player", like so:Code: Select all
/c game.player.insert{name="speed-module-3", count=50}
The problem has been settled
Indeed, as you say..