Maybe don't make complex Scripts?

In case of example B, you dont really need to delete the one that you dont need. Assuming its set up in a way that users will set up which state increases or decreases rates or you do it via notetags. That way, you can just not set it up... So users that want all three will just need to download 1 script and people like you doesn't have to do anything to remove things from it. Its a win win.

Plus scripts that do more is not necessarily more complex. You can have a script that does exactly one thing but really complex.

I think you're a bit overcomplicating things. Something like "If a script has this feature, I need to use it". Which isnt true in most scripts that I used before. Except for things like Yanfly's core.. Some of its features arent toggle-able from the confif.

Anyway, the way I try to do it now for scripts that does more things now is have a setting part where you can disable portions of a script, if its possible.
In short, try to avoid hardcoding nontrivial settings without solid reasons. Then with proper modularizations, users can easily and effortlessly setup what they want/need, and ignore those not within their interests.

Some more points to add:

Think of scripts/engines/systems as compact personal portable toolkits.

In 1 extreme, the toolkit only contains an incredibly "powerful" swiss knife(like cluttered with over 100 tools) which isn't decomposable at all. Yes, it's extremely "flexible", but seriously how many people will ever use it?

In this case, you may at least want that insane swiss knife to be freely decomposable into smaller ones in which the decomposition makes sense.

In another extreme, the toolkit contains 30+ screwdrivers but they only differ in the tip shape. Yes, each screwdriver is easy to use and you don't even have to touch those not applicable to you at all, but when you've to drive screws with many different head shapes, that will be entirely another story.

In this case, you may want the toolkit to contain just 1 screwdriver handle and 30+ screwdriver tips which are all compatible to that screwdriver handle.

When you put into the toolkit manufacturers' shoes, you'll realize something different.

The fundemantal question is: What's the toolkit's purpose? What issues it tries to solve? What situations it aims to address?

In the case of swiss knives, it might be an utility tool that are useful when carrying all those separated counterparts would be too bulky.

In the case of screwdrivers, it might try to be able to drive all the common screws that most people will frequently encounter.

When the toolkit's goals' set, the tool manufacturer will then have to think of the conditions and constraints.

In the case of swiss knives, the condition is to include all useful tools into 1 single toolset.

In the case of screwdrivers, the condition is to ensure each of the addressed screw head shape to have a corresponding screwdriver tip to drive it.

The constraints then come into play.

In the case of swiss knives, an important constraint is to make is as user-friendly as possible.

It's better to make the swiss knife freely decomposable to smaller ones in which the decomposition makes sense, than making one that must always be used as a whole.

In the case of screwdrivers, an important constraint is to reduce the space the entire screwdriver toolset occupy so the whole thing can still fit into the compact personal portable toolkit well.

It's better to make just 1 screwdriver handle and all the needed screwdriver tips which are all compatible to that screwdriver handle, than making a complete screwdriver for each addressed screw head shape.

The swiss knives case's analogous to 1 single script approach, while the screwdrivers case's analogous to the core addon script approach.

Making a swiss knife freely decomposable into the small ones in which the decomposition makes sense is analogous to the 1 single script approach that's highly modular; Making a swiss knife that must always be used as a whole is analogous to the 1 single script approach that lacks modularity.

Making just 1 screwdriver handle with all the needed screwdriver tips which are all compatible to that screwdriver is analogous to the core addon script approach that's highly modular; Making each complete screwdriver for each addressed screw head shape is analogous to writing separate scripts that only differ in the aspects of control and freedom given to users which are all about the exact same feature.

Of course scripts are actually much more complicated than this simple analogy in reality, but I hope you can still get the essence behind that.

P.S.: You can argue that screwdrivers with detachable screw tips needs users to manually change the screw tip whenever they've to encounter screws with different head shapes, and it's more troublesome than using a different complete screwdriver instead, but again it goes back to a basic question: Do most of the others think like what you think? After all, the toolkit manufacturers want their toolkits to have widespread uses, so they'll have to think of the rest of the targeting audiences as well.
There is no best way to handle this situation.

Some people want scripts that have tons of configuration options (luna engine) and others want something with minimal setup (yanfly battle).

Some people want a small amount of big scripts and others want lots of small scripts.

It all comes down to complexity vs simplicity.
Maybe I'm wrong on this, but I've been under the impression that the way configuration of scripts will work in MV, will likely make it easier for the end-user to understand (e.g. selecting an option as opposed to editing a line of code). I think many of our wonderful scripters do a pretty fine job of explaining how to configure their scripts, but to some people, anything code related is like trying to read ancient Egyptian hieroglyphics. Again, I might be mistaken as I'm certainly no beta-tester and my understanding of how plugin (i.e. script) configuration will work could be way off base.
It's not about difficult customization, though. Many scripts in VX Ace had a really nice separate area where the user who doesn't know any programming could easily adjust variables. It's about features that are in the code that you just don't need to use. You may end up with a lot of long scripts that you really only use small sections of. To avoid this, my suggestion was to release scripts that are as simple as possible, but can be augmented with additional scripts.

For instance, something like Yanfly Battle Engine. It does a lot of things at once, and you don't necessarily want all of its default features that can't be turned off by anyone without Ruby knowledge. It would have been nicer to have one script for the window changes, one script for enemy names etc. (I'm not quite sure what EXACTLY was in there, but I'm sure you get what I mean.)
I get what you mean. Despite what you said though, I saw plenty of forum posts by people who still couldn't manage to configure a lot of scripts. The ones that were easy to configure for people with zero scripting knowledge, usually had pretty lengthy explanations within the config module comments. What I meant was, with the way I believe the config will work in MV, scripters could offer the same level of configuration, with less tie spent typing out long explanations. Of course the caveat is they'll have to do any work required for the config interface, but if that's not too bad, then the time saved not having to type out long explanations may allow them to make scripts even more customizable.

