Trilobytes MV - Prestige Class Titles

Prestige Class Titles MV v1.01
Trilobytes by Trihan
​

Introduction
This plugin provides the developer the facility to have actor classes automatically change their names as the actor possessing that class hits defined level milestones.

Features
- Set up a list of level points where a class will change its displayed name

Screenshots (from MZ)
1679018675601.png

1679018714196.png

1679018727239.png


How to Use
Download the plugin's .js file to your project's js/plugins folder and save it as TLB_PrestigeClassTitles_MV.js. Open your plugin manager (
1679018759892.png
or F10), double click an empty slot, select TLB_PrestigeClassTitles_MV from the list and click OK on both dialog boxes to confirm installing the plugin.

With the plugin installed, you can use the notetag

Code:
<NameList>
  level1:name1
  level2:name2
  level3:name3
</NameList>

in any class's notebox.

For users with more Javascript knowledge, a <NameListCustom> tag is provided. Place valid Javascript code inside the tag and it will be used to determine the class name. You can use 'a' for the actor. The final result should be stored in the variable 'text'. For example:

JavaScript:
<NameList Custom>
  if (a.skills().contains($dataSkills[10])) {
    text = 'Prestige Class C';
  } else if (a.equips()[0].id == 30 && a.skills().contains($dataSkills[18]) && a.level >= 10) {
    text = 'Prestige Class B3';
  } else if (a.equips()[0].id == 30) {
    text = 'Prestige Class B2';
  } else if (a.skills().contains($dataSkills[18])) {
    text = 'Prestige Class B1';
  } else if (a.skills().contains($dataSkills[17])) {
    text = 'Prestige Class A';
  } else {
    text = 'Fallback';
  }
</NameList Custom>

If the actor has skill 10, their class will be called "Prestige Class C". Otherwise, if they have weapon 30 equipped, skill 18, and a level greater then or equal to 10, it will be "Prestige Class B3". And so on.

Plugin Commands / Script Calls
This plugin has no commands or script calls.

Demo
N/A

Download
This plugin is available from itch.io

Terms and Credits
You may use this plugin for commercial or non-commercial games. Please credit Trilobytes or Trihan.

Special Thanks
@Puppet Knight for the original plugin request
Mánibranðr System for the plugin name suggestion
This plugin has been updated to version 1.01, adding a new <NameList Custom> tag for determining class names via evaluated code blocks!
that seem awesome to change name based on equipment =)
based or weapon.

you can go crazy if the name is long ^^

while it can have if, else, if, else etc, can it accept ternary operators too?
that seem awesome to change name based on equipment =)
based or weapon.

you can go crazy if the name is long ^^

while it can have if, else, if, else etc, can it accept ternary operators too?
Absolutely, yes.
that make ? naming : (super handy || freaking hany) ? coool : awesome 😀

thank you =) I might find a cool way to combine with one of my own status
screen hopefully as it wont use default one ^^

Original thread: https://forums.rpgmakerweb.com/threads/trilobytes-mv-prestige-class-titles.155881/