Junk

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
820
First Language
English
Primarily Uses
Features


This plugin allows for the marking of items as junk. Junk items can be sold as a group to shops. This will allow players to sell items they don't want very quickly instead of tediously selling one by one.


V1.1 - Adds dispose commands to get rid of an item immediately.


1.png


The plugin adds a junk category to the item list. Here you can see everything listed as junk. Items can be unmarked as junk too. You can make certain items, like the log here, considered always junk, further reducing the time spent by the player selling items they don't need.


2.png


In the shop, you can sell all of your junk items in one go with a single click.


3.png


* ============================================================================
* Important
* ============================================================================
* This plugin requires YEP Item Core and YEP Shop Menu Core. This plugin
* must be put underneath them in the plugin list.
*
* Equipped items that are not independent cannot be marked as junk or disposed.
* For this reason, I recommend making equipment independent in Item Core.
*
* In order to sell all junk items at the shop, the command Custom
* must be somewhere in the command order parameter for YEP Shop Menu Core.
* By default, it is in, so if you haven't removed it then you don't need to do
* anything.
*
* If you want the sell all junk command to appear somewhere else in the list,
* just place Custom in a different place in the command order parameter in
* YEP Shop Menu Core.
* ============================================================================
* How To Use
* ============================================================================
* In the item menu, you can set items to be marked as junk. After, you can
* unmark them as junk if you want. Junk items appear in the junk category.
*
* In the shop, you can select the Sell All Junk command to sell all junk
* in your inventory.
*
* ============================================================================
* Item/Weapon/Armor Notetags
* ============================================================================
* <Junk> will automatically designate an item as junk. It can't be unmarked
* as junk.
*
* <CantMarkJunk> will disallow an item from being marked as junk. Good for
* important items.
*
* <CantDispose> will disallow an item from being disposed with the dispose
* command.
* ============================================================================
* Terms Of Use
* ============================================================================
* Free to use and modify for commercial and noncommercial games, with credit.
* ============================================================================
* Credits
* ============================================================================
* DreamX
* Thanks to Yanfly for Item Core and Shop Core plugins.


Script
 
Last edited by a moderator:

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
820
First Language
English
Primarily Uses
V1.1 - Adds dispose commands to get rid of an item immediately.
 

wrigty12

Veteran
Veteran
Joined
Jan 11, 2014
Messages
533
Reaction score
77
First Language
English
Primarily Uses
@DreamX,


Is it possible for you to add a small confirmation window for the Disposal Commands? Like, "Dispose ____? Yes/No". Just in case the player accidentally selects it and doesn't actually want to dispose it.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
820
First Language
English
Primarily Uses
@DreamX,


Is it possible for you to add a small confirmation window for the Disposal Commands? Like, "Dispose ____? Yes/No". Just in case the player accidentally selects it and doesn't actually want to dispose it.
Hmm...yea, good idea. I'll put it in the next update.
 

ICNstudios

Warper
Member
Joined
Jul 25, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Amazing script, you really made things easier. I'm wondering tho, is it possible to make it so that, say if you've already reached the max amount of items in your inventory, and you pick up an item from a chest, or an enemy, it's automatically stored in the junk category?


(since Yanfly's script does nothing to help this, it just adds more items in its category despite it already going past it's max amount)


A use for this would be so that you can rename Junk to say "Storage", and have it be a window that can be accessed in a town. When you can't pick up anymore items, you go back to the town, empty your inventory, and retrieve the goods from the storage.


Or maybe I'm just asking for too much, haha! Sorry if that sounds silly, but thanks for the work you've done so far.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
820
First Language
English
Primarily Uses
Amazing script, you really made things easier. I'm wondering tho, is it possible to make it so that, say if you've already reached the max amount of items in your inventory, and you pick up an item from a chest, or an enemy, it's automatically stored in the junk category?


(since Yanfly's script does nothing to help this, it just adds more items in its category despite it already going past it's max amount)


A use for this would be so that you can rename Junk to say "Storage", and have it be a window that can be accessed in a town. When you can't pick up anymore items, you go back to the town, empty your inventory, and retrieve the goods from the storage.


Or maybe I'm just asking for too much, haha! Sorry if that sounds silly, but thanks for the work you've done so far.
Interesting idea. I should let you know about you this plugin here first, though.




That allows you to use storage. I haven't used it before, but it may solve your problem for needing a storage. There may also be other storage plugins on this forum.


If that does not solve your problem, I may be able to do something like what you've described.
 

ICNstudios

Warper
Member
Joined
Jul 25, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Interesting idea. I should let you know about you this plugin here first, though.





That allows you to use storage. I haven't used it before, but it may solve your problem for needing a storage. There may also be other storage plugins on this forum.


If that does not solve your problem, I may be able to do something like what you've described.


That is indeed a storage. However it has many problems. One of which is that it doesn't allow more than the 4 base categories to be shown. (item, key item, weapon, armor) since I have more than those four. (now including the "Junk" category) It won't really work.


Also, it works against Yanfly's item core just like a normal "add item" event. Items won't be transferred to the storage instead, if your inventory is full.


You can loot the storage, surpassing your max amount of inventory items. Basically meaning it can be abused. Say your item max is 100. You buy 100 potions, deposit in storage, buy 100 more. It won't stop you from withdrawing your 100 potions in the storage back to your inventory, giving you 200/100 potions. 


I did check out this plugin before posting my question on throwing away items.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
820
First Language
English
Primarily Uses
That is indeed a storage. However it has many problems. One of which is that it doesn't allow more than the 4 base categories to be shown. (item, key item, weapon, armor) since I have more than those four. (now including the "Junk" category) It won't really work.


Also, it works against Yanfly's item core just like a normal "add item" event. Items won't be transferred to the storage instead, if your inventory is full.


You can loot the storage, surpassing your max amount of inventory items. Basically meaning it can be abused. Say your item max is 100. You buy 100 potions, deposit in storage, buy 100 more. It won't stop you from withdrawing your 100 potions in the storage back to your inventory, giving you 200/100 potions. 


I did check out this plugin before posting my question on throwing away items.
I see. I'll put your storage request on my to-do list.


Edit: v1.2:


Adds confirm window when disposing items


Adds text codes for commands
 
Last edited by a moderator:

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

Latest Threads

Latest Posts

Latest Profile Posts

Managed to find a way to hang a bed cover over my window. So no more being toasted alive in the afternoon!:kaoswt2:
So, uh, has anyone tried buying any resources from KokoroReflections? Because I've been looking for a 'buy' button on the site for like 10 minutes now and can't find one.
Any also thought it's too cringy to put the word "and you" in your credit as a special thanks?
Cause that's what I thought...
Everyone in the US right now: Please stay safe.
Symphony Celestia: Prophecy of the Falling Stars RPG Maker music pack WIP. Symphony Celestia is a new series that focuses on symphonic and orchestrated music to tell a story. Each story will include compositions that make up that story from beginning to end. Themes include: Battles, adventures, character themes, etc. Below is a video preview to the first story.

Forum statistics

Threads
97,980
Messages
948,329
Members
129,246
Latest member
Flaminguex
Top