To use the same example you did, maybe that would allow in YEA, many more of the "default" features, to become optional. This would allow, to some extent, the best of both worlds in that many functions/options can be in a single script, improving compatibility, but users also don't have to deal with as many unneeded extras as before. Hopefully that makes sense, I'm pretty tired so I may be doing a poor job of explaining my line of reasoning.

Essentially, I completely agree with your point in the OP, but I also understand the difficulties involved in that for scripters, and even for end users to some extent. I'm saying hopefully the way script configuration works, will make things easier on scripters, thus allowing them to give end users more choices. But at this point, it's all speculation.
The point of this thread isn't really related to how difficult it is to configure a script based on what scripting knowledge a person has. It's about how much a script tries to do - whether it does a single task or tries to be all things to all people.


Even in MV, a scripter will be able to make a complex plugin that does a whole lotta stuff when a user might only want one or two things, or a lot of small plugins and the user will have to add them all to get everything they want. All the plugin does is stops the user from breaking the rest of the script by doing something wrong when trying to configure it. It keeps them out of the code, but it doesn't change whether the code does a lot or a little, just enough or too much.


The point of the thread is the ability to add JUST what is wanted/needed without having a lot of stuff that isn't.
It's not about difficult customization, though. Many scripts in VX Ace had a really nice separate area where the user who doesn't know any programming could easily adjust variables. It's about features that are in the code that you just don't need to use. You may end up with a lot of long scripts that you really only use small sections of. To avoid this, my suggestion was to release scripts that are as simple as possible, but can be augmented with additional scripts.

For instance, something like Yanfly Battle Engine. It does a lot of things at once, and you don't necessarily want all of its default features that can't be turned off by anyone without Ruby knowledge. It would have been nicer to have one script for the window changes, one script for enemy names etc. (I'm not quite sure what EXACTLY was in there, but I'm sure you get what I mean.)
So let's use Yanfly Battle Engine as an example. Its configuration region's currently this:

