428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
|
# File 'lib/parse.rb', line 428
def self.characters
p = {
"name" => :string,
"age" => :int,
"strength" => :int,
"weight" => :int,
"agility" => :int,
"file" => :string,
"race" => :string,
"gender" => :symbol,
"healing" => :int,
"crafting" => :int,
"botany" => :int,
"healing_magic" => :int,
"mind" => :int,
"elemental" => :int,
"ranged" => :int,
"melee" => :int,
}
chars = Parser.new("def/characters.def", p, Core::Game::Character).parse
chars.each { |char|
char.setup
char.validate
}
return chars
end
|