Items

From DSP Wiki
Jump to: navigation, search

item_basic

Stores basic item information that is common to all items. For an item to exist, it must have an entry in this table.

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

subid Only used to display which item was sold on the AH

name is the long name of an item, such as flask_of_echo_drops. If you're scripting a file, this is the file name you should use - from Log Name (Singular) field.

sortname is the shortened name, such as echo_drops - from Name field.

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 things like Frozen Giant Skulls if you want to improve the Dynamis experience, for example.

flags stored as a bitmask. Add values together. (Example, an ex scroll that could not be delivered would use 16384(ex flag) + 8192(no delivery flag) + 128 (scroll flag) = 24704). You can also remove flags (Turn an into a non-ex) by deleting the flag you want to get rid of from the current value (example: want to wield x2 mandau? flag="63552", and if you want 2, you need to remove the "ex" flag (ex flag = 16384). So, 63552 - 16384 = 47168. The flags set for this example are: Rare, Ex, No delivery, No sale, Can equip, No auction

Value Flag
1 wall hanging
2 obtainable from goblin box
4 usable inside mog garden
8 unknown
16 delivery inner
32 inscribable
64 no auction
128 scroll
256 linkshell
512 can use
1024 can trade npc
2048 can equip
4096 no sale
8192 no delivery
16384 ex
32768 rare

aH is the auction house category for the item.

Weapons
Value Category
1 Hand to Hand
2 Daggers
3 Swords
4 Great Swords
5 Axes
6 Great Axes
7 Scythes
8 Polearms
9 Katana
10 Great Katana
11 Clubs
12 Staves
13 Ranged
14 Instruments
Ammo&Misc
48 Pet Items
47 Fishing Gear
15 Ammunition
62 Grips
Armor
16 Shields
17 Head
22 Neck
18 Body
19 Hands
23 Waist
20 Legs
21 Feet
26 Back
24 Earrings
25 Rings
Scrolls
28 White Magic
29 Black Magic
32 Songs
31 Ninjutsu
30 Summoning
60 Dice
33 Medicines
34 Furnishings
Materials
44 Alchemy 1
63 Alchemy 2
43 Woodworking
42 Bonecraft
41 Leathercraft
40 Clothcraft
39 Goldsmithing
38 Smithing
Food
52 Meat & Eggs
53 Seafood
54 Vegetables
55 Soups
56 Breads & Rice
57 Sweets
58 Drinks
59 Ingredients
51 Fish
35 Crystals
Others
46 Misc. 1
64 Misc. 2
65 Misc. 3
50 Beast-Made
36 Cards
49 Ninja Tools
37 Cursed Items
61 Automatons

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

Stores information regarding anything that can be worn; armor, accessory, and weapons, too.

itemId matches what is found in item_basic.

name is just for readability. Scripts are called from item_basic.

level is what level the item can be equipped at.

ilevel The item ilevel.

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

Value Job
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
1048576 geomancer
2097152 rune fencer

MId determines the appearance for the item. Also see How_to_Add_an_Item.

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

scriptType From [1], it appears to be a flag for when the script can run:

Value ScriptType
0 SCRIPT_NONE
1 SCRIPT_EQUIP
2 SCRIPT_CHANGESJOB
4 SCRIPT_CHANGEZONE
8 SCRIPT_TIME_DAWN
10 SCRIPT_TIME_DAY
20 SCRIPT_TIME_DUSK
40 SCRIPT_TIME_EVENING

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

Value Valid Slot
1 main
2 sub
4 range
8 ammo
16 head
32 body
64 hands
128 legs
256 feet
512 neck
1024 waist
2048 ear1
4096 ear2
8192 ring1
16384 ring2
32768 back

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.

Value Valid Slot
1 main
2 sub
4 range
8 ammo
16 head
32 body
64 hands
128 legs
256 feet
512 neck
1024 waist
2048 ear1
4096 ear2
8192 ring1
16384 ring2
32768 back

item_weapon

Stores common information for all weapons.

itemId links the table to item_basic and item_armor, and should match those tables.

name is for readability's sake and the name of any script associated with the weapon.

skill determines which weapon proficiency should be used with the weapon.

Value Weapon Skill Type
0 Ammo slot items (non-thrown: pet food, sachets, etc)
1 Hand-to-hand
2 Dagger
3 Sword
4 Greatsword
5 Axe
6 Great Axe
7 Scythe
8 Polearm
9 Katana
10 Great Katana
11 Club
12 Staff
25 Archery
26 Marksmanship
27 Throwing
41 String (instrument)
42 Wind (instrument)
45 Handbell
48 Fishing

subskill determines exclusivity between marksmanship-type weapons.

Value Weapon Subskill Type
0 Crossbow
1 Gun
2 Cannon
3 Shuriken
10 Animator
21 sheep
22 hare
23 crab
24 carrie
25 homunculus
26 flytrap
27 tiger
28 bill
29 eft
30 lizard
31 mayfly
32 funguar
33 beetle
34 antlion
35 mite
36 melodia
37 steffi
38 ben
39 siravarde
40 como
41 orob
42 audrey
43 allie
44 lars
45 galahad
46 chucky
47 sabotender
49 clyvonne
50 shasra
51 lulush
52 fargann
53 louise
54 sieghard
55 yuly
56 merle
57 nazuna
58 cetas
59 anna
60 julio
61 broncha
62 gerard
63 hobs
64 falcorr
65 raphie
66 mac
67 silas
68 toloi

ilvl_skill, ilvl_parry, ilvl_macc Unsure what they are, other than they are related to the item ilvl. Someone who knows, please let me know or edit to update the information.

dmgType determines the type of damage dealt by the weapon. Note that only Hand-to-hand damage will use both hands for jobs such as Monk as of r3200.

Value Damage Type
0 Damage type "none"
1 Piercing
2 Slashing
3 Blunt
4 Hand-to-hand

hit is only used for multihit weapons such as Joyeuse or Kraken Club, and represents the maximum number of hits per round.

delay determines the delay of the weapon. Ranged Weapons and Ammunition always have -240 their displayed delay. For example, Expunger (Delay 360) is stored as 120 delay in the database.

dmg is the DMG stat for the equipment. Hand-to-hand weapons are always stored with their DMG stat +3. For example, Lizard Cesti has 5 instead of 2.

unlock_points Number of WS points needed to unlock or complete

item_mods

Stores uncommon information, from Defense to "Enhances Dual Wield Effect."

item_mods is an unindexed table. As such, always keep in mind that it's possible to have unexpected values, which darkstar will cheerfully use without questioning them.

itemId links the table back to the item via item_basic, and should always match.

modId is what is being modified. A list of these values can be found in /scripts/globals/status.lua (listed in hexadecimal,) or in /src/map/modifier.h (listed in hexadecimal.) Remember to convert them to decimal for use in this table.

Mod modid
None 0
DEF 1
HP 2
HPP 3
CONVMPTOHP 4
MP 5
MPP 6
CONVHPTOMP 7
STR 8
DEX 9
VIT 10
AGI 11
INT 12
MND 13
CHR 14
FIREDEF 15
ICEDEF 16
WINDDEF 17
EARTHDEF 18
THUNDERDEF 19
WATERDEF 20
LIGHTDEF 21
DARKDEF 22
ATT 23
RATT 24
ACC 25
RACC 26
ENMITY 27
MATT 28
MDEF 29
MACC 30
MEVA 31
FIREATT 32
ICEATT 33
WINDATT 34
EARTHATT 35
THUNDERATT 36
WATERATT 37
LIGHTATT 38
DARKATT 39
FIREACC 40
ICEACC 41
WINDACC 42
EARTHACC 43
THUNDERACC 44
WATERACC 45
LIGHTACC 46
DARKACC 47
WSACC 48
SLASHRES 49
PIERCERES 50
IMPACTRES 51
HTHRES 52
FIRERES 54
ICERES 55
WINDRES 56
EARTHRES 57
THUNDERRES 58
WATERRES 59
LIGHTRES 60
DARKRES 61
ATTP 62
DEFP 63
COMBAT_SKILLUP_RATE 64
MAGIC_SKILLUP_RATE 65
RATTP 66
ENHANCES_CURSNA_RCVD 67
EVA 68
RDEF 69
REVA 70
MPHEAL 71
HPHEAL 72
STORETP 73
HTH 80
DAGGER 81
SWORD 82
GSWORD 83
AXE 84
GAXE 85
SCYTHE 86
POLEARM 87
KATANA 88
GKATANA 89
CLUB 90
STAFF 91
RAMPART_DURATION 92
FLEE_DURATION 93
MEDITATE_DURATION 94
WARDING_CIRCLE_DURATION 95
SOULEATER_EFFECT 96
BOOST_EFFECT 97
CAMOUFLAGE_DURATION 98
FOOD_MACCP 99
FOOD_MACC_CAP 100
AUTO_MELEE_SKILL 101
AUTO_RANGED_SKILL 102
AUTO_MAGIC_SKILL 103
ARCHERY 104
MARKSMAN 105
THROW 106
GUARD 107
EVASION 108
SHIELD 109
PARRY 110
DIVINE 111
HEALING 112
ENHANCE 113
ENFEEBLE 114
ELEM 115
DARK 116
SUMMONING 117
NINJUTSU 118
SINGING 119
STRING 120
WIND 121
BLUE 122
FISH 127
WOOD 128
SMITH 129
GOLDSMITH 130
CLOTH 131
LEATHER 132
BONE 133
ALCHEMY 134
COOK 135
SYNERGY 136
RIDING 137
ANTIHQ_WOOD 144
ANTIHQ_SMITH 145
ANTIHQ_GOLDSMITH 146
ANTIHQ_CLOTH 147
ANTIHQ_LEATHER 148
ANTIHQ_BONE 149
ANTIHQ_ALCHEMY 150
ANTIHQ_COOK 151
DMG 160
DMGPHYS 161
DMGBREATH 162
DMGMAGIC 163
DMGRANGE 164
CRITHITRATE 165
ENEMYCRITRATE 166
HASTE_MAGIC 167
SPELLINTERRUPT 168
MOVE 169
FASTCAST 170
DELAY 171
RANGED_DELAY 172
MARTIAL_ARTS 173
SKILLCHAINBONUS 174
SKILLCHAINDMG 175
FOOD_HPP 176
FOOD_HP_CAP 177
FOOD_MPP 178
FOOD_MP_CAP 179
FOOD_ATTP 180
FOOD_ATT_CAP 181
FOOD_DEFP 182
FOOD_DEF_CAP 183
FOOD_ACCP 184
FOOD_ACC_CAP 185
FOOD_RATTP 186
FOOD_RATT_CAP 187
FOOD_RACCP 188
FOOD_RACC_CAP 189
VERMIN_KILLER 224
BIRD_KILLER 225
AMORPH_KILLER 226
LIZARD_KILLER 227
AQUAN_KILLER 228
PLANTOID_KILLER 229
BEAST_KILLER 230
UNDEAD_KILLER 231
ARCANA_KILLER 232
DRAGON_KILLER 233
DEMON_KILLER 234
EMPTY_KILLER 235
HUMANOID_KILLER 236
LUMORIAN_KILLER 237
LUMINION_KILLER 238
SLEEPRES 240
POISONRES 241
PARALYZERES 242
BLINDRES 243
SILENCERES 244
VIRUSRES 245
PETRIFYRES 246
BINDRES 247
CURSERES 248
GRAVITYRES 249
SLOWRES 250
STUNRES 251
CHARMRES 252
AMNESIARES 253
LULLABYRES 254
DEATHRES 255
PARALYZE 257
MIJIN_GAKURE 258
DUAL_WIELD 259
DOUBLE_ATTACK 288
SUBTLE_BLOW 289
COUNTER 291
KICK_ATTACK 292
AFFLATUS_SOLACE 293
AFFLATUS_MISERY 294
CLEAR_MIND 295
CONSERVE_MP 296
STEAL 298
BLINK 299
STONESKIN 300
PHALANX 301
TRIPLE_ATTACK 302
TREASURE_HUNTER 303
TAME 304
RECYCLE 305
ZANSHIN 306
UTSUSEMI 307
NINJA_TOOL 308
BLUE_POINTS 309
ENHANCES_CURSNA 310
MAGIC_DAMAGE 311
SCAVENGE_EFFECT 312
DIA_DOT 313
SHARPSHOT 314
ENH_DRAIN_ASPIR 315
DMG_REFLECT 316
ROLL_ROGUES 317
ROLL_GALLANTS 318
ROLL_CHAOS 319
ROLL_BEAST 320
ROLL_CHORAL 321
ROLL_HUNTERS 322
ROLL_SAMURAI 323
ROLL_NINJA 324
ROLL_DRACHEN 325
ROLL_EVOKERS 326
ROLL_MAGUS 327
ROLL_CORSAIRS 328
ROLL_PUPPET 329
ROLL_DANCERS 330
ROLL_SCHOLARS 331
BUST 332
FINISHING_MOVES 333
LIGHT_ARTS_EFFECT 334
DARK_ARTS_EFFECT 335
LIGHT_ARTS_SKILL 336
DARK_ARTS_SKILL 337
LIGHT_ARTS_REGEN 338
REGEN_DURATION 339
WIDESCAN 340
ENSPELL 341
SPIKES 342
ENSPELL_DMG 343
SPIKES_DMG 344
TP_BONUS 345
PERPETUATION_REDUCTION 346
FIRE_AFFINITY_DMG 347
EARTH_AFFINITY_DMG 348
WATER_AFFINITY_DMG 349
ICE_AFFINITY_DMG 350
THUNDER_AFFINITY_DMG 351
WIND_AFFINITY_DMG 352
LIGHT_AFFINITY_DMG 353
DARK_AFFINITY_DMG 354
ADDS_WEAPONSKILL 355
ADDS_WEAPONSKILL_DYN 356
BP_DELAY 357
STEALTH 358
RAPID_SHOT 359
CHARM_TIME 360
JUMP_TP_BONUS 361
JUMP_ATT_BONUS 362
HIGH_JUMP_ENMITY_REDUCTION 363
REWARD_HP_BONUS 364
SNAP_SHOT 365
MAIN_DMG_RATING 366
SUB_DMG_RATING 367
REGAIN 368
REFRESH 369
REGEN 370
AVATAR_PERPETUATION 371
WEATHER_REDUCTION 372
DAY_REDUCTION 373
CURE_POTENCY 374
CURE_POTENCY_RCVD 375
RANGED_DMG_RATING 376
MAIN_DMG_RANK 377
SUB_DMG_RANK 378
RANGED_DMG_RANK 379
DELAYP 380
RANGED_DELAYP 381
EXP_BONUS 382
HASTE_ABILITY 383
HASTE_GEAR 384
SHIELD_BASH 385
KICK_DMG 386
UDMGPHYS 387
UDMGBREATH 388
UDMGMAGIC 389
UDMGRANGE 390
CHARM_CHANCE 391
WEAPON_BASH 392
BLACK_MAGIC_COST 393
WHITE_MAGIC_COST 394
BLACK_MAGIC_CAST 395
WHITE_MAGIC_CAST 396
BLACK_MAGIC_RECAST 397
WHITE_MAGIC_RECAST 398
ALACRITY_CELERITY_EFFECT 399
STORMSURGE_EFFECT 400
SUBLIMATION_BONUS 401
WYVERN_BREATH 402
STEP_ACCURACY 403
REGEN_DOWN 404
REFRESH_DOWN 405
REGAIN_DOWN 406
UFASTCAST 407
DA_DOUBLE_DAMAGE 408
TA_TRIPLE_DAMAGE 409
ZANSHIN_DOUBLE_DAMAGE 410
QUICK_DRAW_DMG 411
EAT_RAW_FISH 412
EAT_RAW_MEAT 413
RETALIATION 414
SAMBA_DOUBLE_DAMAGE 415
NULL_PHYSICAL_DAMAGE 416
QUICK_DRAW_TRIPLE_DAMAGE 417
BAR_ELEMENT_NULL_CHANCE 418
GRIMOIRE_INSTANT_CAST 419
BARRAGE_ACC 420
CRIT_DMG_INCREASE 421
DOUBLE_SHOT_RATE 422
VELOCITY_SNAPSHOT_BONUS 423
VELOCITY_RATT_BONUS 424
SHADOW_BIND_EXT 425
ABSORB_PHYSDMG_TO_MP 426
ENMITY_REDUCTION_PHYSICAL 427
PERFECT_COUNTER_ATT 428
FOOTWORK_ATT_BONUS 429
QUAD_ATTACK 430
ADDITIONAL_EFFECT 431
ENSPELL_DMG_BONUS 432
MINNE_EFFECT 433
MINUET_EFFECT 434
PAEON_EFFECT 435
REQUIEM_EFFECT 436
THRENODY_EFFECT 437
MADRIGAL_EFFECT 438
MAMBO_EFFECT 439
LULLABY_EFFECT 440
ETUDE_EFFECT 441
BALLAD_EFFECT 442
MARCH_EFFECT 443
FINALE_EFFECT 444
CAROL_EFFECT 445
MAZURKA_EFFECT 446
ELEGY_EFFECT 447
PRELUDE_EFFECT 448
HYMNUS_EFFECT 449
VIRELAI_EFFECT 450
SCHERZO_EFFECT 451
ALL_SONGS_EFFECT 452
MAXIMUM_SONGS_BONUS 453
SONG_DURATION_BONUS 454
SONG_SPELLCASTING_TIME 455
RERAISE_I 456
RERAISE_II 457
RERAISE_III 458
FIRE_ABSORB 459
EARTH_ABSORB 460
WATER_ABSORB 461
WIND_ABSORB 462
ICE_ABSORB 463
LTNG_ABSORB 464
LIGHT_ABSORB 465
DARK_ABSORB 466
FIRE_NULL 467
EARTH_NULL 468
WATER_NULL 469
WIND_NULL 470
ICE_NULL 471
LTNG_NULL 472
LIGHT_NULL 473
DARK_NULL 474
MAGIC_ABSORB 475
MAGIC_NULL 476
HELIX_DURATION 477
HELIX_EFFECT 478
RAPID_SHOT_DOUBLE_DAMAGE 479
ABSORB_DMG_CHANCE 480
EXTRA_DUAL_WIELD_ATTACK 481
EXTRA_KICK_ATTACK 482
WARCRY_DURATION 483
AUSPICE_EFFECT 484
SHIELD_MASTERY_TP 485
TACTICAL_PARRY 486
MAG_BURST_BONUS 487
INHIBIT_TP 488
GRIMOIRE_SPELLCASTING 489
SAMBA_DURATION 490
WALTZ_POTENTCY 491
JIG_DURATION 492
VFLOURISH_MACC 493
STEP_FINISH 494
ENHANCES_HOLYWATER 495
GOV_CLEARS 496
WALTZ_DELAY 497
SAMBA_PDURATION 498
ITEM_SPIKES_TYPE 499
ITEM_SPIKES_DMG 500
ITEM_SPIKES_CHANCE 501
ENMITY_LOSS_REDUCTION 502
FERAL_HOWL_DURATION 503
MANEUVER_BONUS 504
OVERLOAD_THRESH 505
EXTRA_DMG_CHANCE 506
OCC_DO_EXTRA_DMG 507
THIRD_EYE_COUNTER_RATE 508
CLAMMING_IMPROVED_RESULTS 509
CLAMMING_REDUCED_INCIDENTS 510
CHOCOBO_RIDING_TIME 511
PHYS_ABSORB 512
HARVESTING_RESULT 513
LOGGING_RESULT 514
MINING_RESULT 515
ABSORB_DMG_TO_MP 516
EGGHELM 517
SHIELDBLOCKRATE 518
CURE_CAST_TIME 519
TRICK_ATK_AGI 520
AUGMENTS_ABSORB 521
NIN_NUKE_BONUS 522
AMMO_SWING 523
AOE_NA 524
AUGMENTS_CONVERT 525
AUGMENTS_SA 526
AUGMENTS_TA 527
ROLL_RANGE 528
ENHANCES_REFRESH 529
NO_SPELL_MP_DEPLETION 530
FORCE_FIRE_DWBONUS 531
FORCE_EARTH_DWBONUS 532
FORCE_WATER_DWBONUS 533
FORCE_WIND_DWBONUS 534
FORCE_ICE_DWBONUS 535
FORCE_LIGHTNING_DWBONUS 536
FORCE_LIGHT_DWBONUS 537
FORCE_DARK_DWBONUS 538
STONESKIN_BONUS_HP 539
ENHANCES_ELEMENTAL_SIPHON 540
BP_DELAY_II 541
JOB_BONUS_CHANCE 542
COUNTERSTANCE_EFFECT 543
FIRE_AFFINITY_ACC 544
EARTH_AFFINITY_ACC 545
WATER_AFFINITY_ACC 546
ICE_AFFINITY_ACC 547
THUNDER_AFFINITY_ACC 548
WIND_AFFINITY_ACC 549
LIGHT_AFFINITY_ACC 550
DARK_AFFINITY_ACC 551
DODGE_EFFECT 552
FIRE_AFFINITY_PERP 553
EARTH_AFFINITY_PERP 554
WATER_AFFINITY_PERP 555
ICE_AFFINITY_PERP 556
THUNDER_AFFINITY_PERP 557
WIND_AFFINITY_PERP 558
LIGHT_AFFINITY_PERP 559
DARK_AFFINITY_PERP 560
FOCUS_EFFECT 561
MAGIC_CRITHITRATE 562
MAGIC_CRIT_DMG_INCREASE 563
JUG_LEVEL_RANGE 564
DAY_NUKE_BONUS 565
IRIDESCENCE 566
BARSPELL_AMOUNT 567
RAPTURE_AMOUNT 568
EBULLIENCE_AMOUNT 569
WEAPONSKILL_DAMAGE_BASE 570
AMMO_SWING_TYPE 826
BARSPELL_MDEF_BONUS 827
FORCE_JUMP_CRIT 828
WYVERN_EFFECTIVE_BREATH 829
DMGMAGIC_II 831
AQUAVEIL_COUNT 832
SONG_RECAST_DELAY 833
QUICK_DRAW_DMG_PERCENT 834
MUG_EFFECT 835
REVERSE_FLOURISH_EFFECT 836
SENTINEL_EFFECT 837
REGEN_MULTIPLIER 838
THIRD_EYE_ANTICIPATE_RATE 839
ALL_WSDMG_ALL_HITS 840
ALL_WSDMG_FIRST_HIT 841
AUTO_DECISION_DELAY 842
AUTO_SHIELD_BASH_DELAY 843
AUTO_MAGIC_DELAY 844
AUTO_HEALING_DELAY 845
AUTO_HEALING_THRESHOLD 846
BURDEN_DECAY 847
AUTO_SHIELD_BASH_SLOW 848
AUTO_TP_EFFICIENCY 849
AUTO_SCAN_RESISTS 850
SYNTH_SUCCESS 851
SYNTH_SKILL_GAIN 852
REPAIR_EFFECT 853
REPAIR_POTENCY 854
PREVENT_OVERLOAD 855
ENSPELL_CHANCE 856
HOLY_CIRCLE_DURATION 857
ARCANE_CIRCLE_DURATION 858
ANCIENT_CIRCLE_DURATION 859
CURE2MP_PERCENT 860
SYNTH_FAIL_RATE 861
SYNTH_HQ_RATE 862
REM_OCC_DO_DOUBLE_DMG 863
REM_OCC_DO_TRIPLE_DMG 864
MYTHIC_OCC_ATT_TWICE 865
MYTHIC_OCC_ATT_THRICE 866
REM_OCC_DO_DOUBLE_DMG_RANGED 867
REM_OCC_DO_TRIPLE_DMG_RANGED 868
ROLL_BOLTERS 869
ROLL_CASTERS 870
ROLL_COURSERS 871
ROLL_BLITZERS 872
ROLL_TACTICIANS 873
AUGMENTS_FEINT 873
ROLL_ALLIES 874
SNEAK_ATK_DEX 874
ROLL_MISERS 875
ROLL_COMPANIONS 876
ROLL_AVENGERS 877
ROLL_NATURALISTS 878
ROLL_RUNEISTS 879
SAVETP 880
PHANTOM_ROLL 881
PHANTOM_DURATION 882
PERFECT_DODGE 883
ACC_COLLAB_EFFECT 884
HIDE_DURATION 885
AUGMENTS_ASSASSINS_CHARGE 886
AUGMENTS_AMBUSH 887
AUGMENTS_AURA_STEAL 889
ENH_MAGIC_DURATION 890
ENHANCES_COURSERS_ROLL 891
ENHANCES_CASTERS_ROLL 892
ENHANCES_BLITZERS_ROLL 893
ENHANCES_ALLIES_ROLL 894
ENHANCES_TACTICIANS_ROLL 895
DESPOIL 896
GILFINDER 897
SMITE 898
TACTICAL_GUARD 899
UTSUSEMI_BONUS 900
ELEMENTAL_CELERITY 901
OCCULT_ACUMEN 902
FENCER_TP_BONUS 903
FENCER_CRITHITRATE 904
SHIELD_DEF_BONUS 905
DESPERATE_BLOWS 906
STALWART_SOUL 907
CRIT_DEF_BONUS 908
QUICK_MAGIC 909
DIVINE_BENISON 910
DAKEN 911

value is how much of the modifier to grant, and can be positive or negative. It's best to research any modifier you're unsure of, as some are stored and applied in unexpected ways, such as Magic Damage Taken being stored as amount/256, while Physical Damage Taken is stored as amount%.

item_mods_pet

Stores mods for pets.

itemId links the table back to the item via item_basic, and should always match.

modId is what is being modified. A list of these values can be found in /scripts/globals/status.lua (listed in hexadecimal,) or in /src/map/modifier.h (listed in hexadecimal.) Remember to convert them to decimal for use in this table. (Will be the same as item_mods above)

value is how much of the modifier to grant, and can be positive or negative. It's best to research any modifier you're unsure of, as some are stored and applied in unexpected ways, such as Magic Damage Taken being stored as amount/256, while Physical Damage Taken is stored as amount%.

petType is what pet the mod will apply to. Pet type can be found in /src/map/modifier.h

Value Damage Type
0 All
1 Avatar
2 Wyvern
3 Automaton

item_furniture

Stores information regarding moghouse furniture.

itemId links back to item_basic, and should always match.

name may just be for readability's sake, and is the long name for the item.

storage is how much storage to grant for each item placed. The core will cap the total at 80.

moghancement If item has a moghancement. Still not sure how it implements the effect, or even checks the effect...

Moghancement Moghancement ID
MOGHANCEMENT_FIRE 512
MOGHANCEMENT_ICE 513
MOGHANCEMENT_WIND 514
MOGHANCEMENT_EARTH 515
MOGHANCEMENT_LIGHTNING 516
MOGHANCEMENT_WATER 517
MOGHANCEMENT_LIGHT 518
MOGHANCEMENT_DARK 519
MOGHANCEMENT_FISHING 523
MOGHANCEMENT_WOODWORKING 524
MOGHANCEMENT_SMITHING 525
MOGHANCEMENT_GOLDSMITHING 526
MOGHANCEMENT_CLOTHCRAFT 527
MOGHANCEMENT_LEATHERCRAFT 528
MOGHANCEMENT_BONECRAFT 529
MOGHANCEMENT_ALCHEMY 530
MOGHANCEMENT_COOKING 531
MOGLIFICATION_FISHING 544
MOGLIFICATION_WOODWORKING 545
MOGLIFICATION_SMITHING 546
MOGLIFICATION_GOLDSMITHING 547
MOGLIFICATION_CLOTHCRAFT 548
MOGLIFICATION_LEATHERCRAFT 549
MOGLIFICATION_BONECRAFT 550
MOGLIFICATION_ALCHEMY 551
MOGLIFICATION_COOKING 552
MEGA_MOGLIFICATION_FISHING 553
MEGA_MOGLIFICATION_WOODWORKING 554
MEGA_MOGLIFICATION_SMITHING 555
MEGA_MOGLIFICATION_GOLDSMITHING 556
MEGA_MOGLIFICATION_CLOTHCRAFT 557
MEGA_MOGLIFICATION_LEATHERCRAFT 558
MEGA_MOGLIFICATION_BONECRAFT 559
MEGA_MOGLIFICATION_ALCHEMY 560
MEGA_MOGLIFICATION_COOKING 561
MOGHANCEMENT_EXPERIENCE 520
MOGHANCEMENT_GARDENING 521
MOGHANCEMENT_DESYNTHESIS 522
MOGHANCEMENT_CONQUEST 532
MOGHANCEMENT_REGION 533
MOGHANCEMENT_FISHING_ITEM 534
MOGHANCEMENT_SANDORIA_CONQUEST 535
MOGHANCEMENT_BASTOK_CONQUEST 536
MOGHANCEMENT_WINDURST_CONQUEST 537
MOGHANCEMENT_MONEY 538
MOGHANCEMENT_CAMPAIGN 539
MOGHANCEMENT_MONEY_II 540
MOGHANCEMENT_SKILL_GAINS 541
MOGHANCEMENT_BOUNTY 542
MOGLIFICATION_EXPERIENCE_BOOST 562
MOGLIFICATION_CAPACITY_BOOST 563
MOGLIFICATION_RESIST_POISON 2849
MOGLIFICATION_RESIST_PARALYSIS 2850
MOGLIFICATION_RESIST_SILENCE 2852
MOGLIFICATION_RESIST_PETRIFICATION 2853
MOGLIFICATION_RESIST_VIRUS 2854
MOGLIFICATION_RESIST_CURSE 2855

element is the elemental alignment of the furniture.

aura needs to be researched (strength of effect?)

item_usable

Stores information regarding items that can be used. An item cannot be used unless it is in this table.

itemid links this table back to item_basic, and should match.

subid seems to primarily be used with spell scrolls, and probably just stores the spellid to be unlocked.

name may just be for readability's sake.

validTargets is a bitmask storing what the item can be used on. Being a bitmask, the values should be added for each valid target type. Self (1) + party (2) = 3.

Value Valid target
1 Self
2 Player in user's party
4 Enemy
8 Player in user's alliance
16 Players outside of user's party/alliance
32 Dead players
64 NPCs

activation Amount of time from item use to item effect.

animation determines which animation should be used with the item.

animation time needs to be researched, but probably determines how long the player can't move for the item usage to succeed.

maxCharges is the maximum number of usages.

useDelay is likely how long the item must be equipped before it can be used.

reuseDelay is likely how long must pass between item uses.

aoe is a simple binary on whether the item is AoE or not (0 = false, 1 = true.)

item_latents

Stores information regarding latent effects on items.

itemId links back to item_basic, and should always match.

modId is the number that represents the stat boost when active

value is the value to add to the stat when active

latentId is the ID of the latent effect conditions (see src/latent_effect.h)

latentParam is an additional parameter depending on the latentId (see src/latent_effect.h)

item_puppet

The itemId, name, slot, and "element" of each automaton piece. As PUP isn't in use, this table may change substantially in the future.

Slot IDs are as follows:

Value Slot name
1 Head
2 Frame
3 Attachment

Element IDs are as follows (This is a bitmask, so add up if it has more than one element, like a frame or head):

ElemID Element attributes
1 1 fire
2 2 fire
3 3 fire
4 4 fire
16 1 ice
32 2 ice
48 3 ice
64 4 ice
256 1 wind
512 2 wind
768 3 wind
1024 4 wind
4096 1 earth
8192 2 earth
12288 3 earth
16384 4 earth
65536 1 thunder
131072 2 thunder
196608 3 thunder
262144 4 thunder
1048576 1 water
2097152 2 water
3145728 3 water
4194304 4 water
16777216 1 light
33554432 2 light
50331648 3 light
67108864 4 light
268435456 1 darkness
536870912 2 darkness
805306368 3 darkness
1073741824 4 darkness