summaryrefslogtreecommitdiff
path: root/npc/024-14
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-07 22:59:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-07 22:59:02 -0300
commit20997279964bf6afe101408219a246dcc2bcd09e (patch)
tree476882cecd59d4f0f26c90aec46abd3fa9d0b76f /npc/024-14
parent0ed07673c0754bc8b07006ed0bab125763a266f3 (diff)
downloadserverdata-20997279964bf6afe101408219a246dcc2bcd09e.tar.gz
serverdata-20997279964bf6afe101408219a246dcc2bcd09e.tar.bz2
serverdata-20997279964bf6afe101408219a246dcc2bcd09e.tar.xz
serverdata-20997279964bf6afe101408219a246dcc2bcd09e.zip
Unify all cauldrons with the apartment function, which is now an util.
This means I can add new systems using the cauldron, and split them at a later date if I deem fit. Note Halinarzo houses does not comes with a Cauldron -_-
Diffstat (limited to 'npc/024-14')
-rw-r--r--npc/024-14/utils.txt28
1 files changed, 1 insertions, 27 deletions
diff --git a/npc/024-14/utils.txt b/npc/024-14/utils.txt
index 7fd73a69f..ad9c51134 100644
--- a/npc/024-14/utils.txt
+++ b/npc/024-14/utils.txt
@@ -60,33 +60,7 @@ OnInit:
024-14,28,27,0 script Cauldron#RES_PPL NPC_NO_SPRITE,{
- 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);
- }
-
+ realestate_cauldron();
close;
OnInit: