waynee95's Storage System

HasdrubalBarca

Veteran
Veteran
Joined
Feb 4, 2015
Messages
162
Reaction score
56
First Language
English
Primarily Uses
Sweet plugin. I'll wait for the update with making it compatible with the limited inventory plugin and the loot box. Combine it with Yanfly's discard plugin and some custom parameters plugin and you can have a system like in most crpgs.
 

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
Update 1.3
Version 1.3: 04.07.2017
- Fixed bug with DisplayCategories
- Also some optimization upgrades

If there are any issues please let me know! :)
 

Jeremiah Eastman

Gladiator
Veteran
Joined
Apr 24, 2017
Messages
510
Reaction score
315
First Language
English
Primarily Uses
RMMV
Just tested out the new version everything is working great still and I love hearing, Optimizations. Your plug in has gotten even better.:smile:
 

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
Storage System Update 1.4
Version 1.4: 01.08.2017
- Added <Cannot Store> notetag, so that the item cannot be store in the storage system.
- Fixed a bug with the open command.
- Fixed bug with help window.

This notetag makes it a bit easier to restrict certain items. Before you could only achieve that with creating a new item category with YEP_X_ItemCategories.

EDIT: The help window was overlapped by the item window and sometimes the help window was not cleared. That's fixed now.
 
Last edited:

Jeremiah Eastman

Gladiator
Veteran
Joined
Apr 24, 2017
Messages
510
Reaction score
315
First Language
English
Primarily Uses
RMMV
- Added <Cannot store> notetag, so that the item cannot be store in the storage system.
So awesome I have needed that ability for a long time, this plugin just gets better and better.:smile:
 

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
@Jeremiah Eastman
If you have any features you would like to see in this plugin, just post it here. If there are not too crazy I will most likely add them. :)

The next thing I wanna add is the ability to customize the sound effects for storing/removing items.
 

Jeremiah Eastman

Gladiator
Veteran
Joined
Apr 24, 2017
Messages
510
Reaction score
315
First Language
English
Primarily Uses
RMMV
Thanks much bud.:smile: You already saved me big time with the New Game + carry over. This plug just keeps improving nicely. I would definitely use some custom sounds if able.:smile:

Edit:

I was able to clear up so many condition branches with the new plugin tag.:smile: Now I don't have to worry about if the player put a quest item in the storage.
 
Last edited:

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
@fizzly
You can do that with using YEP_X_ItemCategories. You can get it here http://yanfly.moe/2017/05/19/yep-137-item-menu-categories-rpg-maker-mv/. It requires YEP_ItemCore tho.

For every item that should be a food item, you add the notetag <Menu Category: Food>
Then inside the storage system settings, you go to the Allowed Item Types and delete what's there already, then you add Category: Food in there.
 

DraconisKnight

Villager
Member
Joined
Aug 17, 2017
Messages
27
Reaction score
17
First Language
English
Primarily Uses
RMMV
@waynee95, I love this plugin from custom windows to being compatible with Yanfly's Item Menu Categories. The only issue that I am having with this that if you cut the item list window smaller than the default, the item names will scrunch up on itself. Is it possible to set up the item window list as a single column?

Thanks!
 

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
@DraconisKnight
Oh, I totally forgot to add that! Thanks for letting me know. :)

Storage System Update 1.5
Version 1.5: 18.08.2017
- Added column parameter to the Item Window

Download the plugin again. Because this was a change to the Plugin Parameter data, it might break your Parameters, when you use an older version. So you would have to set up the Parameters again. Sorry for that!
 

laugexd

Space Fish
Veteran
Joined
Sep 17, 2016
Messages
35
Reaction score
4
First Language
danish
Primarily Uses
RMMV
WAY_StorageSystem v1.4
by waynee95
This plugin allows you create different storage systems where the player can store his items.

>>> This plugin uses the new MV1.5.0 Plugin Parameter, so I recommend you to update your editor. Your project can still be lower than MV1.5.0


========================
Features
========================​
- Uses the new MV1.5.0 Plugin Parameter
- Create many different storage systems
- Customize every storage system individually, including the Scene
- Compatible with YEP_X_NewGamePlus
- Use YEP_CoreEngine to restrict the player's inventory using the Max Items Paramter
- Add custom categories to the storage system using YEP_X_ItemCategories

========================
Upcoming Features
========================​
- Compatibility with MrTrivel's Limited Inventory Plugin

- Loot Mode Parameter
This parameter will allow you to use a storage system as a loot box for a chest. If this parameter is set to true and this storage system will be opened, the scene will be changed to only display a small list window where you can choose which of that items you want to collect and a 'Take All' button.
In the Loot Mode Parameters you will be able to define an item pool. When opening the storage system in a chest, a random number of items from that item pool will be added to the storage.

========================
How to use
========================​
Put this plugin at the bottom of the list.

