diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-28 11:44:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-28 11:44:44 -0300 |
commit | eccac500742929097d1724d38a866c1bb0b3a120 (patch) | |
tree | b16d37771510122ff8ab05e663da5701a9bccd51 /npc/024-14 | |
parent | ec1745f659a8b5e21591782cd3c0a7b239e2f1e6 (diff) | |
download | serverdata-eccac500742929097d1724d38a866c1bb0b3a120.tar.gz serverdata-eccac500742929097d1724d38a866c1bb0b3a120.tar.bz2 serverdata-eccac500742929097d1724d38a866c1bb0b3a120.tar.xz serverdata-eccac500742929097d1724d38a866c1bb0b3a120.zip |
Add to apartment the option to forge items (in overall, TODO)
Diffstat (limited to 'npc/024-14')
-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: |