Spoiler
module YEA module BATTLE #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - General Battle Settings - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # These settings are adjusted for the overall battle system. These are # various miscellaneous options to adjust. Each of the settings below will # explain what they do. Change default enemy battle animations here, too. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- BLINK_EFFECTS = false # Blink sprite when damaged? FLASH_WHITE_EFFECT = true # Flash enemy white when it starts an attack. SCREEN_SHAKE = false # Shake screen in battle? SKIP_PARTY_COMMAND = true # Skips the Fight/Escape menu. AUTO_FAST = true # Causes message windows to not wait. ENEMY_ATK_ANI = 36 # Sets default attack animation for enemies. # If this switch is ON, popups will be hidden. If OFF, the popups will be # shown. If you do not wish to use this switch, set it to 0. HIDE_POPUP_SWITCH = 0 #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Battle Status Window - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # This sets the default battle system your game will use. If your game # doesn't have any other battle systems installed, it will use :dtb. # # Battle System Requirement # :dtb - Default Turn Battle. Default system. # :ftb - YEA Battle System Add-On: Free Turn Battle #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- DEFAULT_BATTLE_SYSTEM = :dtb # Default battle system set. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Battle Status Window - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Here, you can adjust the settings for the battle status window. The # battle status window, by default, will show the actor's face, HP, MP, TP # (if viable), and any inflicted status effects. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- BATTLESTATUS_NAME_FONT_SIZE = 20 # Font size used for name. BATTLESTATUS_TEXT_FONT_SIZE = 16 # Font size used for HP, MP, TP. BATTLESTATUS_NO_ACTION_ICON = 185 # No action icon. BATTLESTATUS_HPGAUGE_Y_PLUS = 11 # Y Location buffer used for HP gauge. BATTLESTATUS_CENTER_FACES = false # Center faces for the Battle Status. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Help Window Text - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # When selecting a target to attack, this is the text that will be shown # in place of a target's name for special cases. These special cases are # for selections that were originally non-targetable battle scopes. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- HELP_TEXT_ALL_FOES = "All Foes" HELP_TEXT_ONE_RANDOM_FOE = "One Random Foe" HELP_TEXT_MANY_RANDOM_FOE = "%d Random Foes" HELP_TEXT_ALL_ALLIES = "All Allies" HELP_TEXT_ALL_DEAD_ALLIES = "All Dead Allies" HELP_TEXT_ONE_RANDOM_ALLY = "One Random Ally" HELP_TEXT_RANDOM_ALLIES = "%d Random Allies" #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Popup Settings - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # These settings will adjust the popups that appear in battle. Popups # deliver information to your player as battlers deal damage, inflict # status effects, and more. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ENABLE_POPUPS = true # Set this to false if you wish to disable them. FLASH_CRITICAL = true # Sets critical hits to flash. # This hash adjusts the popup settings that will govern how popups appear. # Adjust them accordingly. POPUP_SETTINGS ={ 😮ffset => -24, # Height offset of a popup. :fade => 12, # Fade rate for each popup. :full => 60, # Frames before a popup fades. :hp_dmg => "-%s ", # SprintF for HP damage. :hp_heal => "+%s ", # SprintF for HP healing. :mp_dmg => "-%s MP", # SprintF for MP damage. :mp_heal => "+%s MP", # SprintF for MP healing. :tp_dmg => "-%s TP", # SprintF for MP damage. :tp_heal => "+%s TP", # SprintF for MP healing. :drained => "DRAIN", # Text display for draining HP/MP. :critical => "CRITICAL!", # Text display for critical hit. :missed => "MISS", # Text display for missed attack. :evaded => "EVADE!", # Text display for evaded attack. :nulled => "NULL", # Text display for nulled attack. :failed => "FAILED", # Text display for a failed attack. :add_state => "+%s", # SprintF for added states. :rem_state => "-%s", # SprintF for removed states. :dur_state => "%s", # SprintF for during states. :ele_rates => true, # This will display elemental affinities. :ele_wait => 20, # This is how many frames will wait. :weakpoint => "WEAKPOINT", # Appears if foe is weak to element. :resistant => "RESIST", # Appears if foe is resistant to element. :immune => "IMMUNE", # Appears if foe is immune to element. :absorbed => "ABSORB", # Appears if foe can absorb the element. :add_buff => "%s{", # Appears when a positive buff is applied. :add_debuff => "%s|", # Appears when a negative buff is applied. } # Do not remove this. # This is the default font used for the popups. Adjust them accordingly # or even add new ones. DEFAULT = ["VL Gothic", "Verdana", "Arial", "Courier"] # The following are the various rules that govern the individual popup # types that will appear. Adjust them accordingly. Here is a list of what # each category does. # Zoom1 The zoom the popup starts at. Values over 2.0 may cause lag. # Zoom2 The zoom the popup goes to. Values over 2.0 may cause lag. # Sz The font size used for the popup text. # Bold Applying bold for the popup text. # Italic Applying italic for the popup text. # Red The red value of the popup text. # Grn The green value of the popup text. # Blu The blue value of the popup text. # Font The font used for the popup text. POPUP_RULES ={ # Type => [ Zoom1, Zoom2, Sz, Bold, Italic, Red, Grn, Blu, Font] "DEFAULT" => [ 2.0, 1.0, 24, true, false, 255, 255, 255, DEFAULT], "CRITICAL" => [ 2.0, 1.0, 24, true, false, 255, 80, 80, DEFAULT], "HP_DMG" => [ 2.0, 1.0, 36, true, false, 255, 255, 255, DEFAULT], "HP_HEAL" => [ 2.0, 1.0, 36, true, false, 130, 250, 130, DEFAULT], "MP_DMG" => [ 2.0, 1.0, 36, true, false, 220, 180, 255, DEFAULT], "MP_HEAL" => [ 2.0, 1.0, 36, true, false, 160, 230, 255, DEFAULT], "TP_DMG" => [ 2.0, 1.0, 36, true, false, 242, 108, 78, DEFAULT], "TP_HEAL" => [ 2.0, 1.0, 36, true, false, 251, 175, 92, DEFAULT], "ADDSTATE" => [ 2.0, 1.0, 24, true, false, 240, 100, 100, DEFAULT], "REMSTATE" => [ 2.0, 1.0, 24, true, false, 125, 170, 225, DEFAULT], "DURSTATE" => [ 2.0, 1.0, 24, true, false, 255, 240, 150, DEFAULT], "DRAIN" => [ 2.0, 1.0, 36, true, false, 250, 190, 255, DEFAULT], "POSITIVE" => [ 2.0, 1.0, 24, true, false, 110, 210, 245, DEFAULT], "NEGATIVE" => [ 2.0, 1.0, 24, true, false, 245, 155, 195, DEFAULT], "WEAK_ELE" => [ 0.5, 1.0, 24, true, false, 240, 110, 80, DEFAULT], "IMMU_ELE" => [ 0.5, 1.0, 24, true, false, 185, 235, 255, DEFAULT], "REST_ELE" => [ 0.5, 1.0, 24, true, false, 145, 230, 180, DEFAULT], "ABSB_ELE" => [ 0.5, 1.0, 24, true, false, 250, 190, 255, DEFAULT], "BUFF" => [ 2.0, 1.0, 24, true, false, 255, 240, 100, DEFAULT], "DEBUFF" => [ 2.0, 1.0, 24, true, false, 160, 130, 200, DEFAULT], } # Do not remove this. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Streamlined Messages - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Want to remove some of those annoying messages that appear all the time? # Now you can! Select which messages you want to enable or disable. Some of # these messages will be rendered useless due to popups. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- MSG_ENEMY_APPEARS = false # Message when enemy appears start of battle. MSG_CURRENT_STATE = false # Show which states has affected battler. MSG_CURRENT_ACTION = true # Show the current action of the battler. MSG_COUNTERATTACK = true # Show the message for a counterattack. MSG_REFLECT_MAGIC = true # Show message for reflecting magic attacks. MSG_SUBSTITUTE_HIT = true # Show message for ally taking another's hit. MSG_FAILURE_HIT = false # Show effect failed against target. MSG_CRITICAL_HIT = false # Show attack was a critical hit. MSG_HIT_MISSED = false # Show attack missed the target. MSG_EVASION = false # Show attack was evaded by the target. MSG_HP_DAMAGE = false # Show HP damage to target. MSG_MP_DAMAGE = false # Show MP damage to target. MSG_TP_DAMAGE = false # Show TP damage to target. MSG_ADDED_STATES = false # Show target's added states. MSG_REMOVED_STATES = false # Show target's removed states. MSG_CHANGED_BUFFS = false # Show target's changed buffs. end # BATTLEend # YEA
Also, it currently has these notetags:

Spoiler
# -----------------------------------------------------------------------------# Skill Notetags - These notetags go in the skills notebox in the database.# -----------------------------------------------------------------------------# <one animation># Causes the action to display the action animation only once, even if it's a# multi-hit action. This is used primarily for non-all scope targeting.# # -----------------------------------------------------------------------------# Item Notetags - These notetags go in the items notebox in the database.# -----------------------------------------------------------------------------# <one animation># Causes the action to display the action animation only once, even if it's a# multi-hit action. This is used primarily for non-all scope targeting.# # -----------------------------------------------------------------------------# Enemy Notetags - These notetags go in the enemy notebox in the database.# -----------------------------------------------------------------------------# <atk ani 1: x># <atk ani 2: x># Changes the normal attack animation of the particular enemy to animation x.# Attack animation 1 is the first one that plays. If there's a second animation# then the second one will play after in mirrored form.# # -----------------------------------------------------------------------------# State Notetags - These notetags go in the state notebox in the database.# -----------------------------------------------------------------------------# <popup add: string># <popup rem: string># <popup dur: string># Status effects now create popups whenever they're inflicted. However, if you# don't like that a certain status effect uses a particular colour setting,# change "string" to one of the rulesets below to cause that popup to use a# different ruleset.# # <popup hide add># <popup hide rem># <popup hide dur># Not everybody wants status effects to show popups when inflicted. When this# is the case, insert the respective tag to hide popups from appearing when the# state is added, removed, or during the stand-by phases.
And debug tools:

