diff options
-rw-r--r-- | npc/024-14/utils.txt | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/npc/024-14/utils.txt b/npc/024-14/utils.txt index 4e58f8b7e..646493b2d 100644 --- a/npc/024-14/utils.txt +++ b/npc/024-14/utils.txt @@ -60,11 +60,33 @@ OnInit: 024-14,28,27,0 script Cauldron#RES_PPL NPC_NO_SPRITE,{ - mesc l("What will you brew today?"); - if (AlchemySystem(CRAFT_PLAYER)) - mesc l("Success!"), 3; - else - mesc l("That didn't work!"), 1; + select + l("Alchemy"), + l("Crafting"); + mes ""; + if (@menu == 1) { + do { + mesc l("What will you brew today?"); + if (AlchemySystem(CRAFT_PLAYER)) + mesc l("Success!"), 3; + else + mesc l("That didn't work!"), 1; + next; + mesc l("Try again?"); + } while (askyesno() == ASK_YES); + } + else if (@menu == 2) { + do { + mesc l("What will you craft today?"); + if (SmithSystem(CRAFT_PLAYER)) + mesc l("Success!"), 3; + else + mesc l("That didn't work!"), 1; + next; + mesc l("Try again?"); + } while (askyesno() == ASK_YES); + } + close; OnInit: |