RPG::System::Words
Data class for terminology.
Superclass
Referrer
Attributes
gold
The term "G" (the unit of currency).
hp
The term "HP" (hit points).
sp
The term "SP" (skill points).
str
The term "Strength".
dex
The term "Dexterity".
agi
The term "Agility".
int
The term "Intelligence".
atk
The term "Attack Power".
pdef
The term "Physical Defense".
mdef
The term "Magic Defense".
weapon
The term "Weapon".
armor1
The term "Shield".
armor2
The term "Helmet".
armor3
The term "Body armor".
armor4
The term "Accessory".
attack
The term "Attack".
skill
The term "Skill".
guard
The term "Defense".
item
The term "Item".
equip
The term "Equip".
Definition
module RPG
class System
class Words
def initialize
@gold = ""
@hp = ""
@sp = ""
@str = ""
@dex = ""
@agi = ""
@int = ""
@atk = ""
@pdef = ""
@mdef = ""
@weapon = ""
@armor1 = ""
@armor2 = ""
@armor3 = ""
@armor4 = ""
@attack = ""
@skill = ""
@guard = ""
@item = ""
@equip = ""
end
attr_accessor :gold
attr_accessor :hp
attr_accessor :sp
attr_accessor :str
attr_accessor :dex
attr_accessor :agi
attr_accessor :int
attr_accessor :atk
attr_accessor :pdef
attr_accessor :mdef
attr_accessor :weapon
attr_accessor :armor1
attr_accessor :armor2
attr_accessor :armor3
attr_accessor :armor4
attr_accessor :attack
attr_accessor :skill
attr_accessor :guard
attr_accessor :item
attr_accessor :equip
end
end
end
Last updated