V-Gears 0
Free Final Fantasy VII engine.
KernelDataInstaller::MateriaData Struct Reference

Data for each materia. More...

Collaboration diagram for KernelDataInstaller::MateriaData:

Public Attributes

u16 level_up_ap [4]
 AP amounts at which the materia levels up. More...
 
u8 stat_raw
 Index of stat modifier. More...
 
u32 status_raw
 Status effects. More...
 
u8 element
 Materia element. More...
 
u8 type_raw
 Materia type. More...
 
u8 attribute [6]
 Materia attributes. More...
 
int id
 Accessory ID. More...
 
std::string name
 Accessory name. More...
 
std::string description
 Accessory description. More...
 
int type
 Materia type. More...
 
int sub_type
 Materia type. More...
 
MateriaStatBonus stats
 Stat bonuses for equipping the materia. More...
 
std::vector< int > status
 Statuses the materia inflicts. More...
 
std::vector< int > command
 Commands the materia enables in battle. More...
 
int attack [6]
 Attacks the materia enables in battle, at each level. More...
 
int attack_times [6]
 Number of times per battle an attack can be used, per level. More...
 
std::string ability
 Ability confered by the materia. More...
 
int ability_parameters [5]
 Parameter for the ability, varies per level. More...
 

Detailed Description

Data for each materia.

As found in KERNEL.BIN, file 8, in order, up to attributes. Members after attributes are not found literally in KERNEL.BIN, but are derived from other members or found in other files of the kernel (text files).

Member Data Documentation

◆ ability

std::string KernelDataInstaller::MateriaData::ability

Ability confered by the materia.

Can be provided by independent and independent materia.

◆ ability_parameters

int KernelDataInstaller::MateriaData::ability_parameters[5]

Parameter for the ability, varies per level.

It can be the number of times the ability can be executed, or the chance to activate...

◆ attack

int KernelDataInstaller::MateriaData::attack[6]

Attacks the materia enables in battle, at each level.

Derived from {

See also
type_raw} and {
attribute}.

◆ attack_times

int KernelDataInstaller::MateriaData::attack_times[6]

Number of times per battle an attack can be used, per level.

-1 means infinite times. Derived from {

See also
type_raw} and {
attribute}.

◆ attribute

u8 KernelDataInstaller::MateriaData::attribute[6]

Materia attributes.

6 x 1 byte.

They are mostly ignored in V-Gears.

◆ command

std::vector<int> KernelDataInstaller::MateriaData::command

Commands the materia enables in battle.

Derived from {

See also
type_raw}.

◆ description

std::string KernelDataInstaller::MateriaData::description

Accessory description.

Not found in the same file as the rest of the data, but on file 12.

◆ element

u8 KernelDataInstaller::MateriaData::element

Materia element.

1 byte.

◆ id

int KernelDataInstaller::MateriaData::id

Accessory ID.

Not actually in the item file data, it's the order at which it appears.

◆ level_up_ap

u16 KernelDataInstaller::MateriaData::level_up_ap[4]

AP amounts at which the materia levels up.

4 x 1 byte.

It can be used to determine how many levels the materia has.

◆ name

std::string KernelDataInstaller::MateriaData::name

Accessory name.

Not found in the same file as the rest of the data, but on file 20.

◆ stat_raw

u8 KernelDataInstaller::MateriaData::stat_raw

Index of stat modifier.

1 byte.

◆ stats

MateriaStatBonus KernelDataInstaller::MateriaData::stats

Stat bonuses for equipping the materia.

Derived from {

See also
stat_raw}.

◆ status

std::vector<int> KernelDataInstaller::MateriaData::status

Statuses the materia inflicts.

Derived from {

See also
status_raw}.

◆ status_raw

u32 KernelDataInstaller::MateriaData::status_raw

Status effects.

3 bytes, not 4!

◆ sub_type

int KernelDataInstaller::MateriaData::sub_type

Materia type.

Derived from {

See also
type_raw}.

◆ type

int KernelDataInstaller::MateriaData::type

Materia type.

Derived from {

See also
type_raw}.

◆ type_raw

u8 KernelDataInstaller::MateriaData::type_raw

Materia type.

1 byte.

2 nybbles. The upper one is the subtype, and it's ignored in V-Gears. The lower one the actual type.


The documentation for this struct was generated from the following file: