Skip to content

Commit

Permalink
Migrated all item type constants to source exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemongrass3110 committed Jan 2, 2016
1 parent 5b78941 commit a2a13ee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
13 changes: 0 additions & 13 deletions db/const.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2690,19 +2690,6 @@ DIR_SOUTHEAST 5
DIR_EAST 6
DIR_NORTHEAST 7

IT_HEALING 0
IT_USABLE 2
IT_ETC 3
IT_ARMOR 4
IT_WEAPON 5
IT_CARD 6
IT_PETEGG 7
IT_PETARMOR 8
IT_AMMO 10
IT_DELAYCONSUME 11
IT_SHADOWGEAR 12
IT_CASH 18

Bound_None 0
Bound_Account 1
Bound_Guild 2
Expand Down
14 changes: 14 additions & 0 deletions src/map/script_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -2260,6 +2260,20 @@
export_constant(SPEAR_MERC_GUILD);
export_constant(SWORD_MERC_GUILD);

/* item types */
export_constant(IT_HEALING);
export_constant(IT_USABLE);
export_constant(IT_ETC);
export_constant(IT_ARMOR);
export_constant(IT_WEAPON);
export_constant(IT_CARD);
export_constant(IT_PETEGG);
export_constant(IT_PETARMOR);
export_constant(IT_AMMO);
export_constant(IT_DELAYCONSUME);
export_constant(IT_SHADOWGEAR);
export_constant(IT_CASH);

/* status options */
export_constant(OPTION_NOTHING);
export_constant(OPTION_SIGHT);
Expand Down

0 comments on commit a2a13ee

Please sign in to comment.