Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Hiding Attributes from Equip Screen?
- Original author: GwaziMagnum
- Original date: July 17, 2023
- Source thread: https://forums.rpgmakerweb.com/threads/hiding-attributes-from-equip-screen.159410/
- Source forum path: Game Development Engines > RPG Maker MZ Support
Summary
So using this script below: Code: Window_StatusParams.prototype.maxItems = function() { return 5;
Archived First Post
So using this script below:
I've been able to remove the appearance of the "Luck" stat from the Status Menu, and from playing a role in combat. However, it still seems to be appearing on the Equip Screen. And I can find no such relevant "Params" option or "return" option where Equip is concerned.
Would anyone know what piece of code it is I need to be altering?
View attachment 269702
Code:
Window_StatusParams.prototype.maxItems = function() {
return 5;
};
// Drawing parameters such as attack power
Window_SrpgStatus.prototype.drawParameters = function(x, y) {
var lineHeight = this.lineHeight();
for (var i = 0; i < 5; i++) { // Edited
var paramId = i + 2;
var x2 = x + 188 * (i % 2);
var y2 = y + lineHeight * Math.floor(i / 2);
this.changeTextColor(ColorManager.systemColor());
this.drawText(TextManager.param(paramId), x2, y2, 120);
this.resetTextColor();
this.drawText(this._battler.param(paramId), x2 + 120, y2, 48, 'right');
}
};
I've been able to remove the appearance of the "Luck" stat from the Status Menu, and from playing a role in combat. However, it still seems to be appearing on the Equip Screen. And I can find no such relevant "Params" option or "return" option where Equip is concerned.
Would anyone know what piece of code it is I need to be altering?
View attachment 269702
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...