08-09-2024, 09:23 PM
(This post was last modified: 08-09-2024, 09:43 PM by DerVVulfman.)
Oh, dang. Part of the Kernel module. Indeed, global_variables would be a way to find all the globals... as long as at the bottom of the script list. Heh. Put it at the top and it skips everything below it.
Well, I have made a breakthrough when it comes to sifting through scripts. I can now retrieve the custom cache methods from RPG::Cache from any custom script!
Indeed, if a script appeared ...
module RPG::Cache
def self.menus(filename, hue=0)
or
module RPG
module Cache
def self.cursors(filename)
... it can retrieve both the names menus and cursors. Which means it does recognize the RPG::Cache module, whether formatted in one line or broken up in twain.
This is stage 1 in being able to actively search scripts for resources. Stage 2 will require me to delve into each method (def) and get the pathway suggested by each method. Given my proclivity to have the path be 'variable', this could be ... entertaining.
Well, I have made a breakthrough when it comes to sifting through scripts. I can now retrieve the custom cache methods from RPG::Cache from any custom script!
Indeed, if a script appeared ...
module RPG::Cache
def self.menus(filename, hue=0)
or
module RPG
module Cache
def self.cursors(filename)
... it can retrieve both the names menus and cursors. Which means it does recognize the RPG::Cache module, whether formatted in one line or broken up in twain.
This is stage 1 in being able to actively search scripts for resources. Stage 2 will require me to delve into each method (def) and get the pathway suggested by each method. Given my proclivity to have the path be 'variable', this could be ... entertaining.