Make item menu available even if there are not any actors

Hey z(o^-^o)

As many of you may know, the item menu becomes unavailable when there are not any actors in the party. Does anyone know how to fix this?
What kind of item do you plan to use if there are no actors?

The player can't do anything without actors, and there are no parameters to base an effect on or to be the target of an effect - so there is no need or use for regular item functions.

Just activating the menu in such a case will cause a lot of problems for the engine - so whoever will try to solve this for you needs to know what functions to allow and what functions to block.
class Window_MenuCommand

  def add_main_commands

    add_command(Vocab::item,   :item)

    add_command(Vocab::skill,  :skill,  main_commands_enabled)

    add_command(Vocab::equip,  :equip,  main_commands_enabled)

    add_command(Vocab::status, :status, main_commands_enabled)

  end

end

Edit: though yeah, Andar presents a valid point. This is potentially dangerous and may cause crashes.
What kind of item do you plan to use if there are no actors?

The player can't do anything without actors, and there are no parameters to base an effect on or to be the target of an effect - so there is no need or use for regular item functions.

Just activating the menu in such a case will cause a lot of problems for the engine - so whoever will try to solve this for you needs to know what functions to allow and what functions to block.
I'm making a monster collecting game, and the player itself doesn't count as an actor. In the beginning of the game, you don't have any monsters, but I still wanted the item menu accessible. This is just for show, since you won't be receiving any items until you get your first monster anyways.

Original thread: https://forums.rpgmakerweb.com/threads/make-item-menu-available-even-if-there-are-not-any-actors.39076/