MUSH Plugins: Item Collector Menu

Azulli

Villager
Member
Joined
Jun 6, 2020
Messages
10
Reaction score
3
First Language
Portuguese
Primarily Uses
RMMV
Are you simply trying to draw the item drescription in the box you highlighted (meaning you removed the item parameters?)? If so it really takes 2 seconds to change, I could do it for you if you want.
Exactly, I just need the item description (picture below) to be in that window too. Could you please do it then?
1591565623181.png
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,705
Reaction score
4,670
First Language
English
Primarily Uses
RMMZ
Exactly, I just need the item description (picture below) to be in that window too. Could you please do it then?
View attachment 146883
Just replace Window_ItemCollectorInfo.prototype.refresh (the entire function) by this:
Code:
Window_ItemCollectorInfo.prototype.refresh = function() {
    this.contents.clear();
    if (this._nowItem != null && $gameParty.getSeenItem(this._nowItem)) {
        var it = this._nowItem;
        var backColor = $mushFeatures.params['MIT_ParametersBackColor'];
        var u = this.width - 36 - 128;
        this.contents.fillRect(0, 0, 128, 128, backColor);
        this.contents.fillRect(136, 0, u, 32, backColor);
        this.contents.fillRect(136, 54, u / 3 - 2, 32, backColor);
        this.contents.fillRect(140 + u / 3, 54, u / 3 * 2, 32, backColor);
        this.contents.fillRect(136, 96, u / 3 - 2, 32, backColor);
        this.contents.fillRect(140 + u / 3, 96, u / 3 * 2, 32, backColor);
        if (Imported.YEP_X_ItemPictureImg == true) {
            if (it.pictureImg != '' && it.pictureImg != undefined) {
                this.setUpYanflySprite(it.pictureImg, it.pictureHue);
            } else {
                this.clearSpriteYanfly();
                this.mush_drawIconPlus(it.iconIndex, 0, 0, 4);
            }
        } else {
            this.mush_drawIconPlus(it.iconIndex, 0, 0, 4);
        }
        this.changeTextColor(this.systemColor());
        this.drawText(it.name, 140, 0, this.width - 164, 'center');
        this.drawText($mushFeatures.params['MIT_TextId'] + ':', 138, 54, u / 3 - 10, 'left');
        this.drawText($mushFeatures.params['MIT_TextType'] + ':', 140 + u / 3 + 2, 54, u / 3 * 2, 'left');
        this.drawText($mushFeatures.params['MIT_TextOwn'] + ':', 138, 96, u / 3 - 10, 'left');
        this.drawText($mushFeatures.params['MIT_TextPrice'] + ':', 140 + u / 3 + 2, 96, u / 3 * 2, 'left');
        this.resetTextColor();
        var type = this.getItemType(it);
        var typeL = $mushFeatures.params['MIT_TextType'].length * 18;
        var quantity = this.getItemQuantity(it);
        this.drawText(it.id, 140, 54, u / 3 - 8, 'right');
        this.drawText(type, 140 + u / 3 + typeL, 54, u - (u / 3 + 18) - typeL, 'right');
        this.drawText(quantity? quantity : 0, 140, 96, u / 3 - 8, 'right');
        this.drawText(it.price, 140 + u / 3, 96, u - (u / 3 + 18), 'right');
        // Modified from here on
        this.drawTextEx(it.description, 0, 136, this.width - 36);
    } else {
        if (this._sprtYEP) {
            this._sprtYEP.hide();
        }
    }
};
 

Azulli

Villager
Member
Joined
Jun 6, 2020
Messages
10
Reaction score
3
First Language
Portuguese
Primarily Uses
RMMV
That's it, thank you very much, exactly what I needed! =D
 

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
571
Reaction score
196
First Language
English
Primarily Uses
RMMV
Hey, would you be able to help me figure out an issue I'm running into with getting the plugin to function.

After pasting in the plugin (without editing any plugin parameters), I get the following error when trying to open the scene using the plugin command ItemCollector open:

Capture.PNG
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
3,705
Reaction score
4,670
First Language
English
Primarily Uses
RMMZ
@Vis_Mage What did you name the plugin? The error refers to a line that refers the parameters of the plugin, which usually points to an error due to plugin renaming.
 

Vis_Mage

Novice Magician
Veteran
Joined
Jul 28, 2013
Messages
571
Reaction score
196
First Language
English
Primarily Uses
RMMV
Huh, I never realized renaming plugins would actually affect them. That explains it though, I had removed the $ in the file name. Thank you for the quick help!
 

KillerGin

Freddie
Veteran
Joined
Dec 18, 2015
Messages
451
Reaction score
354
First Language
English
Primarily Uses
N/A
@MushroomCake28 Hey how are ya?

I have an update patch for this wonderful plugin, created for my game. However, I do not want to host the update for others because I dunno where I can do so..... just for a free patch?

My patch adds in support for yanfly element absorption etc, and fixes some of the graphical glitches, would you like to host this patch somewhere for anyone who is interested in it?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Yet another gaming question, i'm currently playing Last of Us 2 and want to get another game to play next but can't decide between Ghost of Tsushima, Miles Morales & Jedi Fallen Order. After the latest mandalorian i AM on a star wars kick, but i also LOVED the last spiderman game that prequels Miles Morales. Ghost of Tsushima is the bottom of my list but i heard it was AWESOME. Just want a good story & fun gameplay.
I checked out Genshin Impact gameplay out of curiosity. I can't believe it's available as a mobile game too. Smooth animation, great music, and stellar sound effects (the ambient sounds are pretty detailed).

I'm flabbergasted to see games have becoming more and more advanced. Maybe also because I'm oblivious to current trend for a long time, it almost feel like I'm being sent into distant future. xD
xDRAGOONx wrote on WaywardMartian's profile.
Your artwork is amazing!!!
:ewat:
Stream will be live shortly with a session of the Interactive Text Adventure! Feel free to drop by!
I should finish the cat video I'm editing and finish the indesign stuff. So far only 1 is done and 4 to go

Forum statistics

Threads
105,666
Messages
1,015,392
Members
137,341
Latest member
jasapembuatanwebsite
Top