About - eItemOption: Difference between revisions

From Trickster Development Wiki
initial page created
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
== XML Attribute Examples ==
== XML Attribute Examples ==


=== '''<u>Example 1</u>''' ===
=== '''<u>Example 1 - ChrTypeFlags</u>''' ===
<blockquote><code><ChrTypeFlags>128/32768/8388608</ChrTypeFlags></code></blockquote>'''Meaning:'''<blockquote><code>128</code> → UsableToMonster
<blockquote><code><ChrTypeFlags>128/32768/8388608</ChrTypeFlags></code></blockquote>'''Meaning:'''<blockquote><code>128</code> → UsableToMonster


Line 17: Line 17:
<code>8388608</code> → NotComposable</blockquote>Together, this means the item is '''Usable to Monsters''', has '''Custom Data''', and is '''Not Composable'''.
<code>8388608</code> → NotComposable</blockquote>Together, this means the item is '''Usable to Monsters''', has '''Custom Data''', and is '''Not Composable'''.


=== '''<u>Example 2</u>''' ===
=== '''<u>Example 2 - DebuffBitCode</u>''' ===
<blockquote><code><DebuffBitCode>2/8388608</DebuffBitCode></code></blockquote>'''Meaning:'''<blockquote><code>2</code> → '''Usable'''
<blockquote><code><DebuffBitCode>2/8388608</DebuffBitCode></code></blockquote>'''Meaning:'''<blockquote><code>2</code> → '''Usable'''
 
<br><code>8388608</code> → '''NotComposable'''</blockquote>
<code>8388608</code> → '''NotComposable'''</blockquote>
=== '''<u>Example 3 - Options</u>''' ===
 
=== '''<u>Example 3</u>''' ===
<blockquote><code><Options>1/16/1024/2048/4096</Options></code></blockquote>'''Meaning:'''<blockquote><code>1</code> → '''Rare'''
<blockquote><code><Options>1/16/1024/2048/4096</Options></code></blockquote>'''Meaning:'''<blockquote><code>1</code> → '''Rare'''


Line 33: Line 31:
<code>4096</code> → '''NotDropable'''</blockquote>
<code>4096</code> → '''NotDropable'''</blockquote>


=== '''<u>Example 4</u>''' ===
=== '''<u>Example 4 - Style</u>''' ===
<blockquote><code><Style>8/256/4096/32768</Style></code></blockquote>'''Meaning:'''<blockquote><code>8</code> → '''SelectTargetPos'''
<blockquote><code><Style>8/256/4096/32768</Style></code></blockquote>'''Meaning:'''<blockquote><code>8</code> → '''SelectTargetPos'''


Line 42: Line 40:
<code>32768</code> → '''CustomData'''</blockquote>
<code>32768</code> → '''CustomData'''</blockquote>


=== '''<u>Example 5</u>''' ===
=== '''<u>Example 5 - JobTypeFlag1</u>''' ===
<blockquote><code><JobTypeFlag1>256/512/1024/2048/4096/8192/16384/32768</JobTypeFlag1></code></blockquote>'''Meaning:'''<blockquote><code>256</code> → '''NotBuyable'''
<blockquote><code><JobTypeFlag1>256/512/1024/2048/4096/8192/16384/32768</JobTypeFlag1></code></blockquote>'''Meaning:'''<blockquote><code>256</code> → '''NotBuyable'''


Line 59: Line 57:
<code>32768</code> → '''CustomData'''</blockquote>
<code>32768</code> → '''CustomData'''</blockquote>


=== '''<u>Example 6</u>''' ===
=== '''<u>Example 6 - JobTypeFlag2</u>''' ===
<code><JobTypeFlag2>1/2/4/8/16/32/64/128/256/512/1024/2048/4096/8192/16384/32768/65536</JobTypeFlag2></code>
<code><JobTypeFlag2>1/2/4/8/16/32/64/128/256/512/1024/2048/4096/8192/16384/32768/65536</JobTypeFlag2></code>


'''Meaning:'''<blockquote>'''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])</blockquote>
'''Meaning:'''<blockquote>'''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])</blockquote>


=== '''<u>Example 7</u>''' ===
=== '''<u>Example 7 - HideHat</u>''' ===
<blockquote><code><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></code></blockquote>'''Meaning:'''<blockquote>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]).</blockquote>
<blockquote><code><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></code></blockquote>'''Meaning:'''<blockquote>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]).</blockquote>


Line 84: Line 82:
|NotExchangable
|NotExchangable
|1048576
|1048576
|Unique
|Absolute Unique
|-
|-
|2
|2
Line 155: Line 153:
[[Category:XML]]
[[Category:XML]]
[[Category:About]]
[[Category:About]]
[[Category:Libconfig]]

Latest revision as of 02:31, 12 April 2026

Thank you to Denki in the official Trickster Development Discord for this research!

Basic Explanation[edit | edit source]

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[edit | edit source]

Example 1 - ChrTypeFlags[edit | edit source]

<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[edit | edit source]

<DebuffBitCode>2/8388608</DebuffBitCode>

Meaning:

2Usable
8388608NotComposable

Example 3 - Options[edit | edit source]

<Options>1/16/1024/2048/4096</Options>

Meaning:

1Rare

16Equipable

1024NotExchangeable

2048NotPickable

4096NotDropable

Example 4 - Style[edit | edit source]

<Style>8/256/4096/32768</Style>

Meaning:

8SelectTargetPos

256NotBuyable

4096NotDropable

32768CustomData

Example 5 - JobTypeFlag1[edit | edit source]

<JobTypeFlag1>256/512/1024/2048/4096/8192/16384/32768</JobTypeFlag1>

Meaning:

256NotBuyable

512NotSellable

1024NotExchangeable

2048NotPickable

4096NotDropable

8192NotVanishable

16384EquipableToChrType

32768CustomData

Example 6 - JobTypeFlag2[edit | edit source]

<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[edit | edit source]

<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[edit | edit source]

eItemOption Values
# Value # Value # Value
1 Rare 1024 NotExchangable 1048576 Absolute 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?