Carvalho Card Collection Plugin for RPG Maker MV
A downloadable tool
๐ Carvalho Card Collection Plugin v1.3.15
for RPG Maker MV (v1.6.1)
By Lucas Fira (Carvalho)
๐ Overview
Transform your RPG Maker MV project with the Carvalho Card Collection Plugin, a feature-rich system that introduces collectible cards as in-game items that boost party stats.
Ideal for RPGs with gacha, collection, or upgrade mechanics, this plugin offers a custom UI, tiered card system, and stackable bonuses for duplicate cards.
โจ Key Features
-
๐ Card Collection Interface
A dedicated screen to browse and manage cards, organized by tier and showing total stat bonuses. -
๐ด Tier-Based Card System
Supports 9 customizable tiers: R, R+, SR, SR+, UR, UR+, GR, GR+, DI. Each tier can have its own name, color, and item ID list. -
๐ Stackable Stat Bonuses
Cards grant party-wide stat boosts like HP, ATK, DEF, etc. Additional copies of the same card increase bonuses by 0.5x (rounded up). -
๐ผ๏ธ Customizable Visuals
Configure card image folder (img/cardsystem/
), card size (default: 212x355), and window dimensions. -
๐ข Card Quantity Display
Number of copies shown centered above each card image, ensuring clarity and readability. -
๐งญ Intuitive Navigation
Navigate between tiers and cards using keyboard, with real-time stat updates per tier. -
๐ Safe Compatibility
Stat bonuses are tracked independently, avoiding conflicts with other parameter-based plugins. -
โก Optimized Performance
Preloads card images and caches stat data for smooth updates and zero lag. -
๐ฎ User Access
Available through the main menu (โDeckโ) or with the plugin commandOpenCardSystem
.
๐น๏ธ Plugin Command
OpenCardSystem
Opens the card collection screen.
ITEM NOTE TAG EXAMPLE:
<CardImage:r1>
<CardStats>
mhp 10
mmp 0
atk 5
def 5
mat 0
mdf 0
agi 0
luk 0
</CardStats>
<CardImage:sr5>
<CardStats>
mhp 0
mmp 25
atk 0
def 0
mat 20
mdf 20
agi 0
luk 0
</CardStats>
๐ ๏ธ Installation & Setup
-
Save the plugin as
CarvalhoCardCollection.js
in yourjs/plugins
folder. -
In Plugin Manager, configure:
-
CardTiers
: Define tier names, highlight colors, and assigned item IDs. -
CardType
: Default is "Item". -
CardImagesFolder
: Default iscardsystem
. -
CardWidth
/CardHeight
: Default is212x355
. -
StatusWindowWidth
: Default is320
. -
StatusText
: Default is"Total Status"
.
-
-
Add metadata to your card items in the Note field:
<CardImage:fireknight> # Image filename without extension <CardStats> mhp 10 atk 45 def 50 </CardStats>
-
Place card images in
img/cardsystem/
(or the folder you set). -
Open the collection via the โDeckโ menu or use the plugin command.
-
Test thoroughly: gain cards, change party members, and watch the bonuses apply dynamically.
๐ก How Status Bonuses Work (Step by Step)
๐ Card as Items
Cards are standard Item entries in RPG Maker MV.
Each must include a <CardStats>
block in the itemโs note field:
<CardStats> mhp 10 mmp 0 atk 45 def 50 mat 0 mdf 0 agi 0 luk 0 </CardStats>
This grants +10 HP, +45 ATK, and +50 DEF to all party members.
๐ง Bonus Application Process
When you gain a card or change party members, the plugin:
-
Scans your party inventory for items that belong to any tier.
-
Parses
<CardStats>
from each item. -
Applies stacked bonuses for duplicate cards (see below).
-
Updates all party members via
actor.addParam(paramId, value)
.
Stats are recalculated every time a card is added/removed or party members change.
Old bonuses are subtracted first to prevent duplication:
actor.addParam(0, -oldMhp); // Remove old MHP bonus actor.addParam(0, newMhp); // Apply new MHP bonus
๐ Display
-
The Window_CardStatus (right panel) shows the total bonuses for the selected tier.
-
Only non-zero stats are displayed, formatted like:
+10 ATK
,+20 DEF
.
๐ How Repeated Cards Work
๐ Stacking Formula
Each extra copy of a card increases the stat bonus by +50% of its base, rounded up:
js CopiarEditar Total Bonus = Base Stat * (1 + (N - 1) * 0.5)
Example โ Card ID 401:
<CardStats> mhp 10 atk 20 </CardStats>
-
1 copy โ HP:
10 * 1 = 10
, ATK:20 * 1 = 20
-
2 copies โ HP:
10 * 1.5 = 15
, ATK:20 * 1.5 = 30
-
3 copies โ HP:
10 * 2 = 20
, ATK:20 * 2 = 40
๐งฎ In Code
Within getTierStats(tier)
:
totalStats.mhp += Math.ceil(stats.mhp * (1 + (count - 1) * 0.5));
-
stats.mhp
: The base stat. -
count
: Number of that card in inventory ($gameParty.numItems(item)
).
๐ Visual Feedback
-
Each card displays its quantity as
x2
,x3
, etc. -
This is drawn 15 pixels above the bottom of the card image, centered horizontally.
๐งฉ Key Code Snippets
Parse stats from <CardStats>:
if (line.match(/<CardImage:(.+)>/i)) { return RegExp.$1; }
Apply bonuses:
actor.addParam(0, totalStats.mhp); // HP actor.addParam(2, totalStats.atk); // ATK
Stacking logic for duplicates:
totalStats.mhp += Math.ceil(stats.mhp * (1 + (count - 1) * 0.5));
๐ Terms of Use
-
โ Allowed: Commercial and non-commercial use by verified buyers.
-
โ Not Allowed: Redistribution, reuploading, or modification without explicit permission.
-
๐ง Support & Contact: https://linktr.ee/lucasfira
Published | 14 hours ago |
Status | Released |
Category | Tool |
Author | carvalhopluginsrpgmakermv |
Tags | card-system, collectible-cards, custom-ui, deck-builder, gacha-system, game-mechanics, rpg-maker-mv-plugin, rpg-plugin, stat-bonus, turn-based-rpg |
Purchase
In order to download this tool you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.