RPG::System::Terms
The data class for terminology.
Superclass
Referrer
Attributes
- basic
The basic status. A string array with the following subscripts:
- 0: Level
- 1: Level (short)
- 2: HP
- 3: HP (short)
- 4: MP
- 5: MP (short)
- 6: TP
- 7: TP (short)
- params
Parameters. A string array with the following subscripts:
- 0: Maximum hit points
- 1: Maximum magic points
- 2: Attack power
- 3: Defense power
- 4: Magic attack power
- 5: Magic defense power
- 6: Agility
- 7: Luck
- etypes
The equipment type. A string array with the following subscripts:
- 0: Weapon
- 1: Shield
- 2: Head
- 3: Body
- 4: Accessory
- commands
Commands. A string array with the following subscripts:
- 0: Fight
- 1: Escape
- 2: Attack
- 3: Defend
- 4: Item
- 5: Skill
- 6: Equip
- 7: Status
- 8: Sort
- 9: Save
- 10: Exit Game
- 11: (not used)
- 12: Weapon
- 13: Armor
- 14: Key Item
- 15: Change Equipment
- 16: Ultimate Equipment
- 17: Remove All
- 18: New Game
- 19: Continue
- 20: Shut Down
- 21: Go to Title
- 22: Cancel
Definition
class RPG::System::Terms
def initialize
@basic = Array.new(8) {''}
@params = Array.new(8) {''}
@etypes = Array.new(5) {''}
@commands = Array.new(23) {''}
end
attr_accessor :basic
attr_accessor :params
attr_accessor :etypes
attr_accessor :commands
end