01-08-2012, 09:25 PM
Hey, Cocoa. Just popping in at work and I noticed a slight error... unless RGSS3 has made a change to the handling of arrays and hashes.
First, please note the following code you supplied.
The contents array is a hash array defined with the {} braces. The arrays you have in your SKILLS module, and set up in the initialize method in Game_SkillPoints use just the [ ] brackets.
The initial SKILLNAME value should be changed to SKILLNAME = {} and turned into a hash array. Likewise, both the @skillpoint and @skillboost arrays should also be hash arrays.
That's a glancing inspection. I'll come back when I can.
First, please note the following code you supplied.
Code:
def self.make_save_contents
contents = {}
contents[:system] = $game_system
contents[:timer] = $game_timer
The contents array is a hash array defined with the {} braces. The arrays you have in your SKILLS module, and set up in the initialize method in Game_SkillPoints use just the [ ] brackets.
Code:
SKILLNAME = []
#SKILLNAME[id] = "skill name"
SKILLNAME[0] = "Alchemy"
SKILLNAME[1] = "Thaumatology"
The initial SKILLNAME value should be changed to SKILLNAME = {} and turned into a hash array. Likewise, both the @skillpoint and @skillboost arrays should also be hash arrays.
That's a glancing inspection. I'll come back when I can.
DerVVulfman's 'regular Joe' account for testing and permissions use.
Who watches the Watchmen?
Who watches the Watchmen?