Should this be one plugin, or two?

Lets imagine a plugin that has a few main features:
  1. It has a fully functional clock and calendar, which can be customized.
  2. It can regulate lightning to simulate a day and night cycle. (Optional)
  3. It gives states to the actors for being hungry, thirsty or tired*
  4. It gives states to the actors when eating, drinking or sleeping*
(*How those states are named and what they do, is up to the user. They are set up just like any other state.)


Now imagine 2 plugins, both with some of the main features:
  1. It has a fully functional clock and calendar, which can be customized.
  2. It can regulate lightning to simulate a day and night cycle. (Optional)
and:
  1. It gives negative states to the actors for being hungry, thirsty or tired
  2. It gives positive states to the actors when eating, drinking or sleeping

Now, imagine you're interested in one or both of the plugins, would you rather have 1 large plugin that does it all, or 2 smaller plugins, which together do the same thing as when it 1 large plugin?

Spoiler: Why am I asking?
The thing is: I made this plugin, with all those features in one big-butt plugin. It's so large (for me, it's my first plugin) that I kind of get lost in it myself. It already has so many parameters, and if I want it to be fully customizable by the user, I will need even more parameters.

Here are just a few things from the top of my head that can be improved by using more parameters.
  • The lightning for the day/night cycle (How dark does it get at night)
  • How long before being well fed, well hydrated or well rested states fades.
  • How long before being hunger, thirst and tired state kicks in.
  • How long before being starving, dehydrated and exhausted kicks in.
Everything is now set to my personal preferences. I already noticed that dark is well visible in the RTP sets, but on the pop horror city set for example, it is quite dark.

To make lightning alone customizable, would already require 5 more parameters. And to make the duration of the states customizable, I need 3 parameters for each (Hunger, thirst and fatigue). This brings the total parameters added for those few functions to 14.

And I will make all of this customizable anyway, no matter if I split the plugin in 2 or not.
Splitting the whole thing up, would be a lot easier for me, to keep modifying and improving both systems. The only issue I see beforehand is that I need the sleeping function in both plugins, but I am sure I can find a way to deal with that.

But what would the user prefer? Would you prefer it to be 1 large plugin, or 2 smaller plugins?
And, would there be any other reason than preferences of the mass, why I should go with either of those choices?

(I'm not asking asking for help, in case it seems that way. I know how to do it. But I wonder if I should.)
Personally I would argue for 2 smaller ones in case someone only wanted part 1 or part 2 since day/night/time is one major subject while survival aspects are another separate kind of gameplay idea. (at least to me)

If you do make it as a single large plugin just make sure all options are toggleable for max usage and customization 😀
I would personally do the states one as an addon to the main one.
Hey!

Straight after posting the poll, I went ahead and broke the two up. It has some pro's and cons, though... The pro's we now know, but the cons...
  1. I have to rewrite the help section, which was even longer than the plugin itself.
  2. I wrote a PDF on the plugin, which now needs to be rewritten as well.
  3. If the users wants to use both, they will have to use 2 plugin commands for sleeping. One for skipping time, and one for refreshing the states.
Those are not big issues, 1 and 2 are quite time consuming. Even though breaking the plugins up was a matter of minutes. (Not 1 or 2, but maybe 10 or 15 minutes).

But before I do all the writing, I will add the parameters to the plugin, as mention in OP.

Thank you all for voting, and for your opinions. It confirmed my expectations.
Hey!

Straight after posting the poll, I went ahead and broke the two up. It has some pro's and cons, though... The pro's we now know, but the cons...
  1. I have to rewrite the help section, which was even longer than the plugin itself.
  2. I wrote a PDF on the plugin, which now needs to be rewritten as well.
  3. If the users wants to use both, they will have to use 2 plugin commands for sleeping. One for skipping time, and one for refreshing the states.
Those are not big issues, 1 and 2 are quite time consuming. Even though breaking the plugins up was a matter of minutes. (Not 1 or 2, but maybe 10 or 15 minutes).

But before I do all the writing, I will add the parameters to the plugin, as mention in OP.

Thank you all for voting, and for your opinions. It confirmed my expectations.
3 isn't necessarily true. You can have the main plugin check for the presence of the addon and refresh states if it's installed.
I'd prefer the two split plugins.
3 isn't necessarily true. You can have the main plugin check for the presence of the addon and refresh states if it's installed.
You seem to think I know what I am doing! Hahahaha. 😛

Yeah, I thought about that, but than I would have to figure out how to do that. And if I can figure that out, I might as well figure out how the second plugin can read parameters of the main plugin. This way I can easier have states last X hours. (The parameter I need for that, is the speed multiplier. Otherwise I wouldn't know how long an hour is. If they want hunger to kick in after 12 hours in-game, I need to know how long that is in real life.)

And... I also still have to figure out a how to make MZ plugin commands, so I can actually convert this to a MZ plugin.

So I have to figure out what has priority: Better MZ compatibility, or making one plugin depend on the other... I think MZ has to wait just a little longer. 😛

While I write this, I have an idea... Maybe they don't have to rely on each other at all... What if the states are no longer based on the time that passed at all... What if I base it on steps? That's easy, and it solves like 38162 problems at once.

Or maybe that is an option for when the time system isn't used. And when the time system is used, the user can choose to base it on time or on steps... But that is all for later. I am going to see if I can make the main plugin recognize the addon.
if what you want is a daylight system, the survival states are kind of extra, so they should be separate.
if what you want is a daylight system, the survival states are kind of extra, so they should be separate.
Yeah, that seems to be the general opinion, and I agree on that too. 🙂

Although, the base of the plugin isn't the lightning, but the time system, the clock and calendar. The lightning can be turned off, if the user doesn't want my plugin to control it. If the user wants to use control lightning themselves, then the clock and calendar can still be useful for them to know when to make it daytime or nighttime. (A reason could be, because they like to use taint window in some scenes, which otherwise will instantly be overwritten by the plugin)

The clock can also be used for other things, like closing time in stores, serving breakfast in the morning and dinner at night, have ghosts and goblins haunt the graveyard after midnight. The calendar is fully functional too. Have Santa show up on Christmas, or a lapricorn on st Patricks day. Have it snow in the winter months, and rain in fall.

Look, it is the same map! So the winter map is NOT a remake of the summer map. I simply have an event check for the date, and if it is dec, dan or feb, it will quickly change tilesets before the fade of the transfer is complete.

1712964587065.png

1712964672371.png


Personally I would argue for 2 smaller ones in case someone only wanted part 1 or part 2 since day/night/time is one major subject while survival aspects are another separate kind of gameplay idea. (at least to me)

If you do make it as a single large plugin just make sure all options are toggleable for max usage and customization 😀
Thanks for bringing up the term survival. I struggled how to name that whole category. Now it is even the title of the plugin. 😉

Original thread: https://forums.rpgmakerweb.com/threads/should-this-be-one-plugin-or-two.167664/