Basically what the title says.
I'm using the script called Actor Trade Scene, which is an addon for Actor Inventory, both from Hime.
This script (the Actor Trade Scene), has at the end a section that adds the trade option to the menu.
This works fine in a new project and without scripts, which I have been able to check, but for some reason, in my project it DOES NOT WORK, the option in my project does not appear in the menu.
I tried to add it in a “forced” way, creating the codes in the base scripts, but still, nothing.
I suspect that some script I have related to the menu is interfering with this in some way, however, despite checking them, I have not found the source of the problem.
I'll leave here my script.rvdata2 in case someone can help me with this.
I'm using the script called Actor Trade Scene, which is an addon for Actor Inventory, both from Hime.
Code:
class Window_MenuCommand < Window_Command
alias :th_actor_trade_scene_add_original_commands :add_original_commands
def add_original_commands
th_actor_trade_scene_add_original_commands
add_command("Trade", :trade, main_commands_enabled)
end
end
class Scene_Menu < Scene_MenuBase
alias :th_actor_trade_scene_create_command_window :create_command_window
def create_command_window
th_actor_trade_scene_create_command_window
@command_window.set_handler(:trade, method(:command_actor_trade))
end
def command_actor_trade
SceneManager.call(Scene_ActorTrade)
end
end
This script (the Actor Trade Scene), has at the end a section that adds the trade option to the menu.
This works fine in a new project and without scripts, which I have been able to check, but for some reason, in my project it DOES NOT WORK, the option in my project does not appear in the menu.
I tried to add it in a “forced” way, creating the codes in the base scripts, but still, nothing.
I suspect that some script I have related to the menu is interfering with this in some way, however, despite checking them, I have not found the source of the problem.
I'll leave here my script.rvdata2 in case someone can help me with this.