summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-10 03:02:56 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-13 04:53:29 +0200
commita271110b6c53cf268747ab74d1471452909c5272 (patch)
treed1023faba69fcb2506989427257ed64a1b7ed87e /conf
parent944d8489f1bcca93e6b2ff06a159084f064dce12 (diff)
downloadhercules-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 'conf')
-rw-r--r--conf/map/battle/items.conf12
1 files changed, 8 insertions, 4 deletions
diff --git a/conf/map/battle/items.conf b/conf/map/battle/items.conf
index 4788d7b30..ef383e19b 100644
--- a/conf/map/battle/items.conf
+++ b/conf/map/battle/items.conf
@@ -100,10 +100,14 @@ autospell_stacking: false
// Default: true (official)
item_restricted_consumption_type: true
-// Enable all NPC to allow changing of equipments while interacting? (Note 1)
-// Script commands 'enable_items/disable_items' will not be override. (see doc/script_commands.txt)
-// Default: true (official)
-item_enabled_npc: true
+// Which item actions are allowed while interacting with NPC? (Note 3)
+// Script commands 'enable_items/disable_items' will not be overridden. (See doc/script_commands.txt.)
+// 0x0 (ITEMENABLEDNPC_NONE) - Don't allow any item actions.
+// 0x1 (ITEMENABLEDNPC_EQUIP) - Allow changing equipment.
+// 0x2 (ITEMENABLEDNPC_CONSUME) - Allow consuming usable items.
+// Official RE: 0x1 (Default value.)
+// Official Pre-RE: 0x3
+item_enabled_npc: 0x1
// Unequip the equipments that has disabled by map_zone_db.conf ?
// 0 : disabled equipments and cards are nullify (official)