Jump to content

Force No Equiping?


Hydromancerx

Recommended Posts

  • 1 month later...

The best way I can see to do this is to interrupt "add to inventory" and swap the container for a dummy item whenever it is added to any inventory other than the ground, at which point the container would get swapped back in. This is kind of how furniture is currently handled.. There are a couple of ways to store the container item... actually, you just need to store the inventory of it, not the inventoryitem class itself..

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...