Before I draw out my problem, I have to point out that this was taken from my past request:
http://forums.rpgmakerweb.com/index.php?/topic/24543-confused-about-modules/
which was solved by Engr. Shana. The thing I am wondering now that i can access the modules was if there is a way to draw them via a command easily rather than doing this way:
#-------------------------------------------------------------------------- # * Add Main Commands to List #-------------------------------------------------------------------------- def add_main_commands add_command(Vocab::item, :item, main_commands_enabled) add_command(Vocab::skill, :skill, main_commands_enabled) add_command(Vocab::equip, :equip, main_commands_enabled) add_command(Vocab::status, :status, main_commands_enabled) endI duplicated the whole Menu Command for this by the way. I made some new commands of my own that I wanted to use. However, it seems to take a lot of time adding commands this way (I feel it that way though).
So I came across:
module Heartfire MENU_NAMES= ["Pride","Sloth","Envy"]endto start with in my module. I created a new window:
class Window_Sins< Window_Base def initialize super(0,0,Graphics.width,Graphics.height) refresh endendrespectively. Now, supposing I want to create a window that would display the commands
Menu_Methods = {1 => 😛ride,2 => :sloth,3 => :envy}is there a way to draw them easier rather than doing add_command?
Someone told me to use draw method but I am clueless how to do so.
http://forums.rpgmakerweb.com/index.php?/topic/24543-confused-about-modules/
which was solved by Engr. Shana. The thing I am wondering now that i can access the modules was if there is a way to draw them via a command easily rather than doing this way:
#-------------------------------------------------------------------------- # * Add Main Commands to List #-------------------------------------------------------------------------- def add_main_commands add_command(Vocab::item, :item, main_commands_enabled) add_command(Vocab::skill, :skill, main_commands_enabled) add_command(Vocab::equip, :equip, main_commands_enabled) add_command(Vocab::status, :status, main_commands_enabled) endI duplicated the whole Menu Command for this by the way. I made some new commands of my own that I wanted to use. However, it seems to take a lot of time adding commands this way (I feel it that way though).
So I came across:
module Heartfire MENU_NAMES= ["Pride","Sloth","Envy"]endto start with in my module. I created a new window:
class Window_Sins< Window_Base def initialize super(0,0,Graphics.width,Graphics.height) refresh endendrespectively. Now, supposing I want to create a window that would display the commands
- Pride
- Sloth
- Envy
Menu_Methods = {1 => 😛ride,2 => :sloth,3 => :envy}is there a way to draw them easier rather than doing add_command?
Someone told me to use draw method but I am clueless how to do so.