Class: RPG::BaseItem

Inherits:
Object
  • Object
show all
Defined in:
lib/eidolon/rgss2/rpg/base_item.rb,
lib/eidolon/rgss3/rpg/base_item.rb,
lib/eidolon/rgss3/rpg/base_item/feature.rb

Overview

RGSS3

This data structure is specific to RGSS3 (VX Ace).

BaseItem

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 the sake of convenience.

Direct Known Subclasses

Actor, Class, Enemy, EquipItem, State, UsableItem

Defined Under Namespace

Classes: Feature

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



11
12
13
# File 'lib/eidolon/rgss2/rpg/base_item.rb', line 11

def description
  @description
end

#featuresObject

Returns the value of attribute features.



15
16
17
# File 'lib/eidolon/rgss3/rpg/base_item.rb', line 15

def features
  @features
end

#icon_indexObject

Returns the value of attribute icon_index.



10
11
12
# File 'lib/eidolon/rgss2/rpg/base_item.rb', line 10

def icon_index
  @icon_index
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/eidolon/rgss2/rpg/base_item.rb', line 8

def id
  @id
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/eidolon/rgss2/rpg/base_item.rb', line 9

def name
  @name
end

#noteObject

Returns the value of attribute note.



12
13
14
# File 'lib/eidolon/rgss2/rpg/base_item.rb', line 12

def note
  @note
end