kinyoshi Posted August 30, 2013 Share Posted August 30, 2013 I need a little help with my sewing kit mod, if you cut up a bag with stuff in it, you lose the stuff . How do I make it dump out to your inventory when you cut it up? I just lost a bag of food, I'm so angry Link to comment Share on other sites More sharing options...
Suomiboi Posted August 30, 2013 Share Posted August 30, 2013 You'll have to do it in lua... I'd suggest looking for RoboMat's Unpack Bags mod. It may have similar code that would do the trick. It's a good day to start Link to comment Share on other sites More sharing options...
RoboMat Posted August 30, 2013 Share Posted August 30, 2013 Yeah you'll have to make custom context menu entry which then removes all items from the container and moves them to the player's inventory instead. It's the same thing I did in "Unpack Bags". Link to comment Share on other sites More sharing options...
kinyoshi Posted August 30, 2013 Author Share Posted August 30, 2013 Yeah you'll have to make custom context menu entry which then removes all items from the container and moves them to the player's inventory instead. It's the same thing I did in "Unpack Bags".How would I disable the cut up recipe ifbag has stuff? Link to comment Share on other sites More sharing options...
RoboMat Posted August 30, 2013 Share Posted August 30, 2013 How would I disable the cut up recipe ifbag has stuff? Well it would be way more complicated than doing the stuff I mentioned above - I'm not even sure if it would be possible to remove it. You could probably write a custom recipe in lua instead of the item-scripts but I'm also not too sure about that. 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