Konora's Factions & Reputation Reloaded - plugin for RPG Maker MZ (Ported by SIXEIGHTW0LF)

Name: Factions & Reputation Reloaded ( aka KISS Faction System)

Original Post: KISS for RPG Maker MV

Author: Konora @AcerK


SIXEIGHTW0LF:
Diving into RPG Maker MZ, I came across this plugin for RPG Maker MV and knew I had to have it. So with the permission of the original dev, I've ported it over to RPG Maker MZ. The original was super easy to port over, thanks to @AcerK (aka Konora) and his talents in writing super clean and optimized code!

Konora:
I was inspired by the factions in the Elder Scrolls, EverQuest, etc., so I decided to take the idea of having different reputations with different factions (which could easily have been tracked with variables and events) and made it way more complicated than it should be. It looks nice, though.

Quick Setup:

rename the .JS file to FS_Reputation.js


simply place the plugin inside the plugins folder (e.g. MyRPGProject/js/plugins),then add a new JSON file inside "data" called Reputation.json

Then add this test data in that JSON file to start:
JSON:
[
null,
{
"ID": 1,
"Name": "Faction",
"Description": "This is a faction.",
"IconID": 64
},
{
"ID": 2,
"Name": "Other Faction",
"Description": "This is a faction with a \nslightly longer description.",
"IconID": 5
}
]

Now, create your events and add a few lines of code to instantiate the plugin:

JavaScript:
$gameSystem.discoverFaction(1); // 1 is the id of the faction/actor, given in the Reputation.json file

$gameSystem.addFactionPoints(1,20); // ads rep points (in this case, 20 of them) to the faction with 1 as its id

SceneManager.push(Scene_Factions); // this will trigger opening the faction/reputation menu


Features:

  • Create an unlimited number of factions and track the player's reputation with each of them
  • Each faction can have its own icon
  • Show the player's reputation with a descriptive (changeable!) term (i.e. Good, Bad, Great, etc.)
  • Customize the vocab used in the scene
  • Show the player's reputation with a gauge
Some Important Things To Consider:
  • The cap for both positive and negative reputations is 50 (or -50). This will certainly change in the future, but just know that any value above or below 50/-50 will currently result in the reputation being displayed as "Neutral".
  • If no factions are discovered and you try to open the faction scene, the game will crash. (FIX INCOMING SOON)
Known Bugs:
  • Text color changing (FIX COMING SOON)
  • Reputation Gauge (COMING SOON)

Screenshots:
index.php
Let me know what other plugins y'all want ported to RPG maker MZ, I'm more than happy to do it!
Let me know what other plugins y'all want ported to RPG maker MZ, I'm more than happy to do it!
IMO, anyone related with tactical battle system and compatible with visustella stuff. Most likely like LTBS
Lol I made my own bug, rename the file to FS_Reputation.js and it'll work
IMO, anyone related with tactical battle system and compatible with visustella stuff. Most likely like LTBS
I'll check that out bro and contact the Dev and see if he's keen on me porting it
bandicam 2022-02-11 11-54-32-610.jpg

Unfortunately, something is going wrong. In addition, this window does not close.
View attachment 215908
Unfortunately, something is going wrong. In addition, this window does not close.
Yoo, press f12 and show me what the console says please.
Glad to help. It's a pity the plugin won't be included in my video clip.
bandicam 2022-02-11 15-37-07-600.jpg
Glad to help
He needs the console window not the elements. on the top left click on console and thats the info that shows where it went wrong. Just replace you image above.
Just replace you image above.
Eyes down, baby. There's a console at the end of the picture. And there are no other inscriptions in it. Not a single one. Since this is the case, I will also say that when all other plugins are completely disabled, the BUG does not go anywhere.

Original thread: https://forums.rpgmakerweb.com/threads/konoras-factions-reputation-reloaded-plugin-for-rpg-maker-mz-ported-by-sixeightw0lf.143527/