RPG::Item

Data class for items.

Superclass

Attributes

id

The item ID.

name

The item name.

icon_name

The item's icon graphic file name.

description

The item description.

scope

Scope of the item's effects (0: none, 1: one enemy, 2: all enemies, 3: one ally, 4: all allies, 5: 1 ally--HP 0, 6: all allies--HP 0, 7: the user).

occasion

When the item may be used (0: always, 1: only in battle, 2: only from the menu, 3: never).

animation1_id

The animation ID when using the item.

animation2_id

The animation ID when on the receiving end of the item.

SE played when item is used on the menu screen (RPG::AudioFile).

common_event_id

The Common Event ID.

price

The item price.

consumable

Truth value of whether the item disappears when used.

parameter_type

Parameter affected (0: none, 1: max HP, 2: max SP, 3: strength, 4: dexterity, 5: agility, 6: intelligence).

parameter_points

Amount by which parameter increases.

recover_hp_rate

HP recovery rate.

recover_hp

HP recovery amount.

recover_sp_rate

SP recovery rate.

recover_sp

SP recovery amount.

hit

The item's hit probability.

pdef_f

The item's physical defense F rating.

mdef_f

The item's magic defense F rating.

variance

The item's degree of variance.

element_set

The item's element. An Elemental ID array.

plus_state_set

States to add. A State ID array.

minus_state_set

States to cancel. A Stae ID array.

Definition

Last updated