Here’s the first extension plugin for the NeMV – Tags plugin, NeMV – Tagged Action Count (TAC). It was heavily inspired by Shaz’s Kill Counter plugin, Gameus’ Quest System plugin, and conversations with Yanfly about people perhaps needing to see more of a practical implementation of NeMV – Tags in order to see what it’s really about.

TAC allows you to set certain variables in your project to be bound to an action/tag set. For instance, if I want to have a variable that tracks how many enemies I kill with the tag “boss”, that’s what this plugin does.

Currently only four actions are supported, but I have plans for many others, and you can read about them in the help contents below.

Happy tagging!

Download NeMV – Tagged Action Count

TAC post on RM Forums

TAC entry in MV Plugins

NeMV on Github


Introduction

This plugin allows the counting of certain actions to be tied to their tags, and optionally, for those tags to be bound to variables in your game.

Currently supported actions:

  • Party kills (enemy tags)
  • Item use (item tags)
  • Item creation (item tags; via YEP – Item Synthesis)
  • Party skill use (skill tags; works with items too)

Usage

Configure the respective action entries in the plugin’s parameters as the below examples illustrate. These are only examples of what you can do, and what this plugin directly supports.

On Kills

If you want to track how many times you’ve killed a certain type of enemy (e.g. elementals), add a variable to track the total – something like…

Variables > [ 0101 - Elementals Killed ]

Now add a counter in TAC’s parameters under one of the “Kill Action Counter” params. It should look like the following…

elemental 101

Now anytime your party kills any enemy tagged with “elemental”…

Enemy > Notebox > <tags: fire, elemental, boss, angry>

… the game’s variable 101 will increase by one.

You can use this to track quest progress, give your players achievements, or even use the counter to affect combat with a little scripting.

On Item Use

To track how many times party members have used items with a particular tag on the item, first create a variable to track the total uses…

Variables > [ 0201 - Potions Consumed ]

Now set an “ItemUse Action Counter” in the plugin params to something like:

potion 201

Now whenever you consume an item with the tag “potion”…

Item > Notebox > <tags: potion, healing, weak>

… the 201 variable in your game will increase by one.

You can use this to create tolerances for potions, make hunger and survival systems, or even creating item-based abilities for things like placing traps that your party’s crafted (e.g. can only have four active traps at a time).

On Item Creation

To track how many times party members have created items with a particular
tag on the item, first create a variable to track the total creations…

Variables > [ 0301 - Traps Created ]

Now set an “ItemCreate Action Counter” in the plugin params to this:

trap 301

Now whenever you create an item tagged as a “trap”…

Item > Notebox > <tags: trap, poison, ground>

… the 301 variable in your game increases by the amount of traps created.

You can use this to build a profession system around your item crafting, track crafting-based quest progress, or with some creativity, even give your players built in item variance improvements based on how much experience they have building certain types of items.

On Skill Use

To track how many times party members have used skills with a particular tag on the skill, first create a variable to track the total skill uses…

Variables > [ 0401 - Heals Used ]

Now set an “ItemCreate Action Counter” in the plugin params to this:

healing 401

Now whenever you create a skill or skill-item tagged as “healing”…

Skill/Item > Notebox > <tags: healing, holy, regen>

… the 401 variable in your game increases by one.

You can use this to build an element mastery system for your wizards, balance your heal-bot healers with diminishing returns, or even create an entire ability system around bulding a new energy pool that can be used for ultimate/limit-break abilities.

Please note that with the current implementation of SkillUse, some items may additionally be checked. This allows for things like tag checking bombs thrown at your enemies, but may also lead to collisions with ItemUse cases if super-simple tags are used between skills and items.

Future Actions

This being the initial release of the TAC plugin, I obviously don’t have all of the actions represented that I would like to. So since I will be adding actions to this as often as I’m able, I thought I’d list a few here that are planned for sooner rather than later.

  • Event : EventUsed (contengent on my adding event tagging to NeMV – Tags)
  • Skill : DamageDealt/DamageTaken/HealingDealt/HealingTaken
  • State : TurnsAfflicted/StateGiven/StateTaken

Plugin Commands

TAC comes equipped with many options for plugin commands for adding, removing, and manually setting tag counters. The format for these commands is as follows.

TAC COMMAND ACTION TAG [ VARIABLE | AMOUNT ]

Examples:

tac add kill plant 101
tac remove itemuse potion
tac set itemcreate weapon 20
tac add kill animal

In the examples above, the first adds a Kill counter for enemies with the “plant” tag and sets its game variable to 101. The second removes the ItemUse counter for items tagged as “potion”. The third sets the ItemCreate for “weapon” tags to 20, updating its variable if one is associated. The fourth example illustrates adding a Kill counter for “animal” tags that isn’t associated to a variable.

Support

Should this plugin not work for you for any reason, please notify me by creating a Github issue, emailing me at lance@nekoyoubi.com, or message me in any social convention you happen to see me in.

Thanks, and happy counting!