GAME OBJECT EXTENSIONS

RPG Maker MV

Extends RPGMV base objects to make them more useful, particularly in Script Conditional Branches

  • bentelk
  • 09/22/2018 02:10 PM
  • 1300 views
These extensions are intended to be used via the "Script" option, in Conditional Branches especially. They can also be used in damage formulas, your own extensions, or anywhere else JavaScript is allowed.

Requires RPG Maker MV 1.6.1+ (due to use of ES6 functions and syntax).

See the Plugin's help for descriptions and examples for every method. Here is a quick list:

Methods for $gameSwitches

$gameSwitches.allOn(switches)
$gameSwitches.allOff(switches)
$gameSwitches.countOn(switches)
$gameSwitches.countOff(switches)

Methods for $gameVariables

$gameVariables.total(variables)
$gameVariables.average(variables)

Methods for $gameParty

$gameParty.itemCount(itemId)
$gameParty.armorCount(armorId)
$gameParty.weaponCount(weaponId)

This, and other plugins I've made, are available at https://github.com/BenMakesGames/RPG-Maker-MV-Plugins