RPG::BaseItem

A superclass of actor, class, skill, item, weapon, armor, enemy, and state.

Some items are unnecessary depending on the type of data, but they are included for convenience sake.

Superclass

Attributes

id

The item ID.

name

The item name.

icon_index

The icon number.

description

The description text.

features

A list of features. An RPG::BaseItem::Feature array.

note

The text of the note.

Inner Classes

Definition

class RPG::BaseItem
  def initialize
    @id = 0
    @name = ''
    @icon_index = 0
    @description = ''
    @features = []
    @note = ''
  end
  attr_accessor :id
  attr_accessor :name
  attr_accessor :icon_index
  attr_accessor :description
  attr_accessor :features
  attr_accessor :note
end