1 ;;----------------------------------------------------------------------------
3 ;;----------------------------------------------------------------------------
5 (define jones-species sp_human)
8 ;;----------------------------------------------------------------------------
11 ;; In the Keep guarding Kurpolis.
12 ;;----------------------------------------------------------------------------
13 (define jones-bed ph-bed1)
14 (define jones-mealplace ph-tbl1)
15 (define jones-workplace ph-arms)
16 (define jones-leisureplace ph-hall)
17 (kern-mk-sched 'sch_jones
18 (list 0 0 jones-bed "sleeping")
19 (list 7 0 jones-mealplace "eating")
20 (list 8 0 jones-workplace "working")
21 (list 12 0 jones-mealplace "eating")
22 (list 13 0 jones-workplace "working")
23 (list 18 0 jones-mealplace "eating")
24 (list 19 0 jones-leisureplace "idle")
25 (list 22 0 jones-bed "sleeping")
28 ;;----------------------------------------------------------------------------
30 ;;----------------------------------------------------------------------------
31 (define (jones-mk) nil)
33 ;;----------------------------------------------------------------------------
36 ;; Jones runs the supply depot for the Glasdrin militia.
37 ;; He is stationed in the Keep guarding Kurpolis.
38 ;;----------------------------------------------------------------------------
41 (define (jones-name knpc kpc)
42 (say knpc "Jonesy at yer service."))
44 (define (jones-job knpc kpc)
45 (say knpc "I run the Supply Depot for the Glasdrin militia. Would you like to buy some supplies?")
47 (jones-trade knpc kpc)
48 (say knpc "If you ever need any I'll be right here.")))
51 (define jones-merch-msgs
52 (list "Come by the Supply Depot between 9:00AM and 6:00PM."
53 "I keep the basics in stock."
56 "Are you sure you have enough? You better get some more."
57 "I hope you've got enough, for your sake."
62 (list t_arrow 1 "Down here you'll go through arrows like a troll goes through grog!")
63 (list t_bolt 1 "You can run out of bolts in the blink of a gazer's eye!")
64 (list t_oil 6 "Yes, stock up on plenty of that flaming oil. It gets worse deeper down.")
65 (list t_torch 6 "You don't want to run out of torches down here!")
66 (list t_heal_potion 23 "Yes, they are spendy, but healing potions are hard to get and critical to have.")
67 (list t_mana_potion 23 "You better buy extra mana potions. Your mages will be working overtime.")
68 (list t_food 10 "There's nothing worse than runnning out of food when you're lost in the lower levels.")
71 (define (jones-trade knpc kpc) (conv-trade knpc kpc "buy" jones-merch-msgs jones-catalog))
79 (method 'job jones-job)
80 (method 'name jones-name)
83 (method 'trad jones-trade)
84 (method 'buy jones-trade)
93 jones-species ; species
96 faction-men ; starting alignment
108 'townsman-ai ; special ai
111 t_armor_chain) ; readied