eva08maicy02 Posted April 22, 2022 Share Posted April 22, 2022 (edited) I'm making a recipe and I want the Result to be two new items, so I try this: Result:id.itemA;id.itemB, Turns out this doesn't work. I found two posts on the forum, they are here: Even though both of these articles are many years old, I still try to do it. I test it in debug mode then I get the error: I checked many times and I don't know what else needs to be modified for this Lua setup to make it work... Edited April 23, 2022 by eva08maicy02 Solved Link to comment Share on other sites More sharing options...
Planet Algol Posted April 22, 2022 Share Posted April 22, 2022 It should be inv:AddItem(... You're missing the colon in invAddItem(... eva08maicy02 1 Link to comment Share on other sites More sharing options...
eva08maicy02 Posted April 23, 2022 Author Share Posted April 23, 2022 (edited) 11 hours ago, Planet Algol said: It should be inv:AddItem(... You're missing the colon in invAddItem(... Thanks for checking this Lua, I didn't notice that I was missing a " : ". It's working now Edited April 23, 2022 by eva08maicy02 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now