1 ;;----------------------------------------------------------------------------
3 ;;----------------------------------------------------------------------------
4 (define thud-start-lvl 6)
6 ;;----------------------------------------------------------------------------
10 ;;----------------------------------------------------------------------------
11 (kern-mk-sched 'sch_thud
12 (list 0 0 bole-bedroom-thud "idle")
13 (list 9 0 bole-dining-hall "idle")
14 (list 10 0 bole-courtyard "idle")
15 (list 12 0 bole-dining-hall "idle")
16 (list 23 0 bole-bedroom-thud "idle")
19 ;;----------------------------------------------------------------------------
22 ;; Quest flags, etc, go here.
23 ;;----------------------------------------------------------------------------
24 (define (thud-mk) nil)
26 ;;----------------------------------------------------------------------------
29 ;; Thud is the bodyguard of Kathryn, and currently abides in Bole,
30 ;; where they seek a certain thief. Various other NPCs suggest
31 ;; that Thud is at best half human, perhaps having ogre blood,
32 ;; or a sorcerous (summoned or vat-born) origin...
34 ;; Thud is a potential party member (and an eventual betrayer).
35 ;; He accompanies Kathrun, and joins the party when and if she does.
36 ;;----------------------------------------------------------------------------
37 (define (thud-hail knpc kpc)
38 (say knpc "[You are certain that the figure before you is part ogre. "
39 "Three meters tall and smoldering with menace, he regards you with "
40 "half-lidded eyes.]"))
42 (define (thud-default knpc kpc)
43 (say knpc "[His threatening gaze does not waver]"))
45 (define (thud-name knpc kpc)
46 (say knpc "Thud no like you."))
48 (define (thud-join knpc kpc)
49 (if (is-player-party-member? ch_kathryn)
51 (say knpc "[Seeing Kathryn with you, he grunts his assent]")
52 (kern-char-join-player knpc)
54 (say knpc "[He sneers]")))
56 (define (thud-job knpc kpc)
57 (say knpc "Thud love kill."))
59 (define (thud-kathryn knpc kpc)
60 (say knpc "Thud no kill"))
62 (define (thud-thud knpc kpc)
63 (say knpc "You talk me? YOU TALK ME?! THUD PICK TEETH WITH YOU BONES!!"))
65 (define (thud-thief knpc kpc)
66 (say knpc "[He becomes enraged] THIEF TRICK THUD! THUD FIND THIEF! THUD KILL THIEF!"))
68 (define (thud-find knpc kpc)
69 (say knpc "[He calms down a bit] Red Lady find thief. He no can hide."))
71 (define (thud-red-lady knpc kpc)
72 (say knpc "[He gives you a murderous look] You stay away Red Lady."))
76 (method 'default thud-default)
77 (method 'hail thud-hail)
80 (say knpc "[His eyes bore into your back as you walk away]")))
81 (method 'job thud-job)
82 (method 'name thud-name)
83 (method 'join thud-join)
85 (method 'find thud-find)
86 (method 'kath thud-kathryn)
87 (method 'kill thud-job)
88 (method 'lady thud-red-lady)
89 (method 'love thud-job)
90 (method 'red thud-red-lady)
91 (method 'thie thud-thief)
92 (method 'thud thud-thud)
95 ;;----------------------------------------------------------------------------
96 ;; First-time constructor
97 ;;----------------------------------------------------------------------------
104 sp_troll ;;.....species
105 oc_warrior ;;...occupation
106 s_troll ;;......sprite
107 faction-men ;;..faction
108 4 ;;............custom strength modifier
109 0 ;;............custom intelligence modifier
110 2 ;;............custom dexterity modifier
111 2 ;;............custom base hp modifier
112 1 ;;............custom hp multiplier (per-level)
113 0 ;;............custom base mp modifier
114 0 ;;............custom mp multiplier (per-level)
115 max-health;;..current hit points
116 -1 ;;...........current experience points
117 max-health ;;..current magic points
119 thud-start-lvl ;;..current level
120 #f ;;...........dead?
121 'thud-conv ;;...conversation (optional)
122 sch_thud ;;.....schedule (optional)
123 'townsman-ai ;;..........custom ai (optional)
124 nil ;;..........container (and contents)
125 ;;.........readied arms (in addition to the container contents)
131 nil ;;..........hooks in effect