KFactions XP
by Kyonides
Introduction
Is your game based on a world full of gangs?

Or are there many political parties?
Or are the nobles looking to overthrow their current king?
If you replied positively to any of these questions, then this script was made just for you!
NOTES
RG stands for all versions of the
RGSS based engines.

I have included PLENTY of comments in my script so please check them out.
3 Demos are available now for you to play with!
How to Predefine Factions
Here you can take a look at the examples I left in the official demo.
Code:
module KFactions
FACTIONS["Centralists"] = faction = {}
faction[:leader] = "Elder Alsemus"
faction[:value] = "Law & Order"
faction[:fame] = 200
faction[:allies] = ["Nobility"]
faction[:enemies] = ["North Star"]
faction[:maps] = [1]
FACTIONS["North Star"] = faction = {}
faction[:leader] = "Cyrus"
faction[:value] = "Lawlessness"
faction[:fame] = 1000
faction[:allies] = ["Merchants"]
faction[:enemies] = ["Centralists"]
faction[:maps] = [2]
DESCRIPTIONS["Centralists"] =
"This faction has always been totally loyal to the king\n" +
"but their current leader has grown quite old.\n" +
"Other groups treat them like mere garbage."
DESCRIPTIONS["North Star"] =
"This faction claim to be the most powerful group of the\n" +
"entire kingdom but it has not been confirmed.\n" +
"Its leader is brave, stubborn and ruthless."
end
There is also the possibility to create new factions on the fly via the call script event command.
Screenshots
The Main Faction Script
NO GUI
The Scene Scripts can be found in my next post on this thread.
Terms & Conditions
Free for use in non commercial games.
Contact me if you want to go commercial. It will be pretty much inexpensive anyway.

Please mention me in your game credits!

You can't repost these scripts anywhere!

Please

keep in mind that the main script won't work unless you add one of these Scene scripts I am posting here today.
All RGSS Based Versions No longer need a separate menu script.
It's Been A Long Journey 4 Sure! 
As some of you may have noticed by now, there is a
VX ACE port of my script already available here. Now all RGSS based engines can make some good use of my menu script!

You can now
download any of the 3 working
demos by simply clicking on the link provided on the main post.
Main Post Bug Fix
It's weird but the URL of my download link was quite incomplete. Probably, I ended up pasting the uploader's link instead of the public one on the main post.

Oopsie...
Anyway, now you all are able to download the 3 demos just as expected.

The RMXP Port Has Been Updated!

The latest iteration of KFaction XP offers you the possibility to

record a faction leader's quotes and

read them while on the KFactions Menu scene!
You would need the following script call to record it.
Code:
setup_quotes("Faction's Name", Number of Consecutive Message Boxes)
In the XP demo, both leaders have their very own quote.
And they're waiting to be recorded by your faction!
VX's Turn Has Finally Come!
Yes, my often forgotten RMVX friends, now you can also count on the ability to record a faction leader's quotes as well.

And I've got a

screenshot to prove it!
The Script Has Reached the 1.0.0 Milestone!
Now
All of the RGSS Based KFactions scripts not only allows you to record a leader's quotes but will also keep track who uttered those words in the first place!
This means that no matter how many times the faction chooses a new leader, the former leader's quotes will remain intact.
By the way, you only need to press Left or Right to change the quote currently displayed on screen.
I don't personally agree with the lobbyists' current leader's remarks.

Script Update!
This new release includes a bug fix and a new feature: some visual indicators of how many quotes you have recorded so far and the current index.