Posted January 06, 2021 by Ramza
#crafting #feature-update #rpgmaker
Greetings all, and Happy New Year.
I have uploaded version 1.21 with a minor feature update. This was actually a suggestion from a long time ago, which I've finally gotten a chance to implement.
You can use common event reservation to provide messages to the player, give rewards to them, or triggers switches/variables in the background upon leveling a crafting category. The common event is run every time the category levels, but it has a couple of potential roadblocks with it, so I added the codeblock as well:
You can build your common events around switches, and you can use a script check to get the current crafting level as well, and make something like the following:
◆If:bs1 reward given is OFF
◆Text:None, Window, Bottom
: :Good job getting to Blacksmithing level 2!
◆Control Switches:#0010 bs1 reward given = ON
◆
:End
◆If:Script:$gameParty._craftLevels["blacksmithing"] >= 3
◆If:bs2 reward given is OFF
◆Text:None, Window, Bottom
: :Wow, Level 3 already? Neat!
◆Control Switches:#0011 bs2 reward given = ON
◆
:End
◆
:End
As mentioned, I also included a codeblock which will run immediately upon leveling up a crafting category. You can use this to turn on a switch, give an immediate reward, or call any other script or function that you'd have access to from a global scope. This block bypasses the limitation where the common event cannot happen while in the menu, but as a result, it cannot cause messages to be displayed on the screen at all. You'd want to use this for 'secret' backend stuff that the player shouldn't need to notice happening.
That's all for this update.
To download the updated plugin, either re-download it from the store page, or download it again from your library. The store page always has the most up to date version for download.
-Ramza