Class: RPG::Item
- Inherits:
-
UsableItem
- Object
- BaseItem
- UsableItem
- RPG::Item
- Defined in:
- lib/eidolon/rgss/rpg/item.rb,
lib/eidolon/rgss2/rpg/item.rb,
lib/eidolon/rgss3/rpg/item.rb
Overview
RGSS3
This data structure is specific to RGSS3 (VX Ace).
Item
The data class for items.
Instance Attribute Summary collapse
-
#animation1_id ⇒ Object
Returns the value of attribute animation1_id.
-
#animation2_id ⇒ Object
Returns the value of attribute animation2_id.
-
#common_event_id ⇒ Object
Returns the value of attribute common_event_id.
-
#consumable ⇒ Object
Returns the value of attribute consumable.
-
#description ⇒ Object
Returns the value of attribute description.
-
#element_set ⇒ Object
Returns the value of attribute element_set.
-
#hit ⇒ Object
Returns the value of attribute hit.
-
#hp_recovery ⇒ Object
Returns the value of attribute hp_recovery.
-
#hp_recovery_rate ⇒ Object
Returns the value of attribute hp_recovery_rate.
-
#icon_name ⇒ Object
Returns the value of attribute icon_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#itype_id ⇒ Object
Returns the value of attribute itype_id.
-
#mdef_f ⇒ Object
Returns the value of attribute mdef_f.
-
#menu_se ⇒ Object
Returns the value of attribute menu_se.
-
#minus_state_set ⇒ Object
Returns the value of attribute minus_state_set.
-
#mp_recovery ⇒ Object
Returns the value of attribute mp_recovery.
-
#mp_recovery_rate ⇒ Object
Returns the value of attribute mp_recovery_rate.
-
#name ⇒ Object
Returns the value of attribute name.
-
#occasion ⇒ Object
Returns the value of attribute occasion.
-
#parameter_points ⇒ Object
Returns the value of attribute parameter_points.
-
#parameter_type ⇒ Object
Returns the value of attribute parameter_type.
-
#pdef_f ⇒ Object
Returns the value of attribute pdef_f.
-
#plus_state_set ⇒ Object
Returns the value of attribute plus_state_set.
-
#price ⇒ Object
Returns the value of attribute price.
-
#recover_hp ⇒ Object
Returns the value of attribute recover_hp.
-
#recover_hp_rate ⇒ Object
Returns the value of attribute recover_hp_rate.
-
#recover_sp ⇒ Object
Returns the value of attribute recover_sp.
-
#recover_sp_rate ⇒ Object
Returns the value of attribute recover_sp_rate.
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#variance ⇒ Object
Returns the value of attribute variance.
Attributes inherited from UsableItem
#absorb_damage, #animation_id, #atk_f, #base_damage, #damage, #damage_to_mp, #effects, #hit_type, #ignore_defense, #physical_attack, #repeats, #speed, #spi_f, #success_rate, #tp_gain
Attributes inherited from BaseItem
Instance Attribute Details
#animation1_id ⇒ Object
Returns the value of attribute animation1_id.
14 15 16 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 14 def animation1_id @animation1_id end |
#animation2_id ⇒ Object
Returns the value of attribute animation2_id.
15 16 17 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 15 def animation2_id @animation2_id end |
#common_event_id ⇒ Object
Returns the value of attribute common_event_id.
17 18 19 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 17 def common_event_id @common_event_id end |
#consumable ⇒ Object
Returns the value of attribute consumable.
19 20 21 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 19 def consumable @consumable end |
#description ⇒ Object
Returns the value of attribute description.
11 12 13 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 11 def description @description end |
#element_set ⇒ Object
Returns the value of attribute element_set.
30 31 32 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 30 def element_set @element_set end |
#hit ⇒ Object
Returns the value of attribute hit.
26 27 28 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 26 def hit @hit end |
#hp_recovery ⇒ Object
Returns the value of attribute hp_recovery.
13 14 15 |
# File 'lib/eidolon/rgss2/rpg/item.rb', line 13 def hp_recovery @hp_recovery end |
#hp_recovery_rate ⇒ Object
Returns the value of attribute hp_recovery_rate.
12 13 14 |
# File 'lib/eidolon/rgss2/rpg/item.rb', line 12 def hp_recovery_rate @hp_recovery_rate end |
#icon_name ⇒ Object
Returns the value of attribute icon_name.
10 11 12 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 10 def icon_name @icon_name end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 8 def id @id end |
#itype_id ⇒ Object
Returns the value of attribute itype_id.
10 11 12 |
# File 'lib/eidolon/rgss3/rpg/item.rb', line 10 def itype_id @itype_id end |
#mdef_f ⇒ Object
Returns the value of attribute mdef_f.
28 29 30 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 28 def mdef_f @mdef_f end |
#menu_se ⇒ Object
Returns the value of attribute menu_se.
16 17 18 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 16 def @menu_se end |
#minus_state_set ⇒ Object
Returns the value of attribute minus_state_set.
32 33 34 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 32 def minus_state_set @minus_state_set end |
#mp_recovery ⇒ Object
Returns the value of attribute mp_recovery.
15 16 17 |
# File 'lib/eidolon/rgss2/rpg/item.rb', line 15 def mp_recovery @mp_recovery end |
#mp_recovery_rate ⇒ Object
Returns the value of attribute mp_recovery_rate.
14 15 16 |
# File 'lib/eidolon/rgss2/rpg/item.rb', line 14 def mp_recovery_rate @mp_recovery_rate end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 9 def name @name end |
#occasion ⇒ Object
Returns the value of attribute occasion.
13 14 15 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 13 def occasion @occasion end |
#parameter_points ⇒ Object
Returns the value of attribute parameter_points.
21 22 23 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 21 def parameter_points @parameter_points end |
#parameter_type ⇒ Object
Returns the value of attribute parameter_type.
20 21 22 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 20 def parameter_type @parameter_type end |
#pdef_f ⇒ Object
Returns the value of attribute pdef_f.
27 28 29 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 27 def pdef_f @pdef_f end |
#plus_state_set ⇒ Object
Returns the value of attribute plus_state_set.
31 32 33 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 31 def plus_state_set @plus_state_set end |
#price ⇒ Object
Returns the value of attribute price.
18 19 20 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 18 def price @price end |
#recover_hp ⇒ Object
Returns the value of attribute recover_hp.
23 24 25 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 23 def recover_hp @recover_hp end |
#recover_hp_rate ⇒ Object
Returns the value of attribute recover_hp_rate.
22 23 24 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 22 def recover_hp_rate @recover_hp_rate end |
#recover_sp ⇒ Object
Returns the value of attribute recover_sp.
25 26 27 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 25 def recover_sp @recover_sp end |
#recover_sp_rate ⇒ Object
Returns the value of attribute recover_sp_rate.
24 25 26 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 24 def recover_sp_rate @recover_sp_rate end |
#scope ⇒ Object
Returns the value of attribute scope.
12 13 14 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 12 def scope @scope end |
#variance ⇒ Object
Returns the value of attribute variance.
29 30 31 |
# File 'lib/eidolon/rgss/rpg/item.rb', line 29 def variance @variance end |