Reactor Features

Reactor adds many things that MZ does not have. Plugins provide many of the same things: VisuStella, Yanfly, Galv, SRD, MOG and others. A project that uses such a plugin must be able to turn Reactor's version off, so that the two don't conflict. Database › Reactor Features (System section) lists each of these additions with a tick:

  • Basic lists the things most projects meet. Advanced lists engine-level and compatibility switches.
  • When an enabled plugin in the project's plugin list does the same job, the row says Provided by plugin: X and offers Turn off Reactor's version.
  • When a feature is off:
    • its Database fields are hidden;
    • the game behaves as MZ does;
    • data already entered is kept, so turning the feature back on restores it.

Where Things Live

PartFile
Registry (labels, tiers, flags, defaults, plugin lists)editor/src/ReactorFeatures.js
Game side (ReactorFeatures.on(id))runtime/reactor_features.js (loaded right after reactor_core_io.js)
The pageeditor/src/database/DatabaseFeaturesEditor.js
Testseditor/tests/reactor-features.test.cjs

Storage

A new feature's flag is System.json → rrFeatures.<id>. It is stored only while it differs from the default, so a project that never opens the page keeps a clean System.json. A feature that already had a flag keeps that flag: multiFrames uses rrMultiFrames (on by default, storing false when unchecked), and skipTitle uses rrSkipTitle (off by default, storing true when checked). Both settings pages preserve those choices. higherLimits uses rrHigherLimits, the flag of the Limits box System 2 had; that box is gone, so the tick on Reactor Features is its one switch.

Defaults generally preserve existing behavior. Multi-frame sheets are an intentional exception: since runtime 20261101.25, new and opened projects recognize [NF] and [FN] sheets when no preference is saved. An explicit rrMultiFrames: false keeps legacy three-frame slicing and survives export, save and reopen. Other import compatibility rules remain off unless enabled by an import.

The multi-frame validation record covers default/opt-out persistence, picker and event previews, runtime frame rectangles, and the corrected export cycle. It records the isolated native game's plugin limits; a full project suite was deferred.

Registering a Feature

  1. Add a record to FEATURES in editor/src/ReactorFeatures.js:
    {
       id: 'unsellableItems', tier: 'basic', flag: 'rrFeatures.unsellableItems', default: true,
       label: 'Unsellable Items',
       description: 'Items and equipment marked as not for sale.',
       plugins: ['VisuMZ_1_ItemsEquipsCore', 'YEP_ShopMenuCore']   // '*' matches anything: 'Galv_QuestLog*'
    }

    Add pending: true while the feature is still being built. The page leaves it out until the feature's fields and game code ask the registry.

  2. Add the same id, flag and default to FLAGS in runtime/reactor_features.js. A test fails when the two tables differ.
  3. Game: where the feature acts, ask first, and treat a missing registry as the default. Some test harnesses load single runtime files without it.
    if (typeof ReactorFeatures !== "undefined" && !ReactorFeatures.on("unsellableItems")) return /* MZ's behaviour */;

    One gate at the feature's entry point is best: the function that every other part asks. Examples: Game_Actor.classEquipSlots, ReactorQuests.quests, ReactorFight.resolveMode.

  4. Editor: before drawing the feature's fields, ask window.ReactorFeatures.on(id, databaseManager.getSystem()) and skip the card or row when it is off. A whole Database page takes feature: '<id>' in DatabaseEditorUI.NAV_SECTIONS, and the sidebar leaves it out.
  5. Put the label and description through tText, with translations in all 17 locales in an I18nManager.js block.
  6. Remove pending and extend reactor-features.test.cjs with the feature's off case.

Inventory

Wired to the Registry

