[Request] Renaming MP mid-game

Discussion in 'JS Plugin Requests' started by Milennin, Jul 10, 2019.

    Tags:
  1. Milennin

    Milennin "With a bang and a boom!" Veteran

    Messages:
    2,142
    Likes Received:
    1,189
    Location:
    Fiore
    First Language:
    English
    Primarily Uses:
    RMMV
    Not sure if a plugin like this exists or how hard it is to make, but I'm looking for something that allows me to change the name used for MP to something different through a plugin command in the middle of the game.

    Scenario example:
    The Hero starts with
    MP as their fuel for casting skills, but mid-game they unlock a new method named SP.
     
    #1
  2. Aloe Guvner

    Aloe Guvner Walrus Veteran

    Messages:
    1,456
    Likes Received:
    931
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    For all party members or a specific one?

    The text for HP, MP, etc. is determined by the TextManager, who reads it from $dataSystem, which is loaded from System.json

    What you would need to do is on a New Game, load the terms into $gameSystem (which is part of the save file). Then modify TextManager so that it reads from $gameSystem instead of $dataSystem.

    It shouldn't be too much code, I don't have the exact code right now but hopefully this gives you or someone else a start. Or I'll come back here when I have some more time.
     
    #2

Share This Page