Blackmorning Scripts

Uh, it's funny. The line 1172 is exactly handled if the @item_color is nil. Although I never see someone used (@item_color) == nil and if it actually works. How about changed it into @item_color.nil?
Hi mate, i delete all this section...

#--------------------------------------------------------------------------
# * Overwrite: Draw Text with Control Characters
#--------------------------------------------------------------------------
def draw_text_ex(x, y, text)
reset_font_settings
change_color(@item_color) unless @item_color == nil
text = convert_escape_characters(text)
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
process_character(text.slice!(0, 1), text, pos) until text.empty?
end

and it worl but no change the color, I think isnt matter for my game but you know if thsi gonna make future problems for my game?
Hi mate, i delete all this section...

#--------------------------------------------------------------------------
# * Overwrite: Draw Text with Control Characters
#--------------------------------------------------------------------------
def draw_text_ex(x, y, text)
reset_font_settings
change_color(@item_color) unless @item_color == nil
text = convert_escape_characters(text)
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
process_character(text.slice!(0, 1), text, pos) until text.empty?
end

and it worl but no change the color, I think isnt matter for my game but you know if thsi gonna make future problems for my game?
Well, of course it won't change the color. You deleted the important part. And no, I don't think it will cause future problem. Afaik, he overwrote the default function only to insert change color function. If you deleted that part, it would be back to default RM draw_text_ex function. Have you tried my suggestion though?
Yes i trie but give another problem, i try this:
def draw_text_ex(x, y, text)
reset_font_settings
change_color(@item_color) unless @item_color.nil
text = convert_escape_characters(text)
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
process_character(text.slice!(0, 1), text, pos) until text.empty?
end

and it says "undefined method "nil" for nil: NilClass"

Edit: Do you think this happen maybe because problems with the font used?
You forgot to put question mark. It should be
Code:
@item_color.nil?
OOhh thanks it work!!
you are a god among us! jaja thanks a lot!
Does this plugin still exist? Is there such a plugin for MV?
Does this plugin still exist? Is there such a plugin for MV?
I'm not sure of which script you are talking about, but the only plugins she made that I know of are VK Equip and a Shop one
I'm not sure of which script you are talking about, but the only plugins she made that I know of are VK Equip and a Shop one
The wait time is exceeded. I can't log in to the site. Maybe doesn't work in my region...
The wait time is exceeded. I can't log in to the site. Maybe doesn't work in my region...
Here are the mirrors for them:
VK Equip: Google Drive, Pastebin
Shop: Google Drive, Pastebin
Here are the mirrors for them:
VK Equip: Google Drive, Pastebin
Shop: Google Drive, Pastebin
Thank you!
😍

Original thread: https://forums.rpgmakerweb.com/threads/blackmorning-scripts.24109/