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

Data for each armor. More...

Public Attributes

u8 unknown_0
 Unknown (Always 0XFF). More...
 
u8 element_defense_mode
 Elemental resistance mode. More...
 
u8 defense
 Defense stat. More...
 
u8 m_defense
 Magic defense stat. More...
 
u8 evasion
 Evasion stat. More...
 
u8 m_evasion
 Magic evasion stat. More...
 
u8 status
 The status effect the armor protects against. More...
 
u16 unknown_1
 Unknown (Always 0XFFFF). More...
 
u8 slots_raw [8]
 Materia slots. More...
 
u8 growth
 Armor materia growth multiplier. More...
 
u16 equip_raw
 Characters that can equip the armor. More...
 
u16 element_raw
 Elements the armor protects agains. More...
 
u16 unknown_2
 Unknown (Always 0XFF). More...
 
u8 stat_raw [4]
 Stat the weapon raises. More...
 
u8 stat_bonus_raw [4]
 The amount the raised stats are raised by. More...
 
u16 restrict_raw
 Weapon restrictions. More...
 
u16 unknown_3
 Unknown (Always 0XFFFF). More...
 
int id
 Armor ID. More...
 
std::string name
 Armor name. More...
 
std::string description
 Armor description. More...
 
bool sellable
 Indicates if the armor can be sold. More...
 
bool useable_battle
 Indicates if the armor can be used in battle. More...
 
bool useable_menu
 Indicates if the armor can be used in the menu. More...
 
std::vector< u8equip
 The weapon battle model index. More...
 
std::vector< StatBonusstat_bonus
 Bonus in stats. More...
 
std::vector< u8materia_slots
 Materia slots. More...
 
std::vector< int > elements
 Elements of the weapon. More...
 

Detailed Description

Data for each armor.

As found in KERNEL.BIN, file 6, in order, up to unknown_3. Members after unknown_3 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

◆ defense

u8 KernelDataInstaller::ArmorData::defense

Defense stat.

1 byte.

◆ description

std::string KernelDataInstaller::ArmorData::description

Armor description.

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

◆ element_defense_mode

u8 KernelDataInstaller::ArmorData::element_defense_mode

Elemental resistance mode.

1 byte.

For all elements in {

See also
element_raw}: If 0: Absorbs. If 1: Nullifies. If 2: Halves. If any other value: normal.

◆ element_raw

u16 KernelDataInstaller::ArmorData::element_raw

Elements the armor protects agains.

◆ elements

std::vector<int> KernelDataInstaller::ArmorData::elements

Elements of the weapon.

Derived from {

See also
element_raw}.

◆ equip

std::vector<u8> KernelDataInstaller::ArmorData::equip

The weapon battle model index.

It's the lower nybble in {

See also
model_raw}.

◆ equip_raw

u16 KernelDataInstaller::ArmorData::equip_raw

Characters that can equip the armor.

2 bytes.

Contains bits indicating the characters that can equip the armor {

See also
character} for more info.

◆ evasion

u8 KernelDataInstaller::ArmorData::evasion

Evasion stat.

1 byte.

◆ growth

u8 KernelDataInstaller::ArmorData::growth

Armor materia growth multiplier.

1 byte.

◆ id

int KernelDataInstaller::ArmorData::id

Armor ID.

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

◆ m_defense

u8 KernelDataInstaller::ArmorData::m_defense

Magic defense stat.

1 byte.

◆ m_evasion

u8 KernelDataInstaller::ArmorData::m_evasion

Magic evasion stat.

1 byte.

◆ materia_slots

std::vector<u8> KernelDataInstaller::ArmorData::materia_slots

Materia slots.

Derived and simplified from {

See also
slots_raw}.

◆ name

std::string KernelDataInstaller::ArmorData::name

Armor name.

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

◆ restrict_raw

u16 KernelDataInstaller::ArmorData::restrict_raw

Weapon restrictions.

2 bytes.

Contains bits indicating if the item is {

See also
selleable}, {
useable_battle} and {
useable_menu}and {
throwable}.

◆ sellable

bool KernelDataInstaller::ArmorData::sellable

Indicates if the armor can be sold.

True if the bit 0 in {

See also
restrict_raw} is 0.

◆ slots_raw

u8 KernelDataInstaller::ArmorData::slots_raw[8]

Materia slots.

{

See also
slots} for more info.

◆ stat_bonus

std::vector<StatBonus> KernelDataInstaller::ArmorData::stat_bonus

Bonus in stats.

Derived from {

See also
stat_raw} and {
stat_bonus_raw}.

◆ stat_bonus_raw

u8 KernelDataInstaller::ArmorData::stat_bonus_raw[4]

The amount the raised stats are raised by.

{

See also
stat_bonus} for more info.

◆ stat_raw

u8 KernelDataInstaller::ArmorData::stat_raw[4]

Stat the weapon raises.

{

See also
stat_bonus} for more info.

◆ status

u8 KernelDataInstaller::ArmorData::status

The status effect the armor protects against.

1 byte.

◆ unknown_0

u8 KernelDataInstaller::ArmorData::unknown_0

Unknown (Always 0XFF).

1 byte.

◆ unknown_1

u16 KernelDataInstaller::ArmorData::unknown_1

Unknown (Always 0XFFFF).

1 byte.

◆ unknown_2

u16 KernelDataInstaller::ArmorData::unknown_2

Unknown (Always 0XFF).

1 byte.

◆ unknown_3

u16 KernelDataInstaller::ArmorData::unknown_3

Unknown (Always 0XFFFF).

1 byte.

◆ useable_battle

bool KernelDataInstaller::ArmorData::useable_battle

Indicates if the armor can be used in battle.

True if the bit 2 in {

See also
restrict_raw} is 0.

◆ useable_menu

bool KernelDataInstaller::ArmorData::useable_menu

Indicates if the armor can be used in the menu.

True if the bit 4 in {

See also
restrict_raw} is 0.

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