2 ;;----------------------------------------------------------------------------
4 ;;----------------------------------------------------------------------------
6 ;;----------------------------------------------------------------------------
10 ;;----------------------------------------------------------------------------
11 (kern-mk-sched 'sch_lia
12 (list 0 0 sea-witch-bed "sleeping")
13 (list 6 0 sea-witch-beach "idle")
14 (list 8 0 sea-witch-counter "working")
15 (list 20 0 sea-witch-beach "idle")
18 ;;----------------------------------------------------------------------------
20 ;;----------------------------------------------------------------------------
23 ;;----------------------------------------------------------------------------
26 ;; Lia is a female wizard and reagent-seller who dwells in Oparine,
27 ;; so that she may remain in the proximity to her true love,
28 ;; the Nixie prince Fing.
30 ;; She is said to be under a curse, of obscure nature.
31 ;; One likely interpretation is that she is only in human form through
32 ;; having been transformed, being born a Nixie or some other water-folk.
33 ;;----------------------------------------------------------------------------
36 (define (lia-hail knpc kpc)
37 (say knpc "[You meet a haunting beauty] Welcome."))
39 (define (lia-default knpc kpc)
40 (say knpc "I cannot help you with that."))
42 (define (lia-name knpc kpc)
43 (say knpc "I am Lia."))
45 (define (lia-join knpc kpc)
46 (say knpc "I cannot leave these shores."))
48 (define (lia-job knpc kpc)
49 (say knpc "I sell reagents, including the rare black pearl."))
51 (define (lia-bye knpc kpc)
52 (say knpc "Goodbye, Wanderer."))
55 (define lia-merch-msgs
56 (list "My shop is open from 8:00AM to 8:00PM."
58 "I will buy rare ingredients if they are a good value."
59 "Do you wish to buy or do you have something to sell?"
60 "A blessing on your magic."
62 "I will be happy to purchase more."
63 "I only offer what is fair."
64 "May the gods of the deep favour you."
70 (list sulphorous_ash (* 2 reagent-price-mult) "This ash comes from the bed of dragons in the Fire Sea.")
71 (list garlic (* 4 reagent-price-mult) "Garlic is a common enough herb, but useful in spells.")
72 (list ginseng (* 4 reagent-price-mult) "I grow this ginseng myself alongside mandrake.")
73 (list black_pearl (* 4 reagent-price-mult) "These come from my own special source. You will find no others like them.")
74 (list blood_moss (* 6 reagent-price-mult) "It is difficult to get blood moss here.")
75 (list nightshade (* 11 reagent-price-mult) "The nightshade is rare in these parts.")
76 (list mandrake (* 11 reagent-price-mult) "I grow mandrake with my ginseng.")
78 (list t_in_an_scroll (* 3 base-scroll-cost) "When faced with magic stronger than your own, use this to even the score.")
79 (list t_in_mani_corp_scroll (* 8 base-scroll-cost) "You need not mourn a fallen companion when you carry one of these.")
80 (list t_vas_rel_por_scroll (* 3 base-scroll-cost) "You can travel great distances or escape dire circumstances with this gate scroll.")
81 (list t_vas_mani_scroll (* 2 base-scroll-cost) "When sorely wounded this will restore you to health.")
82 (list t_wis_quas_scroll (* 2 base-scroll-cost) "This scroll will open your eyes to the invisible world.")
85 (define (lia-trade knpc kpc) (conv-trade knpc kpc "trade" lia-merch-msgs lia-catalog))
86 (define (lia-buy knpc kpc) (conv-trade knpc kpc "buy" lia-merch-msgs lia-catalog))
87 (define (lia-sell knpc kpc) (conv-trade knpc kpc "sell" lia-merch-msgs lia-catalog))
89 (define (lia-pear knpc kpc)
90 (say knpc "I have my own source for the rare black pearl. "
91 "Would you like to purchase some?")
92 (if (kern-conv-get-yes-no? kpc)
94 (say knpc "You won't get this quality anywhere else!")))
97 (define (lia-shor knpc kpc)
98 (say knpc "I must stay by the shore so I can be near my love."))
100 (define (lia-love knpc kpc)
101 (say knpc "My beloved cannot leave the sea, "
102 "he is a prince among the Sea People. "
103 "He is bold and true, and has not left me despite my curse."
107 (define (lia-sea knpc kpc)
108 (say knpc "How I long to return to my home! "
109 "I miss the courtyards of the deep, "
110 "and watching the ships cross my ceiling, "
111 "and hearing the conversations of Men as only a distant murmur."))
113 (define (lia-curs knpc kpc)
114 (say knpc "I'd prefer not to speak of it."))
117 (define (lia-opar knpc kpc)
118 (say knpc "All cities of Men are too dry for my liking."))
120 (define (lia-gher knpc kpc)
121 (say knpc "The scavengers of the sea used to follow her ship. "
122 "They were well-fed with her victims."))
124 (define (lia-alch knpc kpc)
125 (say knpc "He sometimes visits me, and we discuss magic. "
126 "I have few other friends among Men."))
128 (define (lia-osca knpc kpc)
129 (say knpc "I know little of him, except that he has never been to sea."))
131 (define (lia-henr knpc kpc)
132 (say knpc "He was a fine sailor once. The great ones of the deep sometimes "
133 "spoke of his courage."))
135 (define (lia-bart knpc kpc)
136 (say knpc "His ships are well-respected, but all ships are clumsy and "
137 "ponderous in my sight."))
143 (method 'default lia-default)
144 (method 'hail lia-hail)
145 (method 'bye lia-bye)
146 (method 'job lia-job)
147 (method 'name lia-name)
148 (method 'join lia-join)
151 (method 'shor lia-shor)
152 (method 'love lia-love)
153 (method 'sea lia-sea)
154 (method 'deep lia-sea)
155 (method 'curs lia-curs)
158 (method 'trad lia-trade)
159 (method 'reag lia-buy)
160 (method 'buy lia-buy)
161 (method 'sell lia-sell)
162 (method 'blac lia-buy)
163 (method 'pear lia-buy)
166 (method 'opar lia-opar)
167 (method 'alch lia-alch)
168 (method 'gher lia-gher)
169 (method 'osca lia-osca)
170 (method 'henr lia-henr)
171 (method 'bart lia-bart)
172 (method 'fing lia-love)
178 (kern-mk-char 'ch_lia ; tag
182 s_townswoman ; sprite
183 faction-men ; starting alignment
187 max-health -1 max-health 0 3 ; hp/xp/mp/AP_per_turn/lvl
191 'townsman-ai ; special ai
192 (mk-inventory (list (list 1 t_dagger))) ; container