10-18-2014, 05:34 AM
This is awesome!
The only thing I'd probably change is to have it read from $data_common_events directly instead of allocating the @common_list instance variable; both copies of data would exist throughout the game session. Essentially you could remove the set_resource_database method and replace it with the following...
Example:
Then just Replace-All the @common_list instance for common_list hook function and you should be good to go :)
The only thing I'd probably change is to have it read from $data_common_events directly instead of allocating the @common_list instance variable; both copies of data would exist throughout the game session. Essentially you could remove the set_resource_database method and replace it with the following...
Example:
Code:
def common_list
$data_common_events
end
Then just Replace-All the @common_list instance for common_list hook function and you should be good to go :)