class RPG::Item

Attributes

consumable[RW]
itype_id[RW]
price[RW]

Public Class Methods

new() click to toggle source
Calls superclass method RPG::UsableItem::new
# File lib/rgss3/rpg.rb, line 598
def initialize
  super
  @scope = 7
  @itype_id = 1
  @price = 0
  @consumable = true
end

Public Instance Methods

key_item?() click to toggle source
# File lib/rgss3/rpg.rb, line 605
def key_item?
  @itype_id == 2
end