In my recipe.lua file, the ')' at the end of the file either gets ignored by factorio (it says that ')' is expected) or it gets counted as an unexpected symbol. Here's a screenshot of my code, as well as the factorio error:
http://i.imgur.com/CLiVCHA.png
It says the error is in entities.lua ...
Search found 3 matches
- Sat Mar 18, 2017 4:00 pm
- Forum: Modding help
- Topic: Failed to load mod: Unexpected symbol near <eof>
- Replies: 4
- Views: 4228
- Sat Mar 18, 2017 3:04 pm
- Forum: Modding help
- Topic: Failed to load mod: Unexpected symbol near <eof>
- Replies: 4
- Views: 4228
Re: Failed to load mod: Unexpected symbol near <eof>
Still doesn't:Nexela wrote:Remove the very last comma and it should work

Code: Select all
require("prototypes.item")
require("prototypes.recipe")
require("prototypes.entity")
- Sat Mar 18, 2017 12:59 pm
- Forum: Modding help
- Topic: Failed to load mod: Unexpected symbol near <eof>
- Replies: 4
- Views: 4228
Failed to load mod: Unexpected symbol near <eof>
In my recipe.lua file, the ')' at the end of the file either gets ignored by factorio (it says that ')' is expected) or it gets counted as an unexpected symbol. Here's a screenshot of my code, as well as the factorio error:

