diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-10 03:02:56 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-13 04:53:29 +0200 |
commit | a271110b6c53cf268747ab74d1471452909c5272 (patch) | |
tree | d1023faba69fcb2506989427257ed64a1b7ed87e /src/map/script.c | |
parent | 944d8489f1bcca93e6b2ff06a159084f064dce12 (diff) | |
download | hercules-a271110b6c53cf268747ab74d1471452909c5272.tar.gz hercules-a271110b6c53cf268747ab74d1471452909c5272.tar.bz2 hercules-a271110b6c53cf268747ab74d1471452909c5272.tar.xz hercules-a271110b6c53cf268747ab74d1471452909c5272.zip |
Extend item_enabled_npc battle flag with option for usable items
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 45c954dc0..46b7ef8f5 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -27864,6 +27864,11 @@ static void script_hardcoded_constants(void) script->set_constant("PCBLOCK_COMMANDS", PCBLOCK_COMMANDS, false, false); script->set_constant("PCBLOCK_NPC", PCBLOCK_NPC, false, false); + script->constdb_comment("NPC item action constants"); + script->set_constant("ITEMENABLEDNPC_NONE", ITEMENABLEDNPC_NONE, false, false); + script->set_constant("ITEMENABLEDNPC_EQUIP", ITEMENABLEDNPC_EQUIP, false, false); + script->set_constant("ITEMENABLEDNPC_CONSUME", ITEMENABLEDNPC_CONSUME, false, false); + script->constdb_comment("private airship responds"); script->set_constant("P_AIRSHIP_NONE", P_AIRSHIP_NONE, false, false); script->set_constant("P_AIRSHIP_RETRY", P_AIRSHIP_RETRY, false, false); |