MZ [CGMZ] Skill Shop

[CGMZ] Skill Shop
By: Casper Gaming
Last Update: June 6, 2026
Latest Version: 1.4.0
​
Forum-Header-Introduction.png

Creates a shop scene where you can buy skills for actors. It includes selecting which actor can learn the skill, and showing which actors can learn the skill or those that already learned the skill. Can restrict actors/classes from buying skills they otherwise could use via notetag.
Forum-Header-Features.png

  • Buy skills from a shop interface
  • Restrict actors from buying skills
  • Restrict classes from buying skills
Forum-Header-Screenshots.png

Spoiler: Screenshots
The skill shop scene.
skillshop2.png

After purchasing the Raise skill for Reid.
skillshop3.png

The skill shop with some actor and class restrictions
skillshop1.png

An alternate view that uses the character sprites, with stepping animation when selected
cgmz-skillshop-4.png

An alternate view that uses the character face images in the shop scene.
cgmz-skillshop-5.png
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Online documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/skillshop/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png

Spoiler: Version History
Version 1.1.0
  • Added default skill prices
  • Added option to draw character sprites in the shop window
  • Added option to draw actor face graphics in the shop window
  • Added option to only look at learned skills for prereqs
  • Added option to disable touch UI space at the top
  • Added Spanish help documentation
Version 1.2.0
  • Added optional confirm window after actor select
  • Added option to display all missing prerequisites skill names
  • Added level requirements for skills
  • Added customization options for shop command window
  • Added standard windowskin, padding, opacity, bg type, and tone params
  • Added [CGMZ] Scene Backgrounds integration
  • Added [CGMZ] Controls Window integration
  • Fixed bug when also using [CGMZ] Currency System
  • Prices now show thousands separators by user locale
Version 1.2.1
  • Added [CGMZ] Window Backgrounds integration
  • Added [CGMZ] Window Settings integration
Version 1.2.2
  • Fix crash when exiting the scene while actor window was scrolled down
Version 1.3.0
  • Skill Shop now compatible with [CGMZ] Currency System
Version 1.4.0
  • Added switch condition to skill shop goods
  • Added battler sprite option
  • Added walk sprite x and y offsets
  • Reduced possible crashes for invalid json
Finnally i wait this forever
Howdy! I love this plugin to death already. Is there any way to set skill prerequisites in order to kindve mimic a skill system but using Shops instead?

Ex: Character must have learned Water 1 and Fire 1 before Learning Boil


UPDATE: Found the setting in the help file!
Is it possible to use something else than gold as a price? for example: Items, Variables or Statistics?
@Nerine Hi, it is currently not possible to use anything other than gold. I do have a currency system plugin in the works (currently in alpha) that will work with this plugin and will allow you to use alternate currencies, but for now it does not work with the skill shop.
when i select a skill from the shop it has the word undefined at the start of the description text
when i select a skill from the shop it has the word undefined at the start of the description text


Can you share a screenshot?
Here
Meant to ask for screenshot of both in game and the database view of that skill
Its all the skills
1685584245635.png
Its all the skills
Do you have this below Skill and States Core?
yes
@jedite1000 Hi, that window is the base RMMZ engine's Help Window, not one I have custom made, and so the text it is drawing is also done by base RMMZ code. The Skill Shop just passes it the skill object and allows the default engine code to handle the rest, which by default draws the description of whatever was passed to it.

What might be occurring is that you have another plugin that changes what the default help window tries to draw, and this other plugin does not account for any plugins such as the Skill Shop that depend on the default behavior in the help window. To find the problematic plugin, you can disable non-CGMZ plugins one at a time until the undefined text goes away in a new game playtest, then you will know that the last one you disabled is the one with the issue. If you let me know which plugin it is I might be able to see what extra text it is trying to draw and if there is any way around it on my end.

You can also try opening up the dev tools console and seeing if there is any error/warning output which might give clues as to what is going on, but since the game doesn't crash it might not have anything useful.
Its a plugin called itemrarity from Yutta Kirishima/dexter
1685671592413.png
@jedite1000 I see, the problem is that there's not really any code for what to do when a rarity for the item it is trying to draw doesn't exist. I am not sure if the license allows for modifying that plugin so instead I think you could paste this into the bottom of the CGMZ Skill Shop plugin js file and it would bypass trying to add the rarity name:

