verdago7 Posted December 3, 2017 Share Posted December 3, 2017 I've tried changing everything I know to resolve this one but nothing's working, anyone have any ideas? Here's the s creenshot and the file. pet_rabbit_brain.lua Link to comment Share on other sites More sharing options...
CarlZalph Posted December 3, 2017 Share Posted December 3, 2017 @verdago7 Line 58. if noveggie and item.components.edible and item.components.edible.foodtype = "carrot" then To if noveggie and item.components.edible and item.components.edible.foodtype == "carrot" then Link to comment Share on other sites More sharing options...
verdago7 Posted December 3, 2017 Author Share Posted December 3, 2017 (edited) Thanks. Tried that, new message... petrabbitbrain.lua Edited December 6, 2017 by verdago7 Link to comment Share on other sites More sharing options...
verdago7 Posted December 4, 2017 Author Share Posted December 4, 2017 Bump, can't figure this out Link to comment Share on other sites More sharing options...
verdago7 Posted December 5, 2017 Author Share Posted December 5, 2017 Bump Link to comment Share on other sites More sharing options...
JohnWatson Posted December 5, 2017 Share Posted December 5, 2017 change line 115 from this return Pet_Rabbit_Brain to this return RabbitBrain Link to comment Share on other sites More sharing options...
verdago7 Posted December 5, 2017 Author Share Posted December 5, 2017 Nope, same message Link to comment Share on other sites More sharing options...
verdago7 Posted December 6, 2017 Author Share Posted December 6, 2017 I have a theory... I think I need to add a command in my modmain that would add petrabbitbrain into the mainfunctions.lua that is outside the mod. The problem is I'm not familiar with how the command would look. I'm going to start searching through all the strings I can to find something similar that I can go off of in the meantime. Anyone have a suggestion and I'll try this theory? Link to comment Share on other sites More sharing options...
verdago7 Posted December 7, 2017 Author Share Posted December 7, 2017 (edited) Found this bit of code, anyone think it might be helpful? I'm going to mess around with it, but I'm kind of stabbing in the dark on this issue... Edited December 7, 2017 by verdago7 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