diff options
-rw-r--r-- | npc/005-5/nylo.txt | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/npc/005-5/nylo.txt b/npc/005-5/nylo.txt index 3c6035251..1f10c3746 100644 --- a/npc/005-5/nylo.txt +++ b/npc/005-5/nylo.txt @@ -4,10 +4,6 @@ 005-5,27,38,0 script Nylo NPC_PLAYER,{ - function nylo_close { - close; - } - function nylo_thanks { speech S_LAST_BLANK_LINE, l("You are very welcome."); @@ -112,7 +108,7 @@ } while (@menu != 2); } - function nylo_eplain { + function nylo_explain { speech S_LAST_BLANK_LINE, l("There are banks all over the world. Usually every important village or city has one."), l("You can save both items and money at a bank."); @@ -146,17 +142,20 @@ { select l("Yeah, you're right."), + l("You store a large collection of goods. Could you perhaps sell me some?"), l("What is banking?"); switch (@menu) { case 1: - nylo_close; break; case 2: - nylo_eplain; + shop "Nylo#Beer"; + break; + case 3: + nylo_explain; break; } - } while (@menu != 2); + } while (@menu != 1); closedialog; goodbye; @@ -176,4 +175,18 @@ OnInit: .distance = 4; end; } +005-5,27,38,0 trader Nylo#Beer NPC_HIDDEN,{ + +OnInit: + tradertype(NST_MARKET); + sellitem Beer, 350, 100; + + .sex = G_OTHER; + .distance = 4; + end; + +OnClock0000: + restoreshopitem Beer, 100; + +} |