1 ;;----------------------------------------------------------------------------
3 ;;----------------------------------------------------------------------------
4 (define tim-start-lvl 4)
6 ;;----------------------------------------------------------------------------
9 ;; In the Tower of Brundegart (p_brundegardt_tower_4), locked outside.
10 ;;----------------------------------------------------------------------------
12 ;;----------------------------------------------------------------------------
15 ;; Quest flags, etc, go here.
16 ;;----------------------------------------------------------------------------
17 (define (tim-mk) (list #f #f))
18 (define (tim-caught? gob) (car gob))
19 (define (tim-caught! gob) (set-car! gob #t))
20 (define (tim-met? gob) (cadr gob))
21 (define (tim-met! gob) (set-car! (cdr gob) #t))
23 ;;----------------------------------------------------------------------------
26 ;; Tim is a maimed, drooling madman, currently trapped outside
27 ;; the Tower of Brundegart.
29 ;; Once a seeker of knowledge (and power),
30 ;; his body was ravaged by griffins (and their hungry chicks),
31 ;; and his mind broken by contact with the EYE of Brundegart.
32 ;; (One rather assumes the maiming did not help his mental state,
33 ;; for that matter...)
34 ;;----------------------------------------------------------------------------
35 (define (tim-hail knpc kpc)
36 (meet "You meet a drooling madman with only one arm.")
37 (say knpc "I have seen the eye!"))
39 (define (tim-eye knpc kpc)
40 (say knpc "So wise I am now, because of the eye. Would you be wise?")
42 (say knpc "Alas, my friend, I have lost the key!"))
47 (define (tim-key knpc kpc)
48 (say knpc "It was my key! I found it on the dead man. "
49 "First they took my arm, then the lion-birds took my key!"))
51 (define (tim-arm knpc kpc)
52 (say knpc "They chose me as I walked among the hills, "
53 "and brought me here to feed their young."))
55 (define (tim-name knpc kpc)
56 (say knpc "Do not pretend to not know me! "
57 "One who is all-wise is necessarily famous! That's logic!"))
59 (define (tim-job knpc kpc)
60 (say knpc "I will bring enlightenment to the world!"))
62 (define (tim-enli knpc kpc)
63 (say knpc "Yes! The eye! The eye... [He curls into a fetal ball and sobs]")
66 (define (tim-lion knpc kpc)
67 (say knpc "[He shrieks and cowers] Do you see them?! "
68 "Have they come for my other arm? The chicks are so hungry! So cruel!"))
72 (method 'hail tim-hail)
76 (method 'name tim-name)
78 (method 'enli tim-enli)
79 (method 'lion tim-lion)
83 ;;----------------------------------------------------------------------------
84 ;; First-time constructor
85 ;;----------------------------------------------------------------------------
90 'ch_tim ;;..........tag
92 sp_human ;;.....species
93 oc_wizard ;;.. .occupation
95 faction-men ;;..faction
96 +1 ;;...........custom strength modifier
97 0 ;;...........custom intelligence modifier
98 +1 ;;...........custom dexterity modifier
99 +1 ;;............custom base hp modifier
100 +1 ;;............custom hp multiplier (per-level)
101 0 ;;............custom base mp modifier
102 0 ;;............custom mp multiplier (per-level)
103 max-health ;;..current hit points
104 -1 ;;...........current experience points
105 max-health ;;..current magic points
107 tim-start-lvl ;;..current level
108 #f ;;...........dead?
109 'tim-conv ;;...conversation (optional)
110 nil ;;sch_tim ;;.....schedule (optional)
111 nil ;;..........custom ai (optional)
112 nil ;;..............container (and contents)
113 nil ;;.........readied arms (in addition to the container contents)
114 nil ;;..........hooks in effect