From a2a13eeee3133d74eb7fc49a90880c33d9b6d7e7 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Sat, 2 Jan 2016 01:02:21 +0100 Subject: [PATCH] Migrated all item type constants to source exports --- db/const.txt | 13 ------------- src/map/script_constants.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/db/const.txt b/db/const.txt index 977f910b88..acb6c3a4e5 100644 --- a/db/const.txt +++ b/db/const.txt @@ -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 diff --git a/src/map/script_constants.h b/src/map/script_constants.h index f86cd5080b..5dd6422bb1 100644 --- a/src/map/script_constants.h +++ b/src/map/script_constants.h @@ -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);