Lawrence Posted January 18, 2014 Share Posted January 18, 2014 (edited) Hello there.I got an ANNOYING problem: the custom ingredient icons won't appear in the recipe. I tried to: .. put the ATLAS and IMAGE in the assets list;.. wrote inst.item= Ingredient( "item", 1) inst.item.atlas = "images/inventoryimages/item.xml" .....local item = GLOBAL.ingredient("item", 1) (this one in modmain) item.atlas = "images/inventoryimages/item.xml" ... But it still gives me that: WARNING! Could not find region 'item.tex' from atlas 'images/inventoryimages.xml'. Is the region specified in the atlas?images/inventoryimages.xml again and again. I know I missing something very simple, but I can't figure what is. I just can't.What's the correct procedure for adding an ingredient icon? Thank you once again... - Lawrence C. S. Edited January 18, 2014 by Lawrence Link to comment https://forums.kleientertainment.com/forums/topic/30983-ingredient-icon-wont-appear/ Share on other sites More sharing options...
Lawrence Posted January 18, 2014 Author Share Posted January 18, 2014 (edited) Dear Lawrence, you forgot to put "inst.item" in the recipe ingredients!Try this: inst.itemrecipe = Recipe( "itemX", { Ingredient("something",2), inst.item}, RECIPETABS etc. etc. Edited January 18, 2014 by Lawrence Link to comment https://forums.kleientertainment.com/forums/topic/30983-ingredient-icon-wont-appear/#findComment-405422 Share on other sites More sharing options...
Lawrence Posted January 18, 2014 Author Share Posted January 18, 2014 (edited) Oh, thank you Myself. What would I do without you? Edited January 18, 2014 by Lawrence Link to comment https://forums.kleientertainment.com/forums/topic/30983-ingredient-icon-wont-appear/#findComment-405425 Share on other sites More sharing options...
Lawrence Posted January 18, 2014 Author Share Posted January 18, 2014 Sorry for that stupid post, but as usual, I spend hours to find the solution to a problem, I do not find it, I ask in the forum, and then I figure out that I'm an idiot ... Anyway, I hope this post will be useful for prevent people to do my same error Link to comment https://forums.kleientertainment.com/forums/topic/30983-ingredient-icon-wont-appear/#findComment-405428 Share on other sites More sharing options...
AnimeOfTheArts Posted January 29, 2015 Share Posted January 29, 2015 Dear Lawrence, you forgot to put "inst.item" in the recipe ingredients!Try this: inst.itemrecipe = Recipe( "itemX", { Ingredient("something",2), inst.item}, RECIPETABS etc. etc.im not sure what you mean by inst.itemrecipe = Recipe does that go in the modmain? because any inst. anything in my modmain causes a crash Link to comment https://forums.kleientertainment.com/forums/topic/30983-ingredient-icon-wont-appear/#findComment-607506 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