[XDE] xDGameStudios Engine - ItemTypes (NEW v1.1) [ + Shop Sell Filter]

xDGameStudios

Veteran
Veteran
Joined
Sep 15, 2012
Messages
102
Reaction score
58
First Language
Portuguese
XDE_ITEM_TYPES +v1.1
xDGameStudios




Introduction
RPG Maker MV doesn't let you create item sub-types, as it happens with weapons and armor. Only the typical, general item, key item, hidden 1 and hidden 2. This plugin lets you configure a total of 15 item sub-types (for example: Books, Minerals, Food). You can add items to a given subtype and you can also configure how the plugin affects the Scene_Item.

Features


All the help is provided in the help section of the plug in. Here is a copy of that section:
 


========================================================================
Help
========================================================================

This plugin creates item types similar to the ones present in weapons
and armor. There are up to 15 types of items you can configure. You can
give them a name (Food, Minerals, Ingridients, Potions...) and set up
the list of items that are included within that type. For creating the
list you can use two methods:

X, Y, Z or X to Y or X, Y to Z

example:

23, 25, 26 or 20 to 40 or 23, 30 to 40

X, Y and Z: are the item ids in the database.

This filter by item type can be applied to the Item Select Window in the
using a plugin command before calling the window.

Since version 1.1 you can select which categories should appear in item
menu and even their order.

Just need to set the property Item Category Order to a list of comma
separated entries.

for example: i, a, w, k

I: items, A: armors, W: weapons, K: key items, 1-15: types

========================================================================
Required Plugins
========================================================================

(none)

========================================================================
Note Tag Data
========================================================================

(none)

========================================================================
Plugin Commands
========================================================================

Use this plugin command before calling the item select window.

ItemSelectCustomType x

x: is the item type filter to be used for item select window.



Use this plugin command before calling the shop window.

ShopSellCustomType x y z

x, y, z: is the item type categories to be sold.
I: items, A: armors, W: weapons, K: key items, 1-15: subtypes

Note: do NOT use commas just white spaces!

========================================================================
Script Calls
========================================================================

(none)

========================================================================
Extra Data
========================================================================

(none)

========================================================================
Updates History
========================================================================

1.0: Initial Release
1.1: From now on you can select which items to sell in shops :)

========================================================================


You can enable and disable the changes made to the Scene_Item as well as enable "show all items" command.
And list hidden item types. ;)



Screenshots


How to Use
Put plugin in the plugin folder and add it to your project. The place shouldn't be a problem.

Script


[Download Load Script Here]


Updates
New way of handling how item categories appear in menus and change what kind of items can be sold in shops! :) please read features section!


Terms of Usage
Free to use both on free and commercial games, give credit to author "xDGameStudios" and notify me of your game free or commercial (a demo would be appreciated :) )


Credit and Thanks
- xDGameStudios
 
Last edited by a moderator:

BloodletterQ

Chaotic Neutral Assassin
Veteran
Joined
Aug 15, 2012
Messages
1,466
Reaction score
1,066
First Language
English
Primarily Uses
N/A
Where's the Decryption key?
 

xDGameStudios

Veteran
Veteran
Joined
Sep 15, 2012
Messages
102
Reaction score
58
First Language
Portuguese
Let me know if there are any bugs, I'd be happy to work on correcting them :)
If you have some ideas let me know, also! 
 

spolen

Villager
Member
Joined
Jan 21, 2016
Messages
12
Reaction score
1
First Language
English
Primarily Uses
Thanks, this works well, I've added you to my credits file.


I was wondering if there's a way to make only certain shopkeepers buy certain item types, I'm trying to make a crime system and there are certain items that I wanted to make a legal offense but it doesn't help things when shopkeepers will buy anything I have on hand.


I'm using RPG Maker MV with no DLC so far.
 

xDGameStudios

Veteran
Veteran
Joined
Sep 15, 2012
Messages
102
Reaction score
58
First Language
Portuguese
Thanks, this works well, I've added you to my credits file.


I was wondering if there's a way to make only certain shopkeepers buy certain item types, I'm trying to make a crime system and there are certain items that I wanted to make a legal offense but it doesn't help things when shopkeepers will buy anything I have on hand.


I'm using RPG Maker MV with no DLC so far.
I'll have a look at it! :)
 

xDGameStudios

Veteran
Veteran
Joined
Sep 15, 2012
Messages
102
Reaction score
58
First Language
Portuguese
Thanks, this works well, I've added you to my credits file.


I was wondering if there's a way to make only certain shopkeepers buy certain item types, I'm trying to make a crime system and there are certain items that I wanted to make a legal offense but it doesn't help things when shopkeepers will buy anything I have on hand.


I'm using RPG Maker MV with no DLC so far.

I think you have your problem solved! :)  Give it a try!
 

spolen

Villager
Member
Joined
Jan 21, 2016
Messages
12
Reaction score
1
First Language
English
Primarily Uses
wow thanks, I'll test it out and let you know how it goes.
 

spolen

Villager
Member
Joined
Jan 21, 2016
Messages
12
Reaction score
1
First Language
English
Primarily Uses
This is perfect so far for me I appreciate the update over a getting separate plugin, my shopkeeper wouldn't buy my drugs or stolen items (haven't tried it with fences or drug dealers yet, but I see no reason it wouldn't work) and I was able to organize my item list for an added bonus I didn't even know I needed until I saw it. I also installed Yanfly's item core plugin, the item core definitely makes it look better if you use a ton of extra item types.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

"What do you think the best place to visit on this cold days?" "Hell..."
Been so busy lately that I wonder if I should slowly start preparing the advent calendar resources so I have enough in december.
Man, I wish it was harder for mean d-holes to make me feel like crying.
Made 8 games. Was aiming for 20. Gonna go for 40. Because 20 + 20. /Bed.
Got myself card game plugin, its bit laggy but worth it

Forum statistics

Threads
94,537
Messages
921,714
Members
124,400
Latest member
Standanddeliver
Top