How to create a storage system:
1. Open the plugin in the Plugin-Manager.
2. Click on Storage Systems.
3. Click on a free row.
4. Now you can configure the storage system.

Download

========================
Parameter Overview
========================​
Menu Background - Set an image for the Scene Background.

Storage Title - Title that will be displayed in the title window. You can use escape codes here like \i[x], \c[x].

Info Window Text - Text that will be displayed in the info window. %1 will be replaced with the current capacity of the storage.

Max Capacity - The maximum of items that can be stored.

Item Stack Size - If this parameter is not equal to none, a stack will count as one item in regards of the max capacity. For example if the stack size is 8 and the max capacity is 20, the same item can be stored 8 times but it will only subtract 1 from the max capacity. This means you can store 8x20 items in the storage system.

Display Categories - Are the different categories displayed in the storage system
menu? This is only for visuals. All allowed types will be just in one list.
When you use YEP_X_ItemCategories, this parameter must be set to true.

Allowed Item Types - Define which items can be stored in the storage system.
You can use the following types:
- Items
- Weapons
- Armors
- KeyItems
If you want more categories, you can use YEP_X_ItemCategories. Just add the category name to the allowed types list.

========================
Scene Settings
========================​
This is the section where you can change the look of the Storage Scene. You can change that for every storage system individually.

The windows are created in the following order:

Help Window - Just your default Help Window.
Title Window - Displays the title of the storage system.
Command Window - Window for selecting if you want to add/remove an item.
Category Window - Window for choosing an item category.
Item Window - Displays the list of available items depending on the category.
Info Window - Displays the current and max capacity.
Number Window - Used for inputting how many items you want to add/remove.

========================
Plugin Commands
========================​
Main Keyword: StorageSystem

StorageSystem open id
open - Keyword for opening a storage system.

id - The id of the storage system that will be opened. If no id is specified,
the last opened storage system will be opened.

StorageSystem add id item amount
add - Keyword for adding an item to a storage system.

id - The id of the storage system.

item - The item that will be added. Use $dataItems[id], $dataWeapons[id],
$dataArmors[id].

amount - Number of items that will be added.

StorageSystem remove id item amount
remove - Keyword for removing an item from a storage system.

id - The id of the storage system.

item - The item that will be removed. Use $dataItems[id], $dataWeapons[id],
$dataArmors[id].

amount - Number of items that will be removed.

StorageSystem clear id
clear - Keyword for clearing a storage system.

id - The id of the storage system.

StorageSystem change id number
change - Keyword for changing the max capacity of a storage system.

id - The id of the storage system.

number - New max capacity.

========================
Scriptcalls
========================​
Global Object: $gameStorageSystems

$gameStorageSystems.open(id) - Opens a storage system. If no id is specified,
the last opened will be used.

$gameStorageSystems.storage(id) - Returns the storage system with the given id.

$gameStorageSystems.current() - Returns the last opened storage system.

The following script calls are called on a storage system object. Replace
storage with $gameStorageSystems.current() or $gameStorageSystems.storage(id).

storage.title() - Returns the title name.

storage.capacity() - Returns the current capacity.

storage.maxCapacity() - Returns the max capacity.

storage.items() - Returns all stored items.

storage.weapons() - Returns all stored weapons.

storage.armors() - Returns all stored armors.

storage.allItems() - Returns everything that is stored.

storage.addItem(item, amount) - Adds an item to a storage system. Use $dataItems[id], $dataWeapons[id], $dataArmors[id].

storage.removeItem(item, amount) - Removes an item from the storage system. If
no amount is specified, all items will be removed.

storage.clear() - Clears a storage system.

storage.changeMaxCapacity(number) - Changes the max capacity to the given
number.

========================
Terms of Use
========================​
Free for any commercial or non-commercial project! [Credit: waynee95]

Special Thanks to:
- Yanfly
- SumRndmDde

If you have any issues or questions, feel free to post them below. :kaohi:
im having a problem because i cant open up a storage system whenever i type in the scriptcall or the plugin command nothing works it doesnt even give me any errors in the F8 log thingie
 

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
@laugexd
Did you go into the Plugin Parameters and setup a Storage System?
 

waynee95

Inactive
Veteran
Joined
Jul 2, 2016
Messages
682
Reaction score
598
First Language
German
Primarily Uses
RMMV
@laugexd
Are you sure you use the right Plugin Command to open a storage?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Can't say I can't promise progress on a project just yet. But I can say I had fun databasing tonight. :)
Working on a new menu for my game. I'm not sure if I should get the Lune Engine to make it more unique. I think I'll be making the text color more white to match the "Menu" color. I may add some little stamps or markings to make it look more like it's paper.
SF_Monster6 added!

Wonder when the next theme contest is coming?
Long time no see. I'm aiming a vertical slice / tech demo for my game featuring a series of boss battles this month. I hope I could get some testers.

Forum statistics

Threads
105,797
Messages
1,016,522
Members
137,486
Latest member
Kingmalo360
Top