Spoiler
# -----------------------------------------------------------------------------# Debug Tools - These tools only work during Test Play.# -----------------------------------------------------------------------------# - F5 Key -# Recovers all actors. Restores their HP and MP to max. Does not affect TP.# All states and buffs are removed whether they are positive or negative.# # - F6 Key -# Sets all actors to have 1 HP, 0 MP, and 0 TP. States are unaffected.# # - F7 Key -# Sets all actors to have max TP. Everything else is unaffected.# # - F8 Key -# Kills all enemies in battle. Ends the battle quickly.
How would you break down all those into scripts that are as simple as possible?

For instance, will you consider this setup simple enough?

Script 1:

Spoiler
# -----------------------------------------------------------------------------# Skill Notetags - These notetags go in the skills notebox in the database.# -----------------------------------------------------------------------------# <one animation># Causes the action to display the action animation only once, even if it's a# multi-hit action. This is used primarily for non-all scope targeting.# # -----------------------------------------------------------------------------# Item Notetags - These notetags go in the items notebox in the database.# -----------------------------------------------------------------------------# <one animation># Causes the action to display the action animation only once, even if it's a# multi-hit action. This is used primarily for non-all scope targeting.
Script 2:

Spoiler
# -----------------------------------------------------------------------------# Enemy Notetags - These notetags go in the enemy notebox in the database.# -----------------------------------------------------------------------------# <atk ani 1: x># <atk ani 2: x># Changes the normal attack animation of the particular enemy to animation x.# Attack animation 1 is the first one that plays. If there's a second animation# then the second one will play after in mirrored form.
Script 3:

Spoiler
# -----------------------------------------------------------------------------# State Notetags - These notetags go in the state notebox in the database.# -----------------------------------------------------------------------------# <popup add: string># <popup rem: string># <popup dur: string># Status effects now create popups whenever they're inflicted. However, if you# don't like that a certain status effect uses a particular colour setting,# change "string" to one of the rulesets below to cause that popup to use a# different ruleset.# # <popup hide add># <popup hide rem># <popup hide dur># Not everybody wants status effects to show popups when inflicted. When this# is the case, insert the respective tag to hide popups from appearing when the# state is added, removed, or during the stand-by phases.
Script 4:

Spoiler
# -----------------------------------------------------------------------------# Debug Tools - These tools only work during Test Play.# -----------------------------------------------------------------------------# - F5 Key -# Recovers all actors. Restores their HP and MP to max. Does not affect TP.# All states and buffs are removed whether they are positive or negative.# # - F6 Key -# Sets all actors to have 1 HP, 0 MP, and 0 TP. States are unaffected.# # - F7 Key -# Sets all actors to have max TP. Everything else is unaffected.# # - F8 Key -# Kills all enemies in battle. Ends the battle quickly.
Script 5:

Spoiler
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - General Battle Settings - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # These settings are adjusted for the overall battle system. These are # various miscellaneous options to adjust. Each of the settings below will # explain what they do. Change default enemy battle animations here, too. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- BLINK_EFFECTS = false # Blink sprite when damaged? FLASH_WHITE_EFFECT = true # Flash enemy white when it starts an attack. SCREEN_SHAKE = false # Shake screen in battle? SKIP_PARTY_COMMAND = true # Skips the Fight/Escape menu. AUTO_FAST = true # Causes message windows to not wait. ENEMY_ATK_ANI = 36 # Sets default attack animation for enemies. # If this switch is ON, popups will be hidden. If OFF, the popups will be # shown. If you do not wish to use this switch, set it to 0. HIDE_POPUP_SWITCH = 0
Script 6:

Spoiler
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Battle Status Window - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # This sets the default battle system your game will use. If your game # doesn't have any other battle systems installed, it will use :dtb. # # Battle System Requirement # :dtb - Default Turn Battle. Default system. # :ftb - YEA Battle System Add-On: Free Turn Battle #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- DEFAULT_BATTLE_SYSTEM = :dtb # Default battle system set. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Battle Status Window - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Here, you can adjust the settings for the battle status window. The # battle status window, by default, will show the actor's face, HP, MP, TP # (if viable), and any inflicted status effects. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- BATTLESTATUS_NAME_FONT_SIZE = 20 # Font size used for name. BATTLESTATUS_TEXT_FONT_SIZE = 16 # Font size used for HP, MP, TP. BATTLESTATUS_NO_ACTION_ICON = 185 # No action icon. BATTLESTATUS_HPGAUGE_Y_PLUS = 11 # Y Location buffer used for HP gauge. BATTLESTATUS_CENTER_FACES = false # Center faces for the Battle Status.
Script 7:

Spoiler
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Help Window Text - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # When selecting a target to attack, this is the text that will be shown # in place of a target's name for special cases. These special cases are # for selections that were originally non-targetable battle scopes. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- HELP_TEXT_ALL_FOES = "All Foes" HELP_TEXT_ONE_RANDOM_FOE = "One Random Foe" HELP_TEXT_MANY_RANDOM_FOE = "%d Random Foes" HELP_TEXT_ALL_ALLIES = "All Allies" HELP_TEXT_ALL_DEAD_ALLIES = "All Dead Allies" HELP_TEXT_ONE_RANDOM_ALLY = "One Random Ally" HELP_TEXT_RANDOM_ALLIES = "%d Random Allies"
Script 8:

