Author Topic: Inventory Code?  (Read 1642 times)

Is there a way I can provide a extra space of Inventory for things like a Backpack or a Knapsack?


Specify a higher maxTools in the player datablock.


use global variables

Why?



Anyway OP I'm not quite sure what you want; please explain better.

he wants an item that you can equip and it would give you more inventory space in your QMenu

you could make it so when you equipd the item it changes your datablock to one with higher space

What i would like is to make a backpack that when you hold it and activate it, it shows a new inventory with empty slots that you can fill, and take them out.

you could make it so when you equipd the item it changes your datablock to one with higher space
That would change it for everyone. Read it wrong.
« Last Edit: March 09, 2013, 12:28:38 AM by Little Anarchist »

That would change it for everyone.
...
2 Datablocks.
Player uses Datablock A with 3 spaces.
Player finds backpack item
Player switches to Datablock B with 5 spaces.