Skip to content

About

RPG Maker MZ plugin: Replaces \i[n] with icons and \c[n] with color coding in menus and descriptions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

PSYCHRONIC_ControlTextMZ

RPG Maker MZ Plugin

Replaces \i[n] with icons and \c[n] with color coding in menus and descriptions.

What It Does

This plugin allows you to use \i[n] to display icons and \c[n] to apply color coding in menus and item descriptions. For example, \i[502] will show icon index 502, and \c[1] will change the text color to color index 1.

Plugin File

Installation

  1. Download PSYCHRONIC_ControlTextMZ.js.
  2. Place it in your RPG Maker MZ project's js/plugins/ folder.
  3. Enable it from the RPG Maker Plugin Manager.
  4. Configure any plugin parameters or commands listed below.

Full Plugin Help

Introduction

This plugin allows you to use \i[n] to display icons and \c[n] to apply color coding in menus and item descriptions. For example, \i[502] will show icon index 502, and \c[1] will change the text color to color index 1.

How to Use

  1. Place this plugin in your project's js/plugins/ folder.
  2. Add it to your project via the Plugin Manager in RPG Maker MZ.
  3. Use \i[n] in item descriptions or other database text fields to show icons.
  4. Use \c[n] to apply color coding to text.

Example:

  • Item Description: "Restores 100 HP \i[502] \c[1]Boosts Strength\c[0]"
  • Shows icon 502 and "Boosts Strength" in color index 1, with normal color afterward.

Compatibility

This plugin now includes comprehensive MV-compatibility shims for plugins that use MV-style method calls. This means you can use MV-style plugins without FOSSIL.

Compatible with:

  • MegaSaveMZ and other plugins using MV-style methods
  • MenuManagerMZ and other menu plugins
  • MegaEquipMZ and equipment plugins
  • Plugins that call this.textColor(), this.standardFontSize(), etc.
  • Plugins that call this.drawActorFace(), this.drawActorName(), etc.

MV Compatibility Methods Added:

  • textColor(), standardFontSize(), standardFontFace(), textPadding()
  • drawActorCharacter(), drawActorClass(), drawActorFace(), drawActorIcons()
  • drawActorLevel(), drawActorName(), drawActorNickname(), drawActorSimpleStatus()
  • drawActorHp(), drawActorMp(), drawActorTp()

Terms of Use

Free to use for both commercial and non-commercial projects. Credit Psychronic if you wish, but it's not required. You may modify and distribute this plugin freely.

Changelog

Version 1.1.0:

  • MAJOR REWRITE: Now uses smart drawText override instead of drawItemName overrides
  • drawText automatically detects escape codes and uses drawTextEx when needed
  • Fixed equipment window compatibility completely
  • Much simpler and more reliable approach
  • Removed all specific window overrides (drawItemName, etc.)

Version 1.0.9:

  • Fixed equipment window compatibility - items now show up properly
  • Fixed Window_EquipItem drawing by adding proper error handling
  • Improved Window_ItemList override to be less aggressive
  • Better handling of items without iconIndex property

Version 1.0.8:

  • Added comprehensive actor drawing method compatibility (MV → MZ)
  • Fixed MenuManagerMZ compatibility - drawActorFace and related methods now work
  • Added 10+ actor drawing methods that redirect to Window_StatusBase
  • Added Window_Command.drawItem override to support \i[n] and \c[n] in menu options
  • Now acts as a full FOSSIL replacement for most MV plugins

Version 1.0.7:

  • CRITICAL FIX: Removed processDrawIcon override that was breaking text measurement
  • Fixed MegaSave compatibility - variable names and options now display correctly
  • Now uses MZ's native processDrawIcon which respects textState.drawing flag

Version 1.0.6:

  • Added MV-compatibility shim for plugins using MV-style method calls
  • Added textColor(), standardFontSize(), standardFontFace(), textPadding() methods
  • Now works with MegaSaveMZ and other MV-style plugins without FOSSIL

Version 1.0.5:

  • Removed aggressive drawText and Window_Help overrides for better compatibility
  • Fixed conflicts with other plugins like MegaSave
  • Made the plugin less invasive while maintaining escape code functionality

Version 1.0.4:

  • Fixed itemPadding error by using itemPadding() instead of textPadding()

Version 1.0.3:

  • Fixed textColor error by using ColorManager.textColor instead of this.textColor

Version 1.0.2:

  • Fixed skill icon display issue in skill lists
  • Improved Window_Selectable override to properly handle base icons

Version 1.0.1:

  • Fixed infinite loop issue in text processing
  • Improved compatibility with existing RPG Maker MZ systems

Version 1.0.0:

  • Initial release with icon and color code processing.

Source

This standalone repository is generated from the latest PSYCHRONIC plugin source in the RPG Reactor Complex template.

License

MIT. See LICENSE.

About

RPG Maker MZ plugin: Replaces \i[n] with icons and \c[n] with color coding in menus and descriptions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages