![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
Data for each items. More...
Public Attributes | |
u32 | unknown_0 |
Unknown data (Always 0XFFFF). More... | |
u32 | unknown_1 |
Unknown data (Always 0XFFFF). More... | |
u16 | camera |
Camera movement ID. More... | |
u16 | restrict_raw |
Item restrictions. More... | |
u8 | target_raw |
Targeting mode. More... | |
u8 | effect |
Item effect ID. More... | |
u8 | damage_raw |
Damage formula. More... | |
u8 | power |
The item power. More... | |
u8 | condition_raw |
The restore type. More... | |
u8 | status_change_raw |
Information about status change mode and chance. More... | |
u8 | additional_effects_raw |
Special flags. More... | |
u8 | additional_effects_mod_raw |
Special flags. More... | |
u32 | status_raw |
Information about what status can be inflicted or cured. More... | |
u16 | element_raw |
Information about the item elements. More... | |
u16 | special_raw |
Special flags. More... | |
int | id |
Item ID. More... | |
std::string | name |
Item name. More... | |
std::string | description |
Item description. More... | |
bool | sellable |
Indicates if the item can be sold. More... | |
bool | useable_battle |
Indicates if the item can be used in battle. More... | |
bool | useable_menu |
Indicates if the item can be used in the menu. More... | |
Target | target |
Target selection mode. More... | |
u8 | damage_formula |
The damage formula. More... | |
u8 | damage_modifier |
The damage modifier. More... | |
RESTORE_TYPE | restore_type |
What the item restores when used. More... | |
StatusEffect | status |
Status effects. More... | |
std::vector< int > | elements |
Elements of the item. More... | |
Data for each items.
As found in KERNEL.BIN, file 4, in order, up to special. Members after special are not found literally in KERNEL.BIN, but are derived from other members or found in other files of the kernel (text files).
u8 KernelDataInstaller::ItemData::additional_effects_mod_raw |
Special flags.
1 byte.
u8 KernelDataInstaller::ItemData::additional_effects_raw |
Special flags.
1 byte.
u16 KernelDataInstaller::ItemData::camera |
Camera movement ID.
2 bytes.
Used for items useable in battle, determines the camera movement.
u8 KernelDataInstaller::ItemData::condition_raw |
u8 KernelDataInstaller::ItemData::damage_formula |
u8 KernelDataInstaller::ItemData::damage_modifier |
u8 KernelDataInstaller::ItemData::damage_raw |
Damage formula.
1 byte.
This byte is divided into two nybbles (four bits). Upper nybble determines what considerations are made in calculating damage such as physical/magical, allowing criticals, how to calculate accuracy, etc. There are also three sets of known formulae that are paired with the upper nybble values. These are selected in the Lower Nybble and determine how to calculate pre-defense damage
std::string KernelDataInstaller::ItemData::description |
Item description.
Not found in the same file as the rest of the data, but on file 11.
u8 KernelDataInstaller::ItemData::effect |
Item effect ID.
1 byte.
Used for animation in battle.
u16 KernelDataInstaller::ItemData::element_raw |
Information about the item elements.
2 bytes.
std::vector<int> KernelDataInstaller::ItemData::elements |
int KernelDataInstaller::ItemData::id |
Item ID.
Not actually in the item file data, it's the order at which it appears.
std::string KernelDataInstaller::ItemData::name |
Item name.
Not found in the same file as the rest of the data, but on file 19.
u8 KernelDataInstaller::ItemData::power |
The item power.
1 byte.
Used for damage/healing calculation.
RESTORE_TYPE KernelDataInstaller::ItemData::restore_type |
u16 KernelDataInstaller::ItemData::restrict_raw |
Item restrictions.
2 bytes.
Contains bits indicating if the item is {
bool KernelDataInstaller::ItemData::sellable |
u16 KernelDataInstaller::ItemData::special_raw |
Special flags.
2 bytes.
StatusEffect KernelDataInstaller::ItemData::status |
u8 KernelDataInstaller::ItemData::status_change_raw |
Information about status change mode and chance.
1 bytes.
u32 KernelDataInstaller::ItemData::status_raw |
Information about what status can be inflicted or cured.
4 bytes.
The first six bits are the chance of inflicting/curing (out of 63). If the seventh bit is set, the status is cured instead of inflicted. If the eighth bit is set, then the status is toggled (cured if present, inflicted if not present).
Target KernelDataInstaller::ItemData::target |
u8 KernelDataInstaller::ItemData::target_raw |
u32 KernelDataInstaller::ItemData::unknown_0 |
Unknown data (Always 0XFFFF).
4 bytes.
u32 KernelDataInstaller::ItemData::unknown_1 |
Unknown data (Always 0XFFFF).
4 bytes.
bool KernelDataInstaller::ItemData::useable_battle |
bool KernelDataInstaller::ItemData::useable_menu |