diff options
author | Haru <haru@dotalux.com> | 2017-08-21 20:58:36 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-09-17 17:48:33 +0200 |
commit | 926cff033bb9533ae3d8615f8b90e2e443d0525b (patch) | |
tree | e6c880ede4d47f6ef3a83ae666bd08d680187b84 /src/map/script.c | |
parent | 3745f1658aab4a5ffe504a5660b76402f2e2c6d6 (diff) | |
download | hercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.tar.gz hercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.tar.bz2 hercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.tar.xz hercules-926cff033bb9533ae3d8615f8b90e2e443d0525b.zip |
Add support for bitmask arrays in the item_db Upper field
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 5ce581db6..f29ce4104 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -24572,6 +24572,16 @@ void script_hardcoded_constants(void) script->set_constant("A_CANNONBALL", A_CANNONBALL, false, false); script->set_constant("A_THROWWEAPON", A_THROWWEAPON, false, false); + script->constdb_comment("Item Upper Masks"); + script->set_constant("ITEMUPPER_NONE", ITEMUPPER_NONE, false, false); + script->set_constant("ITEMUPPER_NORMAL", ITEMUPPER_NORMAL, false, false); + script->set_constant("ITEMUPPER_UPPER", ITEMUPPER_UPPER, false, false); + script->set_constant("ITEMUPPER_BABY", ITEMUPPER_BABY, false, false); + script->set_constant("ITEMUPPER_THIRD", ITEMUPPER_THIRD, false, false); + script->set_constant("ITEMUPPER_THIRDUPPER", ITEMUPPER_THIRDUPPER, false, false); + script->set_constant("ITEMUPPER_THIRDBABY", ITEMUPPER_THIRDBABY, false, false); + script->set_constant("ITEMUPPER_ALL", ITEMUPPER_ALL, false, false); + script->constdb_comment("Renewal"); #ifdef RENEWAL script->set_constant("RENEWAL", 1, false, false); |