diff options
author | Ibrahim Zidan <brahem@aotsw.com> | 2019-04-17 07:29:18 +0200 |
---|---|---|
committer | Ibrahim Zidan <brahem@aotsw.com> | 2019-05-05 23:40:39 +0200 |
commit | 8fa081b6b4ad26851f3ab8f485ba76f3e4338762 (patch) | |
tree | c45282c318a70a4da40762ce220406abd1f21ed7 /npc/merchants/advanced_refiner.txt | |
parent | 5a0c9f2f74070e9d1e6f4fec503b3687b5f1ef88 (diff) | |
download | hercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.tar.gz hercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.tar.bz2 hercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.tar.xz hercules-8fa081b6b4ad26851f3ab8f485ba76f3e4338762.zip |
Implement Refinery UI
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Diffstat (limited to 'npc/merchants/advanced_refiner.txt')
-rw-r--r-- | npc/merchants/advanced_refiner.txt | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt index 9632f95f7..ec263e192 100644 --- a/npc/merchants/advanced_refiner.txt +++ b/npc/merchants/advanced_refiner.txt @@ -44,14 +44,19 @@ //========================================================================= payon,157,146,6 script Suhnbi#cash 4_M_03,{ - disable_items; - mes "[Suhnbi]"; - mes "I am the Armsmith"; - mes "I can refine all kinds of weapons,"; - mes "armor and equipment, so let me"; - mes "know what you want to refine."; - next; + mes("[Suhnbi]"); + mes("I am the Armsmith"); + mes("I can refine all kinds of weapons,"); + mes("armor and equipment, so let me"); + mes("know what you want to refine."); + if (getbattleflag("features/replace_refine_npcs") == 1) { + if (openrefineryui()) + close(); + } + next(); + + disable_items; setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; .@menu$ = ""; for(.@i = 1; .@i<=10; ++.@i) { |