About - eItemOption
Thank you to Denki in the official Trickster Development Discord for this research!
Basic Explanation
The eItemOption is an Attribute value used in multiple XML attributes and tables.
Each number represents a flag/bitcode that corresponds to a specific item property.
When multiple values are present (separated by /), it means the item has all of those flags enabled.
XML Attribute Examples
Example 1 - ChrTypeFlags
<ChrTypeFlags>128/32768/8388608</ChrTypeFlags>
Meaning:
128→ UsableToMonster
32768→ CustomData
8388608→ NotComposable
Together, this means the item is Usable to Monsters, has Custom Data, and is Not Composable.
Example 2 - DebuffBitCode
<DebuffBitCode>2/8388608</DebuffBitCode>
Meaning:
2→ Usable8388608→ NotComposable
Example 3 - Options
<Options>1/16/1024/2048/4096</Options>
Meaning:
1→ Rare
16→ Equipable
1024→ NotExchangeable
2048→ NotPickable
4096→ NotDropable
Example 4 - Style
<Style>8/256/4096/32768</Style>
Meaning:
8→ SelectTargetPos
256→ NotBuyable
4096→ NotDropable
32768→ CustomData
Example 5 - JobTypeFlag1
<JobTypeFlag1>256/512/1024/2048/4096/8192/16384/32768</JobTypeFlag1>
Meaning:
256→ NotBuyable
512→ NotSellable
1024→ NotExchangeable
2048→ NotPickable
4096→ NotDropable
8192→ NotVanishable
16384→ EquipableToChrType
32768→ CustomData
Example 6 - JobTypeFlag2
<JobTypeFlag2>1/2/4/8/16/32/64/128/256/512/1024/2048/4096/8192/16384/32768/65536</JobTypeFlag2>
Meaning:
Rare, Usable, SelectTargetObj, SelectTargetPos, Equipable, UsableToSelf, UsableToPlayer, UsableToMonster, NotBuyable, NotSellable, NotExchangeable, NotPickable, NotDropable, NotVanishable, EquipableToChrType, CustomData, & NotAddableToWarehouse (all flags from 1-65536 except CM [262144])
Example 7 - HideHat
<HideHat>1/2/4/8/16/32/64/128/256/512/1024/2048/4096/8192/16384/32768/65536/131072/262144/524288/1048576/2097152/4194304/8388608</HideHat>
Meaning:
Contains nearly the entire range of flags (from Rare [1] up through NotComposable [8388608]; missing NotReform [16777216], Skin [33554432], Event [67108864], Dummy [134217728], UseSafeZone [268435456]).
Cheatsheet
| # | Value | # | Value | # | Value | ||
|---|---|---|---|---|---|---|---|
| 1 | Rare | 1024 | NotExchangable | 1048576 | Unique | ||
| 2 | Usable | 2048 | NotPickable | 2097152 | Legend (Boss EQ) | ||
| 4 | SelectTargetObj | 4096 | NotDropable | 4194304 | Quest | ||
| 8 | SelectTargetPos | 8192 | NotVanishable | 8388608 | NotComposable | ||
| 16 | Equipable | 16384 | EquipableToChrType | 16777216 | NotReform | ||
| 32 | UsableToSelf | 32768 | CustomData (more research needed*) | 33554432 | Skin | ||
| 64 | UsableToPlayer | 65536 | NotAddableToWarehouse | 67108864 | Event (From any Event) | ||
| 128 | UsableToMonster | 131072 | NotAddableToNeoWarehouse | 134217728 | Dummy (Exchange Items) | ||
| 256 | NotBuyable | 262144 | CM (MyShop) | 268435456 | UseSafeZone (Used for all skins) | ||
| 512 | NotSellable | 524288 | AutoDrill |
- Note: *Used in items that make custom changes to character such as Manicure Coloring, but also on items like Portable Port AD?
