Search found 6 matches
- Mon Apr 28, 2025 7:44 pm
- Forum: Ideas and Suggestions
- Topic: Help Documents API?
- Replies: 3
- Views: 313
Re: Help Documents API?
Both great pieces of info, thanks @eugenekay and @robot256. This project has evolved a bit and now I'm building a Factorio MCP server. I ended up using prototype.item to get the list of items I needed for inventory manipulation. Once it's ready for release I'll share it somehow!
- Mon Apr 28, 2025 7:33 pm
- Forum: Modding help
- Topic: Lua Command - Get game version
- Replies: 1
- Views: 96
Lua Command - Get game version
I'm using RCON to programmatically get commands into the game. Working splendidly so far. I stumbled across a minor issue and don't know Lua well enough to solve it. If I want to get the output of /version or some other slash command sent to the RCON output, how can I do that? What I'd like is ...
- Mon Apr 14, 2025 2:13 pm
- Forum: Modding help
- Topic: Lua Command - Add item to named player inventory
- Replies: 3
- Views: 232
Re: Lua Command - Add item to named player inventory
A follow up question...how do you add items at different quality levels? Say I want to add rare iron plates...is that a property of the item insert command or is it treated as a separate item?
Example:
This inserts items into the named player's inventory. How would I modify this command to make the ...
Example:
This inserts items into the named player's inventory. How would I modify this command to make the ...
- Sat Apr 12, 2025 2:19 pm
- Forum: Modding help
- Topic: Lua Command - Add item to named player inventory
- Replies: 3
- Views: 232
Re: Lua Command - Add item to named player inventory
Nailed it. Thanks!
- Sat Apr 12, 2025 2:00 am
- Forum: Modding help
- Topic: Lua Command - Add item to named player inventory
- Replies: 3
- Views: 232
Lua Command - Add item to named player inventory
I'm just dipping my toes into scripting in Factorio and I can't seem to find an answer to this question directly...I want to add an item into a player's inventory in a multiplayer game. Say the character's name is "jim123"...what console command can I run to give "jim123" a stack of iron plate, for ...
- Thu Jan 23, 2025 4:32 pm
- Forum: Ideas and Suggestions
- Topic: Help Documents API?
- Replies: 3
- Views: 313
Help Documents API?
Hi Factorio devs, you've devoured a ton of my life over the past few years and I thank you for it! I work in tech and would like to use the new (well, new-ish at this point) AI craze to build a mod or standalone site to use an LLM to help Factorio players build better factories. I would love to have ...