Spoiler
#=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # - Popup Settings - #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # These settings will adjust the popups that appear in battle. Popups # deliver information to your player as battlers deal damage, inflict # status effects, and more. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ENABLE_POPUPS = true # Set this to false if you wish to disable them. FLASH_CRITICAL = true # Sets critical hits to flash. # This hash adjusts the popup settings that will govern how popups appear. # Adjust them accordingly. POPUP_SETTINGS ={ 😮ffset => -24, # Height offset of a popup. :fade => 12, # Fade rate for each popup. :full => 60, # Frames before a popup fades. :hp_dmg => "-%s ", # SprintF for HP damage. :hp_heal => "+%s ", # SprintF for HP healing. :mp_dmg => "-%s MP", # SprintF for MP damage. :mp_heal => "+%s MP", # SprintF for MP healing. :tp_dmg => "-%s TP", # SprintF for MP damage. :tp_heal => "+%s TP", # SprintF for MP healing. :drained => "DRAIN", # Text display for draining HP/MP. :critical => "CRITICAL!", # Text display for critical hit. :missed => "MISS", # Text display for missed attack. :evaded => "EVADE!", # Text display for evaded attack. :nulled => "NULL", # Text display for nulled attack. :failed => "FAILED", # Text display for a failed attack. :add_state => "+%s", # SprintF for added states. :rem_state => "-%s", # SprintF for removed states. :dur_state => "%s", # SprintF for during states. :ele_rates => true, # This will display elemental affinities. :ele_wait => 20, # This is how many frames will wait. :weakpoint => "WEAKPOINT", # Appears if foe is weak to element. :resistant => "RESIST", # Appears if foe is resistant to element. :immune => "IMMUNE", # Appears if foe is immune to element. :absorbed => "ABSORB", # Appears if foe can absorb the element. :add_buff => "%s{", # Appears when a positive buff is applied. :add_debuff => "%s|", # Appears when a negative buff is applied. } # Do not remove this. # This is the default font used for the popups. Adjust them accordingly # or even add new ones. DEFAULT = ["VL Gothic", "Verdana", "Arial", "Courier"] # The following are the various rules that govern the individual popup # types that will appear. Adjust them accordingly. Here is a list of what # each category does. # Zoom1 The zoom the popup starts at. Values over 2.0 may cause lag. # Zoom2 The zoom the popup goes to. Values over 2.0 may cause lag. # Sz The font size used for the popup text. # Bold Applying bold for the popup text. # Italic Applying italic for the popup text. # Red The red value of the popup text. # Grn The green value of the popup text. # Blu The blue value of the popup text. # Font The font used for the popup text. POPUP_RULES ={ # Type => [ Zoom1, Zoom2, Sz, Bold, Italic, Red, Grn, Blu, Font] "DEFAULT" => [ 2.0, 1.0, 24, true, false, 255, 255, 255, DEFAULT], "CRITICAL" => [ 2.0, 1.0, 24, true, false, 255, 80, 80, DEFAULT], "HP_DMG" => [ 2.0, 1.0, 36, true, false, 255, 255, 255, DEFAULT], "HP_HEAL" => [ 2.0, 1.0, 36, true, false, 130, 250, 130, DEFAULT], "MP_DMG" => [ 2.0, 1.0, 36, true, false, 220, 180, 255, DEFAULT], "MP_HEAL" => [ 2.0, 1.0, 36, true, false, 160, 230, 255, DEFAULT], "TP_DMG" => [ 2.0, 1.0, 36, true, false, 242, 108, 78, DEFAULT], "TP_HEAL" => [ 2.0, 1.0, 36, true, false, 251, 175, 92, DEFAULT], "ADDSTATE" => [ 2.0, 1.0, 24, true, false, 240, 100, 100, DEFAULT], "REMSTATE" => [ 2.0, 1.0, 24, true, false, 125, 170, 225, DEFAULT], "DURSTATE" => [ 2.0, 1.0, 24, true, false, 255, 240, 150, DEFAULT], "DRAIN" => [ 2.0, 1.0, 36, true, false, 250, 190, 255, DEFAULT], "POSITIVE" => [ 2.0, 1.0, 24, true, false, 110, 210, 245, DEFAULT], "NEGATIVE" => [ 2.0, 1.0, 24, true, false, 245, 155, 195, DEFAULT], "WEAK_ELE" => [ 0.5, 1.0, 24, true, false, 240, 110, 80, DEFAULT], "IMMU_ELE" => [ 0.5, 1.0, 24, true, false, 185, 235, 255, DEFAULT], "REST_ELE" => [ 0.5, 1.0, 24, true, false, 145, 230, 180, DEFAULT], "ABSB_ELE" => [ 0.5, 1.0, 24, true, false, 250, 190, 255, DEFAULT], "BUFF" => [ 2.0, 1.0, 24, true, false, 255, 240, 100, DEFAULT], "DEBUFF" => [ 2.0, 1.0, 24, true, false, 160, 130, 200, DEFAULT], } # Do not remove this.
Script 9:

