Difference between revisions of "Items"

From DSP Wiki
Jump to: navigation, search
(Created page with "===item_basic=== '''item_id''' should match what is found in POLUtils or on ffxiah.com '''name''' is the long name of an item, such as flash_of_echo_drops. If you're script...")
 
Line 3: Line 3:
 
'''item_id''' should match what is found in POLUtils or on ffxiah.com
 
'''item_id''' should match what is found in POLUtils or on ffxiah.com
  
'''name''' is the long name of an item, such as flash_of_echo_drops.  If you're scripting a file, this is the filename you should use.
+
'''name''' is the long name of an item, such as flask_of_echo_drops.  If you're scripting a file, this is the filename you should use.
  
 
'''sortname''' is the shortened name, such as echo_drops.
 
'''sortname''' is the shortened name, such as echo_drops.
Line 95: Line 95:
 
'''scriptType''' needs to be investigated.
 
'''scriptType''' needs to be investigated.
  
'''slot''' determines which slot(s) the item can be worn in.
+
'''slot''' determines which slot(s) the item can be worn in, in a bitmask.  main hand (1) + off hand (2) = 3.
  
'''rslot''' determines which single slot cannot be used while the item is equipped.  For example, Vermillion Cloak would reserve the head slot, since head equipment cannot be used with it.
+
{|class="wikitable sortable zebra"
 +
!Item ID!!Item Name
 +
|-
 +
|1||main hand
 +
|-
 +
|-
 +
|2||offhand
 +
|-
 +
|-
 +
|4||ranged
 +
|-
 +
|-
 +
|8||ammo
 +
|-
 +
|-
 +
|16||head
 +
|-
 +
|-
 +
|32||body
 +
|-
 +
|-
 +
|64||hands
 +
|-
 +
|-
 +
|128||legs
 +
|-
 +
|-
 +
|256||feet
 +
|-
 +
|-
 +
|512||neck
 +
|-
 +
|-
 +
|1024||belt
 +
|-
 +
|-
 +
|2048||l earring
 +
|-
 +
|-
 +
|4096||r earring
 +
|-
 +
|-
 +
|8192||l ring
 +
|-
 +
|-
 +
|16384||r ring
 +
|-
 +
|-
 +
|32768||cape
 +
|-
 +
|}
 +
 
 +
'''rslot''' determines which single slot cannot be used while the item is equipped.  For example, Vermillion Cloak would reserve the head slot, since head equipment cannot be used with it. This is '''not''' a bitmask, and only one value can be specified.
 +
{|class="wikitable sortable zebra"
 +
!Item ID!!Item Name
 +
|-
 +
|0||none
 +
|-
 +
|-
 +
|1||main hand
 +
|-
 +
|-
 +
|2||offhand
 +
|-
 +
|-
 +
|3||ranged
 +
|-
 +
|-
 +
|4||ammo
 +
|-
 +
|-
 +
|5||head
 +
|-
 +
|-
 +
|6||body
 +
|-
 +
|-
 +
|7||hands
 +
|-
 +
|-
 +
|8||legs
 +
|-
 +
|-
 +
|9||feet
 +
|-
 +
|-
 +
|10||neck
 +
|-
 +
|-
 +
|11||belt
 +
|-
 +
|-
 +
|12||l earring
 +
|-
 +
|-
 +
|13||r earring
 +
|-
 +
|-
 +
|14||l ring
 +
|-
 +
|-
 +
|15||r ring
 +
|-
 +
|-
 +
|16||cape
 +
|-
 +
|-
 +
|17||"SLOT_LINK"  Linkshell?
 +
|-
 +
|}

Revision as of 19:59, 2 February 2013

item_basic

item_id should match what is found in POLUtils or on ffxiah.com

name is the long name of an item, such as flask_of_echo_drops. If you're scripting a file, this is the filename you should use.

sortname is the shortened name, such as echo_drops.

stackSize determines if an item should stack, and how many should stack. The client acts a bit odd if you stack items that aren't supposed to be stacked, but generally will let you stack dynamis money drops, for example.

flags needs to be investigated

aH is the auction house category for the item.

NoSale determines if the item can be sold.

BaseSell is the value of the item when selling to an NPC, before fame modifier.

item_armor

itemId matches what is found in item_basic.

name needs to be investigated. Just for readability's sake?

level is what level the item can be equipped at.

jobs determines what jobs can equip the item, stored as a bitmask. Simply add the values together to set the jobs. WAR (1) + PLD (64) + DRK (128) = 193

Item ID Item Name
1 warrior
2 monk
4 white mage
8 black mage
16 red mage
32 thief
64 paladin
128 dark knight
256 beastmaster
512 bard
1024 ranger
2048 samurai
4096 ninja
8192 dragoon
16384 summoner
32768 blue mage
65536 corsair
131072 puppetmaster
262144 dancer
524288 scholar

shieldSize is only used by shields, and determines how much damage they block, and how much damage they'll deal with Shield Bash.

scriptType needs to be investigated.

slot determines which slot(s) the item can be worn in, in a bitmask. main hand (1) + off hand (2) = 3.

Item ID Item Name
1 main hand
2 offhand
4 ranged
8 ammo
16 head
32 body
64 hands
128 legs
256 feet
512 neck
1024 belt
2048 l earring
4096 r earring
8192 l ring
16384 r ring
32768 cape

rslot determines which single slot cannot be used while the item is equipped. For example, Vermillion Cloak would reserve the head slot, since head equipment cannot be used with it. This is not a bitmask, and only one value can be specified.

Item ID Item Name
0 none
1 main hand
2 offhand
3 ranged
4 ammo
5 head
6 body
7 hands
8 legs
9 feet
10 neck
11 belt
12 l earring
13 r earring
14 l ring
15 r ring
16 cape
17 "SLOT_LINK" Linkshell?