Class: RPG::Item

Inherits:
UsableItem show all
Defined in:
lib/R3EXS/RGSS3.rb

Overview

物品的数据类

Instance Attribute Summary collapse

Attributes inherited from UsableItem

#animation_id, #damage, #effects, #hit_type, #occasion, #repeats, #scope, #speed, #success_rate, #tp_gain

Attributes inherited from BaseItem

#description, #features, #icon_index, #id, #name, #note

Instance Attribute Details

#consumableObject

Returns the value of attribute consumable.



323
324
325
# File 'lib/R3EXS/RGSS3.rb', line 323

def consumable
  @consumable
end

#itype_idObject

Returns the value of attribute itype_id.



323
324
325
# File 'lib/R3EXS/RGSS3.rb', line 323

def itype_id
  @itype_id
end

#priceObject

Returns the value of attribute price.



323
324
325
# File 'lib/R3EXS/RGSS3.rb', line 323

def price
  @price
end