summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2015-10-29 17:12:02 +0800
committerAnnieRuru <jeankof@ymail.com>2015-10-29 17:12:02 +0800
commit1be5817fdbefb0ad9bb760f1bc7eecdc2a7bb961 (patch)
tree18874c88ef96d35bfac78220783303ed76147710 /src/map/battle.c
parent6abd0fb8b1bbfe2101cc68503897b0449027fb3d (diff)
downloadhercules-1be5817fdbefb0ad9bb760f1bc7eecdc2a7bb961.tar.gz
hercules-1be5817fdbefb0ad9bb760f1bc7eecdc2a7bb961.tar.bz2
hercules-1be5817fdbefb0ad9bb760f1bc7eecdc2a7bb961.tar.xz
hercules-1be5817fdbefb0ad9bb760f1bc7eecdc2a7bb961.zip
Add new config to allow player vend/chat room nearby hidden npc (#834)
credit to Emistry for the idea
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 1cbc3baa5..ba640fedf 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7103,6 +7103,7 @@ static const struct battle_data {
{ "mvp_tomb_enabled", &battle_config.mvp_tomb_enabled, 1, 0, 1 },
{ "feature.atcommand_suggestions", &battle_config.atcommand_suggestions_enabled, 0, 0, 1 },
{ "min_npc_vendchat_distance", &battle_config.min_npc_vendchat_distance, 3, 0, 100 },
+ { "vendchat_near_hiddennpc", &battle_config.vendchat_near_hiddennpc, 0, 0, 1 },
{ "atcommand_mobinfo_type", &battle_config.atcommand_mobinfo_type, 0, 0, 1 },
{ "homunculus_max_level", &battle_config.hom_max_level, 99, 0, MAX_LEVEL, },
{ "homunculus_S_max_level", &battle_config.hom_S_max_level, 150, 0, MAX_LEVEL, },