Cthonicus Posted September 19, 2022 Share Posted September 19, 2022 Hello everyone, After sometime from making a character mod that had a custom item, I unfortunately noticed that the character's item doesn't appear in the special crafting section for that character. The only way I can craft it is by searching for the item as it doesn't appear in any category, not even in the weapon one. Also, how would I make it so my character is the only one that can craft the item? Currently it's set so that anyone playing any character can craft it as long as the mod is enabled, but I would like it so that only the modded character can do so. Thanks in advance Link to comment https://forums.kleientertainment.com/forums/topic/143289-new-inventory-system/ Share on other sites More sharing options...
kipper0k Posted September 19, 2022 Share Posted September 19, 2022 AddCharacterRecipe("item", {Ingredient("item", 1), Ingredient("item", 1)}, TECH.SCIENCE_THREE, {builder_tag="TAG"}) Link to comment https://forums.kleientertainment.com/forums/topic/143289-new-inventory-system/#findComment-1598810 Share on other sites More sharing options...
Cthonicus Posted September 19, 2022 Author Share Posted September 19, 2022 22 minutes ago, kipper0k said: AddCharacterRecipe("item", {Ingredient("item", 1), Ingredient("item", 1)}, TECH.SCIENCE_THREE, {builder_tag="TAG"}) Wow that was quick haha ty Will this 1: fix the current inventory issue and also make it character specific? Also, would I put this in the item's prefab or character's? Link to comment https://forums.kleientertainment.com/forums/topic/143289-new-inventory-system/#findComment-1598812 Share on other sites More sharing options...
kipper0k Posted September 19, 2022 Share Posted September 19, 2022 (edited) 1. да 2. in your main.lua Edited September 19, 2022 by kipper0k Link to comment https://forums.kleientertainment.com/forums/topic/143289-new-inventory-system/#findComment-1598850 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