idTierFlag (default)Game gateEditor when offPlugins that do the same job
classEquipSlotsBasicrrFeatures.classEquipSlots (on)Game_Actor.classEquipSlots returns null, so actors get MZ's one slot per typeClasses › Equipment Slots card hidden; RREquipSlots.classSlots / resolve ignore rrEquipSlots and settle gives no class a listVisuMZ_1_ItemsEquipsCore, YEP_EquipCore
questsBasicrrFeatures.quests (on)ReactorQuests.quests() and ReactorQuests.find() return nothing, which removes the menu command, the tracker and the logQuests page left out of the sidebarYEP_QuestJournal, GS_QuestSystem, Galv_QuestLog*, MOG_QuestSystem. VisuMZ_2_QuestSystem is not listed: Database › Quests writes into it.
mapLighting2DBasicrrFeatures.mapLighting2D (on)Spriteset_Map.updateReactorLighting2D draws no flat lights(the Lighting tool stays: it also places 3D lights)Community_Lighting*, TerraxLighting*, Terrax_Lighting*, KhasUltraLighting, OcRam_Lights, VisuMZ_2_LightingEffects
unsellableItemsBasicrrFeatures.unsellableItems (on)Window_ShopSell.isEnabled (reactor_windows.js) and cannotSell (reactor_ui.js, the custom-interface shop) ignore rrNoSell, so only MZ's price-0 rule greys an item outThe Can't be sold box beside Price on Items, Weapons and Armors hiddenVisuMZ_1_ItemsEquipsCore, YEP_ShopMenuCore
enemyRangesBasicrrFeatures.enemyRanges (on)Game_Enemy.rrRoll returns null (base params, EXP and Gold) and rrDropCount returns 1Stat Variance %, the EXP and Gold maximum boxes and each drop's Qty range hidden on EnemiesYEP_EnemyLevels, VisuMZ_3_EnemyLevels, YEP_ExtraEnemyDrops, VisuMZ_3_ExtraEnemyDrops
spriteTransformsBasicrrFeatures.spriteTransforms (on)Game_CharacterBase.reactorMirror, reactorFlip, reactorRotate (and the 3D map's reactorRotate) and Game_Event.reactorSetupPageImage do nothingRotate, Mirror ON/OFF, Flip ON/OFF and Reset Image left out of Set Movement Route's buttons; the page's Mirror / Flip / Rotation row hiddenVisuMZ_1_EventsMoveCore, MOG_CharacterMotion
enemyEquipmentBasicrrFeatures.enemyEquipment (off)Game_Enemy.equips and equipSlots return nothing and changeEquip refuses, so weapons, armors, parameters and traits have no equipment in themEquipment... button and the Equipment Bonus and Equipped Total columns hidden on Enemies; Change Enemy Equipment left out of the command picker(none)
mapBattlesAdvancedrrFeatures.mapBattles (on)ReactorFight.resolveMode and modeInForce return classicCombat card (RRTactics.createSection) hidden on every pageSRPG_core*, AlphaABS*, Alpha_ABS*, QABS, MOG_ChronoEngine
equipSlotLayoutsAdvancedrrFeatures.equipSlotLayouts (on)Game_BattlerBase.slotLayout returns null and Game_Actor.fitEquipSlots sees no layouts, so a Slot Type that picked one is NormalTypes › Slot Layouts section hidden; the Slot Type trait offers Normal and Dual Wield (a saved pick stays, by number); RREquipSlots.layouts / layoutFor find noneVisuMZ_1_ItemsEquipsCore, YEP_EquipCore
higherLimitsAdvancedrrHigherLimits (off)Game_Party.rrHigherLimits (maxItems, maxGold, the shop's digits)(it is the flag itself)VisuMZ_0_CoreEngine, YEP_CoreEngine, YEP_BaseParamControl
multiFramesAdvancedrrMultiFrames (on)frame count and sprite slicing honor explicit off(it is the flag itself)Galv_CharacterFrames*, GALV_CharacterFrames*
skipTitleAdvancedrrSkipTitle (off)already read by Scene_Boot(it is the flag itself)\SkipTitle\, \TitleSkip\

Not yet Registered (Overlap with Plugins, Still Always On)

Reactor featureWherePlugins in the same space
Follower trail and formation movementruntime/reactor_objects_followers.jsVisuMZ_1_EventsMoveCore, YEP_FollowerControl-style plugins
8-direction sheets and diagonal movementreactor_sprites.js (rrFacing8) and followersVisuMZ_1_EventsMoveCore, Galv_DiagonalMovement, QMovement
Speaker faces and name boxreactor_speaker_face.js, rrNameBoxVisuMZ_1_MessageCore, YEP_MessageCore
Controls and key remappingreactor_controls.js, Database › ControlsYEP_KeyboardConfig, VisuMZ_1_OptionsCore
Image layers (parallax-mapping layers)reactor_image_layers.jsOrangeOverlay, Galv_LayerGraphics*
Picture extensionsreactor_picture_extensions.jsVisuMZ_4_ExtraPictures-type plugins
3D maps, physics (jump, fall, swim), Reactor vehiclesreactor_3d*.js, reactor_physics.js, reactor_vehicles*.jsMZ3D, Mode7 plugins. These are opt-in per map or event already.
Battle presentation and action sequencesreactor_battle_presentation.jsVisuMZ_1_BattleCore, YEP_BattleEngineCore, YEP_ActSeqPack*
Touch UIrrTouchUiOff(already a flag)
Random amounts on Change Gold / Items / Weapons / Armors (operand type 2)Game_Interpreter.operateValueNot part of enemyRanges: none of its plugins does this, and MZ would read operand type 2 as a variable, so an existing Random step would turn into a variable read.
2000/2003, XP/VX compatibility rulesrrLegacy* in System 2 › Compatibility; rrRgss* (no tick, set by the XP/VX/VX Ace importers)These are off by default and turned on only by an import. They do not compete with plugins, so they stay off this page.