Internally, all alchemy items (food, drinks, potions, and poisons), enchantments, ingredients, scrolls and spells derive from the same object, MagicItem, and thus share a similar structure.
Auto-calc:
- Charge Time: The longest Casting Time of all of the effects.
- Spell Cost: The total of all effect costs.
C | Field | Name | Type/Size | Info | |
---|---|---|---|---|---|
+ | EDID | EditorID | zstring | Max 0x200 bytes, including null terminator. | |
+ | OBND | ObjectBounds | OBND | Always 12 bytes even if all 0s | |
- | FULL | FullName | lstring | Full (in-game) name | |
- | KSIZ | KSIZ | uint32 | KYWD count | |
* | KWDA | KWDA | formid[KSIZ] | Array of KYWD formids | |
+ | MDOB | MenuIcon | formid | Menu display object STAT | |
+ | ETYP | EquipType | formid | Equip slot EQUP | |
+ | DESC | Description | lstring | In-game description - if 0 concatenated descriptions of effects is shown ingame. | |
- | MODL | Model | MODL | Ground Model | |
- | YNAM | PickupSound | formid | Pickup SNDR | |
- | ZNAM | DropSound | formid | Drop SNDR | |
+ | DATA | ItemData | struct | 8 bytes
|
|
+ | SPIT | ScrollData | struct | 36 bytes
|
|
- | DEST | destruction data | DEST | See DEST page. | |
* | Effects | Effect[] | One entry per effect. | ||
Effect | |||||
+ | EFID | EffectID | formid | Magic Effect MGEF | |
+ | EFIT | EffectItem | struct | 12 bytes
For auto-calc purposes, the game calculates the cost of an effect as: effect_base_cost * (Magnitude * Duration / 10) ^ 1.1 A Magnitude < 1 is treated as 1, and a Duration of 0 as 10. |
|
* | CTDA | Conditions | CTDA | Conditions on the effect. |