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)