Hi, I understand that this script hasn't gotten that much attention over the last few months, and might very well be unsupported, but I am hoping someone might explain something so that I know I am not going crazy.
I have done a routine search of the entire script and there is nowhere that the method 'description' is used.
class RPG::Enemy
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Description
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
def description(*args, &block)
if !@mamc_description
@mamc_description = super(*args, &block)
if note[/\\(DESCRIPTION|DESC)\{(.+?)\}/im]
@mamc_description = $2
@mamc_description.gsub!(/[\r\n]/, "")
@mamc_description.gsub!(/\\[Nn]/, "\n")
end
@mamc_description = "" unless @mamc_description.is_a?(String)
end
@mamc_description
end
end
Obviously the regex is defined in the code above, and a similar method is also defined in your 'State Descriptions' script for RPG::State, where it is also used. However, it seems to me, that this method is completely unused in 'Monster Catalogue'.
The reason I am asking is that I was unable to get \desc to work and looked over the code. Then came here.
Now I am highly confused, after reading the last bit of exchange that occurred here.
Am I simply missing something obvious? Like that 'ruby' character was missing the fact that he could simply increase the description window size via (:desc_window_lines)? If so, I'd appreciate any directions provided.
Thanks for your time.