diff options
Diffstat (limited to 'npc/008-2-6/donald.txt')
-rw-r--r-- | npc/008-2-6/donald.txt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/npc/008-2-6/donald.txt b/npc/008-2-6/donald.txt deleted file mode 100644 index 5c75896e..00000000 --- a/npc/008-2-6/donald.txt +++ /dev/null @@ -1,39 +0,0 @@ -// The Mana World scripts. -// Author: -// Micksha -// Description: -// Alan's Apprentice. - -008-2-6,29,27,0 script Donald NPC_YOUNG_MAN_APPRENTICE,{ - if (shopcount(TrainingArrow) <= 0 && shopcount(IronArrow) <= 0) { - speech - l("Good day."), - l("Sorry, we are sold out for today."), - l("Come back later."); - - } else { - speech - l("Good day."), - l("We got new supplies of arrows!"); - - next; - - closeclientdialog; - shop .name$; - } - - close; - -OnInit: - .distance = 4; - tradertype(NST_MARKET); - - sellitem TrainingArrow, -1, 20000+rand2(5000); - sellitem IronArrow, -1, 20000+rand2(5000); - end; - -OnClock0002: - restoreshopitem TrainingArrow, 20000+rand2(5000); - restoreshopitem IronArrow, 20000+rand2(5000); - end; -} |