Class: RPG::Item

Inherits:
UsableItem show all
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

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

#features, #icon_index, #note

Instance Attribute Details

#animation1_idObject

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_idObject

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_idObject

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

#consumableObject

Returns the value of attribute consumable.



19
20
21
# File 'lib/eidolon/rgss/rpg/item.rb', line 19

def consumable
  @consumable
end

#descriptionObject

Returns the value of attribute description.



11
12
13
# File 'lib/eidolon/rgss/rpg/item.rb', line 11

def description
  @description
end

#element_setObject

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

#hitObject

Returns the value of attribute hit.



26
27
28
# File 'lib/eidolon/rgss/rpg/item.rb', line 26

def hit
  @hit
end

#hp_recoveryObject

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_rateObject

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_nameObject

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

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/eidolon/rgss/rpg/item.rb', line 8

def id
  @id
end

#itype_idObject

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_fObject

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

Returns the value of attribute menu_se.



16
17
18
# File 'lib/eidolon/rgss/rpg/item.rb', line 16

def menu_se
  @menu_se
end

#minus_state_setObject

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_recoveryObject

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_rateObject

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

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/eidolon/rgss/rpg/item.rb', line 9

def name
  @name
end

#occasionObject

Returns the value of attribute occasion.



13
14
15
# File 'lib/eidolon/rgss/rpg/item.rb', line 13

def occasion
  @occasion
end

#parameter_pointsObject

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_typeObject

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_fObject

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_setObject

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

#priceObject

Returns the value of attribute price.



18
19
20
# File 'lib/eidolon/rgss/rpg/item.rb', line 18

def price
  @price
end

#recover_hpObject

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_rateObject

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_spObject

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_rateObject

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

#scopeObject

Returns the value of attribute scope.



12
13
14
# File 'lib/eidolon/rgss/rpg/item.rb', line 12

def scope
  @scope
end

#varianceObject

Returns the value of attribute variance.



29
30
31
# File 'lib/eidolon/rgss/rpg/item.rb', line 29

def variance
  @variance
end