Spoiler
Code:
    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-    # - Streamlined Messages -    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-    # Want to remove some of those annoying messages that appear all the time?    # Now you can! Select which messages you want to enable or disable. Some of    # these messages will be rendered useless due to popups.    #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-    MSG_ENEMY_APPEARS  = false  # Message when enemy appears start of battle.    MSG_CURRENT_STATE  = false  # Show which states has affected battler.    MSG_CURRENT_ACTION = true   # Show the current action of the battler.    MSG_COUNTERATTACK  = true   # Show the message for a counterattack.    MSG_REFLECT_MAGIC  = true   # Show message for reflecting magic attacks.    MSG_SUBSTITUTE_HIT = true   # Show message for ally taking another's hit.    MSG_FAILURE_HIT    = false  # Show effect failed against target.    MSG_CRITICAL_HIT   = false  # Show attack was a critical hit.    MSG_HIT_MISSED     = false  # Show attack missed the target.    MSG_EVASION        = false  # Show attack was evaded by the target.    MSG_HP_DAMAGE      = false  # Show HP damage to target.    MSG_MP_DAMAGE      = false  # Show MP damage to target.    MSG_TP_DAMAGE      = false  # Show TP damage to target.    MSG_ADDED_STATES   = false  # Show target's added states.    MSG_REMOVED_STATES = false  # Show target's removed states.    MSG_CHANGED_BUFFS  = false  # Show target's changed buffs.
Yeah, I think that's actually pretty good. You could still put all of them into a ZIP file to show that they can be used together. I, personally, would totally like to look at the descriptions and decide if I want them or not. 🙂
Yeah, I think that's actually pretty good. You could still put all of them into a ZIP file to show that they can be used together. I, personally, would totally like to look at the descriptions and decide if I want them or not. 🙂
Then 1 potential issue can quickly come into play, although it depends on how RMMV will be built.

If the RMMV plugin can't group plugins into folders or something similar, using your approach can easily lead to bloating the plugin manager with possibly thousands on simple plugins.

In RMVXA, there are some users using hundreds of scripts, and many of those scripts don't follow your approach.

I've troubleshooted a project having 200 scripts(with at least 4 advanced complex scripts) involving 30 scripters. I won't be surprised if that project would end up having more than 10 thousand simple scripts if your approach were used.