Code:
CGMZ_Window_SkillShopBuy.prototype.updateHelp = function() {
    if(this._helpWindow && this.item()) {
        this._helpWindow.setText(this.item().description);
    }
    if (this._actorWindow) {
        this._actorWindow.setItem(this.item());
    }
};

I am not sure if you use the "Rarity In Description" parameter but you could set that to false and it should also work without needing the above code.

I think you could also opt to give your skills rarities using the same meta tag that you would for items/weapons/armors.
the code works ty
version-110.png

Hi all, this plugin has been updated to Version 1.1.0 today 👋

This update adds default prices you can set up via the plugin parameters. Now, you won't need to remember how much you made Heal cost to keep prices consistent throughout your game! However, you can still provide a custom price for a shop which will override the default price. Due to this change, your Call Scene plugin commands may need to be redone for the new prices.

This update also added a few new visual options for the Actor window in the Skill Shop scene. You can now opt to have it draw face images for the actor, or walking sprite images for the actor. If you select walking sprite, the sprite will animate in its stepping animation when selected in the window. See gif below for how this looks:
E9tyT0L.gif


This update also added a few other changes, such as the option to only look at learned skills for determining if the player meets the prerequisites. Without this option enabled, it will also look at skills learned via equipment and other temporary means. There is now an option to disable the Touch UI space at the top, allowing the windows to take up that space. This update also added Spanish language help documentation for the plugin.

Version 1.1.0
  • Added default skill prices
  • Added option to draw character sprites in the shop window
  • Added option to draw actor face graphics in the shop window
  • Added option to only look at learned skills for prereqs
  • Added option to disable touch UI space at the top
  • Added Spanish help documentation
version-120.png

Hi all, today this plugin was updated to version 1.2.0! 👋

This update adds the option to show a confirm window after the player attempts to purchase a skill to make sure they really want to buy the skill and did not misclick.

This update also adds the option to list out all of the missing prerequisite skills should that be the reason why the actor is not eligible to learn the skill yet. Another reason why actors cannot purchase skills was also added, which is their level. You can now restrict actors from learning skills if their level is not high enough.

You now have a similar level of control over the Skill Shop command window that my other [CGMZ] plugins provide over command windows. You can add your own custom commands, give commands an icon and background image, and also have JS show / enable conditions for each command. For ease of use if you just want the normal commands, you can just type in the default symbol for those commands (see documentation).

Below is a gif preview of some of the new options in action:
DEWrqTf.gif

This update also added standard [CGMZ] options for each window including changing the windowskin, window tone, opacity, padding, and bg type. Prices in the thousands would previously not use separators, they should not use the proper separator for the player's locale (or a forced locale if set in [CGMZ] Core).

Some new integrations were added. [CGMZ] Scene Backgrounds now controls the background image in the skill shop, and [CGMZ] Controls Window can now show a preset controls window in the skill shop.

A bug was fixed when using this plugin with [CGMZ] Currency System, though this plugin still does not have full integration with [CGMZ] Currency System.

Version 1.2.0
  • Added optional confirm window after actor select
  • Added option to display all missing prerequisites skill names
  • Added level requirements for skills
  • Added customization options for shop command window
  • Added standard windowskin, padding, opacity, bg type, and tone params
  • Added [CGMZ] Scene Backgrounds integration
  • Added [CGMZ] Controls Window integration
  • Fixed bug when also using [CGMZ] Currency System
  • Prices now show thousands separators by user locale
version-121.png

Hi all, today this plugin was updated to version 1.2.1! 👋

This version adds two integrations. The first is [CGMZ] Window Settings which is how you will customize window style, windowskin, window tone, and more. This also allows me to add more window settings without needing to update all of my plugins that have windows. The second is [CGMZ] Window Backgrounds which allows you to add an image including animated scrolling parallax as a window's background.

Version 1.2.1
  • Added [CGMZ] Window Backgrounds integration
  • Added [CGMZ] Window Settings integration
Very nice plugin. On MV, I used to use Dr. Yami's Skill Shop, but I can't get it to work on MZ. This one works very well, looks good, and if anything, is a little easier to use. Thank you to Casper Gaming.

Just a heads up to anyone trying it for the first time, when you do the plugin command to call the shop scene, you have to set the background, otherwise the game crashes when the player exits the scene. The number '1' (without quotes) works. So far, I haven't found any other options that do the trick.

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-skill-shop.149659/