物品的数据类。
物品类型 ID。
价格。
是否为消耗品。
判断物品是否为[贵重物品],当 itype_id 值为 2 时返回 true。
class RPG::Item < RPG::UsableItem
  def initialize
    super
    @scope = 7
    @itype_id = 1
    @price = 0
    @consumable = true
  end
  def key_item?
    @itype_id == 2
  end
  attr_accessor :itype_id
  attr_accessor :price
  attr_accessor :consumable
end