For those who will use the RMMV version of Luna Engine(if it'll ever exist) or similarly complicated engines/systems, those engines/systems alone would probably become 300+ plugins if your approach were used.

Unless we can be fairly certain that only few RMMV users will ever use so many plugins that don't follow your approach, RMMV plugin writers will have to think about the plugin manager bloat issues as well. If they'll have to make both the 1 single plugin version and core addon plugin version for the otherwise would be same plugin to circumvent those issues while still following your approach, you're basically asking them to die lol

Of course, if the RMMV plugin manager can indeed group plugins into folders or something similar, then the whole thing will be another story 😀

P.S.: I haven't even touched the dreaded addon cyclic dependency issues yet. Some of them can't be avoided at all as they can come from the very addon features themselves. But since the RMMV hasn't even released yet, I can't talk much about those issues yet 😛
Heya! This is Yanfly here!

(。 ◕ ‿‿ ◕ 。)

I think I'll go ahead and explain the reasoning behind why I tend to keep a lot of things packed together inside one 'giant scripts'.

You can think of my code as ingredients for a hamburger. Now, when I say 'hamburger' the majority of you are probably thinking of something like this: 

Spoiler
MChqoKZ.jpg
The reality of hamburgers is, they're actually this:

Spoiler
Q7Yz6Xq.jpg
Hamburgers are composed of ingredients put together in a specific way to form a harmonious piece of deliciousness that wows you the moment you put it into your mouth. I try to keep things together in my 'giant scripts' the same way, only that my 'hamburger' is composed of code instead of food.

Now, here's the thing about humans that I find to be fascinating: You're all incredibly fast learners. However, the way you learn things, isn't through sitting in a classroom, taking notes, listening to whatever that strange person in the front of the room is saying. Instead, the way humans learn the best is through experiencing things. And through the course of evolution, your fast pace in picking up things you don't know has lead your species on the way to your evolutionary success.

Now, let's move back a little bit. Try to remember your very first exposure to a hamburger (for those who haven't consumed a hamburger ever in your life, drop me a message, I'll invite you to my grill the next time). I imagine the very first time you may have seen a hamburger would have lead you to wonder what kind of colorful mess that thing is until you put it into your mouth. Upon doing so, you learn that it's delicious and you become curious of the way it's created: using two buns, wrapped around some vegetables and a piece of meat. Sounds fairly simple to make, right? You, being the smart human you are, would immediately know how to construct a hamburger provided you are given the ingredients.

Now, let's imagine if things worked a little bit differently. Your first exposure to the hamburger wasn't its completed form but rather, a pile of ingredients (as seen in the second image above). You know those ingredients are delicious. You know they're used to make something together. But you know not what form it is to take. You can experiment, but it would probably lead to other results. Therefore, the experience of the hamburger might not even come to fruitation (I like tomatos on my hamburgers by the way).

What's the difference? How come the experience would be so different? That's because of the way humans are engineered over the course of evolution. Humans function in such a way where if they can see the favorable (and delicious) end result, they can figure out through their amazing brain work how to do it. Yet, if you do the opposite, you can't really expect the result to come out the same: as a hamburger. To make a truly yummy hamburger, you most likely have experienced a yummy one first.

L8e6IYA.jpg


My 'giant scripts' and the 'giant scripts' of others work the same way.

A lot of times, most users do not know how to use a series of, what the RPG Maker community calls, 'scriplets' to build a battle engine. (By the way, the official terminology used by most programmers is 'snippets'). If given a small script composed of casting animations, damage popups, a GUI hud, and various enemy effects, a lot of users wouldn't have the foggiest idea on how to piece those things together to make a battle engine.

However, for the users who have used my 'giant' battle engine script, (most of) you users would know exactly the ingredients needed to create your own harmonious battle engine the way you want it. The most likely reason behind this is because you've seen, experienced, and figured out what is needed to make a battle engine in the past and thus, applying that knowledge for the future in the event you'd ever want to create your own one day.

In the case of my 'giant scripts', I focus on the users who do not know how to make their own hamburger. I want them to have that same 'Wow' sensation the moment they ever bit onto a hamburger for the first time. I believe having a good impact on a user would cause them to have a desire to learn more about the script, and in turn, learn more about battle engines in general.

Over time, as you consume hamburgers, you learn about what you like and don't like. Some don't like pickles. Some prefer more lettuce. Others want honey mustard on their hamburger instead of ketchup. You all have your preferences. Once you've reached that stage, you've become a hamburger-veteran. The amount of hamburgers you've consumed to reach that point indiciate that you have experience on that battlefield of deliciousness.

My 'giant scripts' are made the same way, where there are options for you to pick and choose what you want to change in or change out. I include options for you to tweak, disable, enable, and possibly even fully customize. But despite all of that, there's actually another reason I prefer to keep everything together: science.

Spoiler
jegscBd.jpg
There's actually a method behind the madness in the selection behind the ingredients. The bread helps absorb the juices, oils, and taste created by the other ingredients. The vegetables help maintain a balance between the meaty taste of the burger and the grainy taste of the bread. Pickles provide an acidic component to counterbalance the basic composition of meat. The reasons go on and on.

'Giant scripts' are usually created the same way. Certain things make more sense to be made put together (like in the case of creating scripts that modify the damage formula, you want them in one script so that way, PEMDAS can be done properly). The method to the madness keeps things in balance for a lot of script creators in a way that simply picking out the ingredients and putting them together won't necessarily produce the best result. Even though many of you can probably create hamburgers by now, there's probably a very few select who can master the creation of a hamburger.

This is not to say that you aren't capable of creating a masterpiece of a battle engine. Heck, you may be better at it than me easily. My main goal and purpose through my 'giant scripts' is to provide a foundation for new users and veteran users alike so that they can consume a delicious hamburger of their liking and give them that immediate impact they seek. I intend to keep the same practice for my future RPG Maker MV plugins so that users can, rest assured, know that they can have a harmoniously working battle engine.

By the way, I'm having a grill this Sunday before it gets too cold where I live~
I was just starting to type a response saying that I don't agree with you, but Yanfly came first.

What I was gonna say is that there's nothing wrong with a giant script. If you have options to disable any additional features, what's the difference?

The scripter can make it in a way that disabled features won't cause any incompatibility. Having everything in a single file also makes everything easier for the end user.
For a non-scripter, Yanfly's post makes absolute sense, and is the reason why I use a lot of his scripts.

I think it is at least a bit questionable to set on one side the problems of those who make a mess of customising/configuring a script, and on the other side propose as a solution the provision of lots of small scripts, each highly specialised.  My impression is that if you cannot work out how to customise a Yanfly script, you are unlikely to be able to put together a lot of snippets so that they don't conflict or have other issues.
Using the food analogy, the OP's for buffets.

Putting into the customers' shoes:

- For those who like buffets, that can be really fantastic, as they have almost complete control and freedom on how to compose their own desired meals using all the ingredients available. When they somehow combined 2 ingredients that don't go well together into the same meal, they might try to find some sauces to resolve those taste clashes.

- For those who prefer set meals, buffets can be painful as hell to them, as they'll have to constantly think of how to compose their own desired meals using all the ingredients available, and many of them just aren't up to such tasks yet. Even for those who're capable enough, they might still prefer set meals as they don't have to pick all the ingredients themselves. Some might ask the buffet restaurants to provide some suggested recipes to make the most common set meals, but they might still suffer from properly following those recipes even there are ones that can make their own desired meals.

Putting into the restaurants' shoes, running the buffet model demands them to:

- Worry about mixing foods that don't go well together. They can't blame the customers for not knowing those taste clashes(even if some of them are indeed common sense) or they'll end up losing lots of customers. They might have to prepare some special sauces to resolve those taste clashes or inform customers which foods don't go well together.

- Worry about customers that want to have their own desired set meals but not knowing how to make ones themselves. They'll either have to prepare some suggested recipes to make the most common set meals, or encourage customers to ask and designate some staffs to answer in case such questions do come.

If a restaurant tries to run both the buffet model and the set meal model simultaneously, the entities running it will most likely end up being bankrupt unless they're extremely rich. So most restaurants have to position themselves early that whether they're going to run the buffet or set meal model, by thinking of their potential targeting audiences. If most of their targeting audiences prefer buffets, they'll go for the buffet model; If most of their targeting audiences prefer set meals, they'll go for the set meal model.

When running the buffet model, few restaurants will ever be "creative" enough to break the ingredients into the molecular level, like separating tomato sauce and cheeses from the spaghetti(although they'll still provide separate tomato sauce and cheeses for their customers).

When running the set meal model, few restaurants will ever make 1 person set meals that most people can't finish them by themselves unless that's an intended selling point, or make them in ways that the main courses are mixed with the starters or desserts(they'll also let customers add and/or remove some set meal component to give them more control and freedom).

Now imagine you love japanese foods, western foods, chinese foods, etc.

If you're for buffets:

- You've probably marked down several restaurants as your favorite japanese, western and chinese(and some other as well) buffet restaurants, so when you want to eat a certain type of buffet, you can just go to your corresponding favorite restaurants. But if somehow those restaurants merged into 1 single restaurant(still grouped by japanese section, western section, chinese section, etc, but in 1 gigantic place), you'll likely have a hard time even just for navigating yourself there(you'll have to move yourself to your desired ingredients), let alone enjoying your own desired meals.

If you're for set meals:

- If the same mess happens on your favorite japanese, western and chinese(and some other as well) restaurants that serve set meals(they merged into 1 single restaurant that are divided into japanese, western, chinese, etc, sections but still in 1 gigantic place), you'll be much easier navigating there(you'll have to find your desired meals from the right menu), although it can still be quite unpleasant if the number of your favorite restaurants were huge.

(Again, whether the RMMV plugin manager bloat issues will come if your approach's followed depends on whether it can group plugins into folders or similar fashions.)

While it's completely okay for buffet lovers to ask for more buffet restaurants, asking most(if not all) restaurants to run the buffet model is merely unrealistic, even though I still think that such demands are at least understandable. Imagine a set meal lover asking the majority of the restaurants to run the set meal model, what would you, as a buffet lover, feel/think?

P.S: That's not to say that restaurants can only choose between the buffet model or the set meal model. There are indeed many other models that most restaurants can choose.

P.S.S.: Customers are analogous to script/engine/system users, restaurants are analogous to scripts/engines/systems, entities running restaurants are analogous to scripters, taste clashes are analogous to compatibility issues, special sauces are analogous to compatibility patches, etc.
Heya! This is Yanfly here!

(。 ◕ ‿‿ ◕ 。)

Now, here's the thing about humans that I find to be fascinating: You're all incredibly fast learners. However, the way you learn things, isn't through sitting in a classroom, taking notes, listening to whatever that strange person in the front of the room is saying. Instead, the way humans learn the best is through experiencing things. And through the course of evolution, your fast pace in picking up things you don't know has lead your species on the way to your evolutionary success.

By the way, I'm having a grill this Sunday before it gets too cold where I live~
(Emphasis is in above quote is mine.) Proof, Yanfly is in fact an alien.

Also, can I pretend I've never tasted a tasty burger and swing by, as you seem to know a lot about burgers. No tomatoes for me though.

On topic, I 100% agree with Yanfly, DoubleX, and Hudell. Hudell essentially said, in a TL😀R version, what I was getting at. If you can turn off all the things you don't want in a large script, what's the difference between a large script and a bunch of snippets (as far as optional features are concerned)?

Edited to fix a typo.
(Emphasis is in above quote is mine.) Proof, Yanfly is in fact an alien.

Also, can I pretend I've never tasted a tasty burger and swing by, as you seem to know a lot about burgers. No tomatoes for me though.

On topic, I 100% agree with Yanfly, DoubleX, and Hudell. Hudell essentially said, in a TL😀R version, what I was getting at. If you can turn off all the things you don't want in a large script, what's the difference between a large script and a bunch of snippets (as far as optional features are concerned)?

Edited to fix a typo.
If you can *really* turn off features you don't want, then it is not an issue.

For example, if your code looked like this

if OPTION_ONE_ENABLED class Test def method # code end endendif OPTION_TWO_ENABLED class Test def method # code end endendThen turning off a part of the code would be fine.However, this is probably how some optional features are coded

Code:
class Test  def method    if OPTION_ONE_ENABLED       # code    end       if OPTION_TWO_ENABLED       # code    end  endend
Which means that you have potentially altered existing definitions, which may result in compatibility issues.
Good point (no pun related to my stupid username intended). The only real answer is, there is no answer that fixes all of the negatives of either option, meaning large scripts or lots of snippets. The two best choices, imho, are learn to code/script yourself, or pay and/or rely on the generosity of others to write you a snippet if you only need part of a larger scipt's functionality.

I had a longer response typed out, but then it really all comes down to this: in the end, it's up to the individual scripters how they want to address the larger script vs. snippet question, and which form of coding (i.e. example 1 or example 2 provided by Tsukihime) they want to use or works better for them.

I think this time around, I'm going to actually learn javasript. Who knows, maybe I'll spend my time breaking apart larger scripts into snippets (with permission and credit given, of course!) for other people. Working with well-written code as a base, and manipulating it to do something slightly different, is often a good learning tool.
Wow, so cool Yanfly actually left a message of that length. And I do understand the explanation. Of course, I am well aware that there is no definite answer to this topic. In fact, if you look closely, you'll notice a "Maybe" and a "?" in the topic title. 😉

So, I am really happy that I could actually raise awareness of the issue, and maybe it made some scripters think about their approach a little more and then make a decision how to split their complex scripts, if at all.
Maybe I'm alone in this, but I don't like including scripts in my project that do more than I want. If I am, in fact, not alone in this, maybe future JS scripters take note of this thread and make scripts that do only ONE thing instead of scripts that change, for example, the whole Item Menu.

The again, maybe it's just nonesense to only deal with single elements, because it's so easy to change a whole scene while you're at it?

In both cases, I'd be happy to spawn a discussion about this. 🙂
Well plugins can be complex or simple. Like modules. Like Class Methods. It is more a philosophical issue. You can create a collection of plugins doing together something complex or just include them all in a big plugin to do that.

 It depends. For example Jquery is a very complex add on, you can have in your web development for example. It could be cut into smaller pieces, but as a whole it doesn't really do anything to load your system. You have to make a call to do stuff.

On the other hand imagine a whole website JS code in one big file. Difficult to debug, difficult to expand, difficult to edit or optimize.

It depends. 🙂

Another example:

On VX Ace you can have 5 scripts imported as one script (assumiing no comatibility issues occur) or you can have them in separate slots.

That depends on what you want a script or a set of scripts to achieve.

Luna Engine is a somewhat ultra-complex-modular script collection. Yet some parts of it are complex. 😛

Thus (once again) it depends! 😛
In case of Luna Engine, I have always been wanting to make it as modular as possible. However, it might be difficult to put in work, since we all want to have something that even people with little knowledge in programming can use. And some of those features need overwriting default things, and maybe depend on each other.

Anyway I always think Yanfly scripts as something provides features Enterbrain should implement in RM aka missing features so I don't think they are overkill at all.

If we break a large scripts into many small scripts, it would be hard to manage if you need tons of features, and the scripts manager in RM is actually bad in my opinion.

Furthermore, some methods (mostly helpers and utilities) need to be used many times, and people often have negative thoughts toward something like Core Engine and Basic Module so scripters want to do relating features in one script. And who know if someone want feature A but not feature B while the others want B instead of A.

:3

Original thread: https://forums.rpgmakerweb.com/threads/maybe-dont-make-complex-scripts.43935/