diff options
author | Emistry <Equinox1991@gmail.com> | 2015-07-20 05:27:52 +0800 |
---|---|---|
committer | Emistry <Equinox1991@gmail.com> | 2015-07-20 05:27:52 +0800 |
commit | 5aaf2707e25b8fa369bf37da1d51d0a0ee203473 (patch) | |
tree | 5bd3e5ca58c5f8322c34110becea56db5df12310 /npc/other | |
parent | 19669457e600034cecad3cfba06c567a2f3fe5f3 (diff) | |
download | hercules-5aaf2707e25b8fa369bf37da1d51d0a0ee203473.tar.gz hercules-5aaf2707e25b8fa369bf37da1d51d0a0ee203473.tar.bz2 hercules-5aaf2707e25b8fa369bf37da1d51d0a0ee203473.tar.xz hercules-5aaf2707e25b8fa369bf37da1d51d0a0ee203473.zip |
Follow up #523
Enable the NPC to inform users the Auction not available due to the
feature isn't enabled by server.
Diffstat (limited to 'npc/other')
-rw-r--r-- | npc/other/auction.txt | 15 |
1 files changed, 10 insertions, 5 deletions
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]"; |