From 5aaf2707e25b8fa369bf37da1d51d0a0ee203473 Mon Sep 17 00:00:00 2001 From: Emistry Date: Mon, 20 Jul 2015 05:27:52 +0800 Subject: Follow up #523 Enable the NPC to inform users the Auction not available due to the feature isn't enabled by server. --- npc/other/auction.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'npc') diff --git a/npc/other/auction.txt b/npc/other/auction.txt index eb4eb7bc4..df76daa32 100644 --- a/npc/other/auction.txt +++ b/npc/other/auction.txt @@ -98,11 +98,16 @@ auction_02,43,17,0 warp auction_enterance_lhz 1,1,lighthalzen,209,169 next; if (select("Yes:No") == 1) { mes "[Auction Broker]"; - mes "Very well."; - mes "Please take"; - mes "a look, and see"; - mes "What's being offered~"; - openauction; + if ( getbattleflag( "feature.auction" ) ) { + mes "Very well."; + mes "Please take"; + mes "a look, and see"; + mes "What's being offered~"; + openauction; + } + else { + mes "Auction feature isn't enabled."; + } close; } mes "[Auction Broker]"; -- cgit v1.2.3-60-g2f50