Trying to alias a Method in a Class in a Module.

I use lazy loading now for all instantiation, because you're probably not going to need to load everything at start-up, and loading them at run-time probably shouldn't cause too much performance issues.



Code:
class RPG::Actor
   def special_attribute
    return @special_attribute unless @special_attribute.nil?

    #... insert code here that looks at notetags ..
    return @special_attribute = <whatever was found in notetags>
   end
end
http://www.rpgmakervxace.net/topic/4135-to-scripters-initialize-your-custom-rpg-attributes/#entry36871

However if you're working with code that requires large amounts of processing, you might then choose to load everything at start-up so players don't have to wait in the middle of the game.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-alias-a-method-in-a-class-in-a-module.1610/