Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Inventory Wipe Save [Deleted]

Status
Not open for further replies.
LordBones submitted a new resource:

Inventory Wipe Save - Take away all the items, save it. Bring it all back.

Wrote this for someone wanting to have items be 'robbed' from the player and brought back later. I coded this in around 10 minutes and she thought it might be useful.

Basically you write out the function in a script in an event:
bones_saveItems();
It will save all the items and take them away from the player. If you don't want some items to be taken you call an object with the property dontTake as below:
bones_saveItems({dontTake: "2,3"});
The "2,3" is where you put in all the item IDs you...
Read more about this resource...
 
Status
Not open for further replies.
Top