Plugin Adding Race to Actor - What else should I add?

This one is for those of us who either like to create their own party members, or select a party from lots of pre-made actors.

Actors in RPG Maker have a class, name, nickname and profile. I want to write a plugin that adds a 'race' field to actors. I will extend the gender plugin that I am one of the authors of. The plugin is intended for my next project, but I would quite like to make it useful for others.

At present, I think that it should have:

1) A gender field that can be set by note-tag or during the game, with values for 'unknown', 'male', 'female' and 'neuter'. States that aren't removed (unless the game maker wants to) can be used to add traits for males, females and neuters. [This is what the gender plugin already does.]

2) A race field, without pre-defined races, in case people get fed up with Tolkien's world and have their own ideas.

3) An extra variable that could be used for many purposes such as actor alignment, age, or additional abilities such as thievery.

Gender and race could be set by note-tag (if the player selects a party from previously created actors), or by plugin command (if the player creates their party member). Would a couple of spare variables added to actors be better than one? Is there anything else that I should be bunging in?
What's the difference between this and just adding whatever you want? Like the plugins with custom parameters and such do.

It seems like it would be more flexible (and save yourself this poll) to just let the user do something like AddField Race Elf AddField Legs Bipedal AddField Hair Brown

then have corresponding get commands to retrieve whatever the specific actor has for those fields. Or define the field types as a list in the plugin parameters if you must.

It seems like you're only inhibiting flexibility by predefining what the fields are called.
@ATT_Turan Thanks for your reply. I will certainly consider doing that. Must admit that I haven't come across plugins with custom parameters. To take that approach, I would have to be able to know how to code it (or be confident of learning quickly), and be sure that it suited my own new project.

I want to spend most of my time on the project, not writing plugins. I have already asked somebody for a quote for another plugin that I am 80% sure that I could do myself.
Must admit that I haven't come across plugins with custom parameters.
That's cool, no one knows everything...but there are kind of a bunch. Yanfly, Hakuen, ICF, Bobstah...

To take that approach, I would have to be able to know how to code it (or be confident of learning quickly), and be sure that it suited my own new project.
I mean, there's technically no need for a full-blown plugin. You just assign the variables on the various actors.
Code:
$gameActors.actor(3).race="Elf";
$gameActors.actor(2).legs="Bipedal";

Then your enemy with the Elfsbane Sword can have in its damage formula:
Code:
let dam = a.atk*4 - b.def*2; if (b.race=="Elf") dam*=2

Or you can stick stuff directly into notetags, still no need for a full plugin:
Code:
<Race: Elf>
Code:
let dam = a.atk*4 - b.def*2; if ($dataActors[b.actorId()].meta.Race=="Elf") dam*=2

There are a number of very simple ways to add miscellaneous attributes like this to whatever game object you like.

And especially if your primary concern is to be using it in your own project, I guess the question is what do you want to accomplish that requires the functionality offered by a plugin.
Thanks @ATT_Turan - I will give it some thought. I won't want to change sex or race of actors during the game, but will be applying persistent states (Yanfly's passive states is one possibility) to carry extra traits, and checking the composition of the party and individual party members' sex and race. I will be setting race and sex for enemies, and checking troops.

One benefit of the plugin is that the notetag to set an actor or enemy's gender also applies the relevant state, if the parameter is set. With race as well, that would be 2 notetags instead of 4 for each actor and enemy. I am expecting to do a couple of dozen actors for the player to choose from, plus others who join temporarily for a quest, so maybe 3 dozen actors.

I like the idea of using strings rather than numeric values because it might make debugging easier.
One benefit of the plugin is that the notetag to set an actor or enemy's gender also applies the relevant state, if the parameter is set.
You can do that simply with Yanfly's Auto Passive States: give the actor <Passive State: X> where X is the ID of the Female state.

Again, I'm not trying to discourage you from making something for people to use. But I think it helps people to know what the benefit is to using your system; and some of the thread sounds like it might help you to examine whether it's necessary to write new code as opposed to just using some simple script calls or existing plugins.
@ATT_Turan Your advice is much appreciated, and I will probably take it. At the moment, my new project is just in the "prototyping and establishing scope" stage, so there is plenty of time to try methods out without disrupting the structure of the project.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-adding-race-to-actor-what-else-should-i-add.160396/