(version 2)
(include "sci.sh")
(exports
    0 rm440
)
(use "Main")
(use "TellerIcon")
(use "PolyPath")
(use "Polygon")
(use "CueObj")
(use "n958")
(use "Cycle")
(use "Game")
(use "User")
(use "View")
(use "Obj")
(script 440)


(local
    local0 =     150
    local1 =     130
    local2
    local3
    local4
    local5
    local6
    local7
    local8[12] = (0 -16 17 97 -43 96 50 94 78 93 81 999 )
    local20[2]
    local22[6] = (0 1 -2 4 -5 999 )
    local28[3] = (0 3 999 )
    local31[4] = (0 -6 98 999 )
    local35[5] = (0 -7 8 3 999 )
    local40[3] = (0 9 999 )
    local43[6] = (0 -2 -5 -6 -7 999 )
    local49[7]
    local56[6] = (0 11 18 19 20 999 )
    local62[2]
    local64[7] = (0 1 10 -4 11 12 999 )
    local71[8] = (0 -26 -28 -31 33 34 -24 999 )
    local79[3] = (0 27 999 )
    local82[4] = (0 29 30 999 )
    local86[3] = (0 32 999 )
    local89[3] = (0 25 999 )
    local92[6] = (0 -26 -28 -31 -24 999 )
    local98[8] = (0 -35 99 37 38 39 40 999 )
    local106[4] = (0 42 41 999 )
    local110[3] = (0 -35 999 )
    local113[6] = (0 100 49 3 -45 999 )
    local119[5] = (0 46 48 47 999 )
    local124[3] = (0 -45 999 )
    local127[8] = (0 -50 58 57 59 60 61 999 )
    local135[4] = (0 56 -53 999 )
    local139[4] = (0 54 55 999 )
    local143[4] = (0 -50 -53 999 )
    local147[5] = (0 -63 -65 68 999 )
    local152[3] = (0 64 999 )
    local155[4] = (0 66 67 999 )
    local159[4] = (0 -63 -65 999 )
    local163[6] = (0 76 -72 70 71 999 )
    local169[4] = (0 73 -74 999 )
    local173[5] = (0 -75 2 79 999 )
    local178[4] = (0 -72 -74 999 )
    local182[6] = (0 80 81 82 83 999 )
    local188[5] = (0 85 86 87 999 )
    local193[6] = (0 89 92 91 90 999 )
    local199[6]

)
(procedure (localproc_15d0 param1)
    return * 2 (/ (+ (* param1 800) (- local7 1)) local7)
)


(instance public rm440 of Rm
    (properties
        noun 8
        picture 440
    )

    (method (init)
        proc0_2()
        (send gQg3Walkers:addToFront(global2))
        (if (== gGClientModNum 450)
            (send global2:addObstacle((send ((Polygon:new())):
                    type(3)
                    init(37 189 129 188 128 129 196 129 227 146 246 155 279 155 279 111 231 119 215 118 195 106 152 106 110 123 37 123)
                    yourself()
                )
))
        )(else
            (send global2:addObstacle((send ((Polygon:new())):
                    type(3)
                    init(37 189 126 189 126 128 191 128 219 140 227 156 279 156 279 112 244 119 227 121 186 109 159 105 131 105 113 87 37 102)
                    yourself()
                )
))
        )
        (fire:
            setCycle(Fwd)
            init()
        )
        (firePlace:init())
        (shield:init())
        (pot:init())
        (rightBench:init())
        (wallSkin:init())
        (mat:
            approachVerbs(4)
            init()
        )
        (send gLongSong:
            setLoop(-1)
            changeTo(440)
        )
        (send gLongSong3:
            number(913)
            setLoop(-1)
            play(127)
        )
        (super:init())
        = local20[0] @local8
        (egoActions:init(gOwner @local8 @local20))
        (if ((proc0_6(74) and (< global402 10)) and (<> global122 global470))
            (send global2:setScript(eventTen))
        )(else
            (if (proc0_6(65) and ((< global402 9) or (== global402 10)))
                (send global2:setScript(eventNine))
            )(else
                (if (proc0_6(16) and (< global402 8))
                    (send global2:setScript(eventEight))
                )(else
                    (if (proc0_6(38) and (< global402 7))
                        (send global2:setScript(eventSeven))
                    )(else
                        (if (== global402 5)
                            (send global2:setScript(eventSix))
                        )(else
                            (if (proc0_6(29) and (< global402 5))
                                (send global2:setScript(eventFive))
                            )(else
                                (if (== gGClientModNum 450)
                                    (send global2:setScript(eventOne))
                                )(else
                                    (if (== global402 1)
                                        (send global2:setScript(eventTwo))
                                    )(else
                                        (if (== global402 2)
                                            (send global2:setScript(eventThree))
                                        )(else
                                            (if (== global402 3)
                                                (send global2:setScript(eventFour))
                                            )(else
                                                (send gOwner:
                                                    normalize()
                                                    x(110)
                                                    y(150)
                                                    actions(egoActions)
                                                    setScale()
                                                    scaleX(156)
                                                    scaleY(156)
                                                    noun(4)
                                                    init()
                                                )
                                                = local199[0] @local71
                                                = local199[1] @local79
                                                = local199[2] @local82
                                                = local199[3] @local86
                                                = local199[4] @local89
                                                (uhuraTell:init(ScriptID(34 1) @local71 @local199 @local92))
                                                (send (ScriptID(34 1)):
                                                    view(433)
                                                    loop(2)
                                                    cel(0)
                                                    x(192)
                                                    y(92)
                                                    setScale()
                                                    scaleX(156)
                                                    scaleY(156)
                                                    noun(2)
                                                    init()
                                                )
                                                (uhuraHead:
                                                    setScale()
                                                    scaleX(160)
                                                    scaleY(160)
                                                    init()
                                                )
                                                (simba:
                                                    setScale()
                                                    scaleX(156)
                                                    scaleY(156)
                                                    x(220)
                                                    y(94)
                                                    loop(5)
                                                    cel(1)
                                                    noun(5)
                                                    init()
                                                )
                                                proc0_3()
                                            )
                                        )
                                    )
                                )
                            )
                        )
                    )
                )
            )
        )
    )


    (method (doit param1)
        (if (GameIsRestarting() and (== (send gOwner:view) 40))
            = local2 1
        )(else
            (if ((self:script))
                0
            )(else
                (if ((send gOwner:mover) and (== (send gOwner:view) 40))
                    (if (IsObject((send gOwner:looper)))
                        (send ((send gOwner:looper)):dispose())
                    )
                    (send gOwner:
                        setMotion(0)
                        setScript(egoGetUp)
                    )
                )(else
                    (if ((< (send gOwner:x) 140) and (> (send gOwner:y) 155))
                        (if (== gGClientModNum 450)
                            (send global2:setScript(egoLeaves))
                        )(else
                            (send global2:setScript(exitRoom))
                        )
                    )
                )
            )
        )
        (if ((uhuraHead:cycler))
            0
        )(else
            (if ((== Random(1 200) 50) and (send gGQg3KDHandler:contains(uhuraHead)))
                (if (== (uhuraHead:cel) 0)
                    (uhuraHead:setCycle(End))
                )(else
                    (uhuraHead:setCycle(Beg))
                )
            )
        )
        (super:doit(rest param1))
    )


    (method (dispose)
        (send gQg3Walkers:delete(global2))
        (if ((uhuraHead:cycler))
            (send ((uhuraHead:cycler)):dispose())
        )
        (send gLongSong3:stop())
        UnLoad(128 425)
        UnLoad(128 433)
        proc958_0(0 34 35 949)
        (super:dispose())
    )


    (method (doVerb theVerb)
        (switch (theVerb)
            (case 74
                (self:setScript(goToBed))
            )
            (case 3
                (egoActions:doVerb(3))
            )
            (case 4
                (egoActions:doVerb(4))
            )
            (default 
                (super:doVerb(theVerb))
            )
        )
    )

)
(instance rakeeshTell of Teller
    (properties)

    (method (doVerb theVerb param2)
        (switch (theVerb)
            (case 2
                = local3 1
                ++local4
                (super:doVerb(theVerb rest param2))
            )
            (case 1
                = local3 1
                (super:doVerb(theVerb rest param2))
            )
            (default 
                (super:doVerb(theVerb rest param2))
            )
        )
    )

)
(instance uhuraTell of Teller
    (properties)

    (method (showDialog)
        (super:showDialog(-72 (< global453 3) 75 (< global453 3) 79 (== global362 0)))
    )


    (method (doChild)
        (if ((== query -74) or (== query -101))
            (send gOwner:solvePuzzle(268 2))
        )
        (if (== query -75)
            (send gOwner:solvePuzzle(268 2))
        )
        (if (== query -4)
            (send gOwner:solvePuzzle(267 2))
            return 1
        )
        return 
            (if ((== query -74) and (== global125 0))
                (super:doChild(query))
                = query -101
            )(else
                (if (< query 0)
                    (super:doChild(query))
                )
            )
    )


    (method (doVerb theVerb param2)
        (switch (theVerb)
            (case 2
                = local3 1
                ++local4
                (super:doVerb(theVerb rest param2))
            )
            (case 1
                = local3 1
                (super:doVerb(theVerb rest param2))
            )
            (default 
                (super:doVerb(theVerb rest param2))
            )
        )
    )

)
(instance egoActions of Teller
    (properties)

    (method (showDialog)
        (super:showDialog(-16 (== global402 1) 17 (== global402 1) 97 (<> global402 1) -43 (<> global402 1) 96 
            (if (((== global402 2) or (== global402 3)) or (== global402 4))
            )(else
                (== global402 6)
            )
 50 (== global402 5) 94 (== global402 7) 78 (== global402 8) 93 (== global402 9) 81 (== global402 10)))
    )


    (method (doChild)
        return 
            (switch (query)
                (case -16
                    (send gQg3Messager:say(4 5 16))
                    (send global2:setScript(egoLeaves))
                    return 0
                )
                (case -43
                    (send global2:setScript(goodNightEgo))
                    return 0
                )
            )
    )


    (method (doVerb theVerb)
        (switch (theVerb)
            (case 3
                (if ((send global2:script))
                    0
                )(else
                    (if (== (send gOwner:view) 40)
                        proc0_2()
                        = local0 (send ((User:curEvent)):x)
                        = local1 (send ((User:curEvent)):y)
                        (send global2:setScript(egoGetUp))
                    )
                )
            )
            (case 2
                (if (== gGClientModNum 450)
                    = local3 1
                )
                (super:doVerb(2))
            )
            (case 4
                (if (== gGClientModNum 450)
                    0
                )(else
                    (if ((send global2:script))
                        0
                    )(else
                        (if (== local2 1)
                            0
                        )(else
                            (send global2:setScript(sitDown))
                        )
                    )
                )
            )
            (default 
                (super:doVerb(theVerb))
            )
        )
    )

)
(instance simbaTeller of Teller
    (properties)
)
(instance goodNightEgo of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (send gQg3Messager:say(4 5 43 0 self))
            )
            (case 1
                (if (local2)
                    = local0 120
                    = local1 180
                    proc0_2()
                    (self:setScript(egoGetUp self))
                )(else
                    (send gOwner:setMotion(PolyPath 120 180 self))
                )
            )
            (case 2
                (send global2:newRoom(420))
            )
        )
    )

)
(instance goToBed of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                (send gQg3Messager:say(15 6 102 0 self))
            )
            (case 1
                (self:dispose())
            )
        )
    )

)
(instance eventTen of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    x(220)
                    y(94)
                    loop(5)
                    cel(1)
                    noun(5)
                    init()
                )
                = global402 10
                = local199[0] @local193
                (uhuraTell:init(ScriptID(34 1) @local193 @local199))
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 88 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventNine of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                = local62[0] @local56
                (simbaTeller:init(simba @local56 @local62))
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    noun(5)
                    init()
                )
                = global402 9
                = local199[0] @local188
                (uhuraTell:init(ScriptID(34 1) @local188 @local199))
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 84 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventEight of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                = local62[0] @local56
                (simbaTeller:init(simba @local56 @local62))
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    x(142)
                    y(105)
                    noun(5)
                    init()
                )
                = global402 8
                = local199[0] @local182
                (uhuraTell:init(ScriptID(34 1) @local182 @local199))
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 77 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventSeven of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    x(210)
                    y(94)
                    loop(5)
                    cel(1)
                    noun(5)
                    init()
                )
                = global402 7
                = local199[0] @local163
                = local199[1] @local169
                = local199[2] @local173
                (uhuraTell:init(ScriptID(34 1) @local163 @local199 @local178))
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 69 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventSix of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    x(210)
                    y(94)
                    loop(5)
                    cel(1)
                    noun(5)
                    init()
                )
                = local199[0] @local147
                = local199[1] @local152
                = local199[2] @local155
                (uhuraTell:init(ScriptID(34 1) @local147 @local199 @local159))
                ++global402
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 62 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventFive of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                = local62[0] @local56
                (simbaTeller:init(simba @local56 @local62))
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    noun(5)
                    init()
                )
                = global402 5
                = local199[0] @local127
                = local199[1] @local135
                = local199[2] @local139
                (uhuraTell:init(ScriptID(34 1) @local127 @local199 @local143))
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 52 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventFour of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    x(210)
                    y(94)
                    loop(5)
                    cel(1)
                    noun(5)
                    init()
                )
                = local199[0] @local113
                = local199[1] @local119
                (uhuraTell:init(ScriptID(34 1) @local113 @local199 @local124))
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 44 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventThree of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                = local62[0] @local56
                (simbaTeller:init(simba @local56 @local62))
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    noun(5)
                    init()
                )
                ++global402
                = local199[0] @local98
                = local199[1] @local106
                (uhuraTell:init(ScriptID(34 1) @local98 @local199 @local110))
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 36 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance eventTwo of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    x(210)
                    y(94)
                    loop(5)
                    cel(1)
                    noun(5)
                    init()
                )
                = local199[0] @local71
                = local199[1] @local79
                = local199[2] @local82
                = local199[3] @local86
                = local199[4] @local89
                (uhuraTell:init(ScriptID(34 1) @local71 @local199 @local92))
                ++global402
                (self:setScript(enterRoom self))
            )
            (case 1
                (send gQg3Messager:say(2 6 23 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance exitRoom of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (send gOwner:setMotion(PolyPath (send gOwner:x) (+ (send gOwner:y) 40) self))
            )
            (case 1
                (send global2:newRoom(420))
            )
        )
    )

)
(instance egoLeaves of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                proc0_12(gOwner ScriptID(34 1) self)
            )
            (case 1
                (send gQg3Messager:say(2 6 21 0 self))
            )
            (case 2
                (if ((uhuraHead:cycler))
                    (send ((uhuraHead:cycler)):dispose())
                )
                (send gGQg3KDHandler:eachElementDo(111))
                (send global2:drawPic(0 9))
                = cycles 3
            )
            (case 3
                (send gQg3Messager:say(6 6 14 0 self))
            )
            (case 4
                (send global2:newRoom(430))
            )
        )
    )

)
(instance uhuraSpeaks of Script
    (properties)

    (method (doit param1)
        (if ((== state 1) and not IsObject(gNewEventHandler))
            = cycles 1
        )
        (super:doit(rest param1))
    )


    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                proc0_12(gOwner ScriptID(34 1) self)
            )
            (case 1
                0
            )
            (case 2
                = cycles 18
            )
            (case 3
                (send gQg3Messager:say(2 6 22 0 self))
            )
            (case 4
                (if ((uhuraHead:cycler))
                    (send ((uhuraHead:cycler)):dispose())
                )
                (send gGQg3KDHandler:eachElementDo(111))
                (send global2:drawPic(0 9))
                = cycles 6
            )
            (case 5
                (send gQg3Messager:say(6 6 14 0 self))
            )
            (case 6
                (send global2:newRoom(430))
            )
        )
    )

)
(instance enterRoom of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                (send gOwner:
                    normalize()
                    x(110)
                    y(180)
                    actions(egoActions)
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    setMotion(PolyPath 110 150 self)
                    noun(4)
                    init()
                )
                (send (ScriptID(34 1)):
                    view(433)
                    loop(2)
                    cel(0)
                    x(192)
                    y(92)
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    noun(2)
                    init()
                )
                (uhuraHead:
                    setScale()
                    scaleX(160)
                    scaleY(160)
                    init()
                )
            )
            (case 1
                (self:dispose())
            )
        )
    )

)
(instance eventOne of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                = local49[0] @local22
                = local49[1] @local28
                = local49[2] @local31
                = local49[3] @local35
                = local49[4] @local40
                (rakeeshTell:init(ScriptID(35 1) @local22 @local49 @local43))
                (send (ScriptID(34 0)):
                    x(196)
                    y(10)
                    textX(-175)
                    textY(3)
                    talkWidth(140)
                )
                (if ((send gOwner:looper))
                    (send ((send gOwner:looper)):dispose())
                    (send gOwner:looper(0))
                )
                (send gOwner:
                    view(40)
                    setLoop(1)
                    x(240)
                    y(135)
                    setCycle(0)
                    setCel(255)
                    actions(egoActions)
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    init()
                    noun(4)
                )
                = local2 1
                (send (ScriptID(35 1)):
                    view(432)
                    setScale()
                    scaleX(128)
                    scaleY(128)
                    loop(3)
                    cel(0)
                    x(87)
                    y(105)
                    setPri(4)
                    noun(1)
                    ignoreActors(1)
                    signal(| (send (ScriptID(35 1)):signal) $1000)
                    init()
                    stopUpd()
                )
                = local62[0] @local56
                (simbaTeller:init(simba @local56 @local62))
                (simba:
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    x(109)
                    y(109)
                    setStep(2 1)
                    noun(5)
                    init()
                )
                = local199[0] @local64
                (uhuraTell:init(ScriptID(34 1) @local64 @local199))
                (send (ScriptID(34 1)):
                    view(433)
                    loop(2)
                    cel(0)
                    x(192)
                    y(92)
                    setScale()
                    scaleX(156)
                    scaleY(156)
                    noun(2)
                    init()
                )
                (uhuraHead:
                    setScale()
                    scaleX(160)
                    scaleY(160)
                    init()
                )
                (self:setScript(checkTime self))
            )
            (case 1
                (send gOwner:setScript(timeEgo))
                ++global402
                (send gQg3Messager:say(1 6 1 0 self))
            )
            (case 2
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance checkTime of Script
    (properties)

    (method (changeState newState)
        (var temp0)
        (switch (= state newState)
            (case 0
                = local6 GetTime()
                = cycles 1
            )
            (case 1
                = cycles 5
            )
            (case 2
                = temp0 GetTime()
                = local7 (- temp0 local6)
                = ticks 1
            )
            (case 3
                (self:dispose())
            )
        )
    )

)
(instance sitDown of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                (if ((send gOwner:looper))
                    (send ((send gOwner:looper)):dispose())
                    (send gOwner:looper(0))
                )
                (send gOwner:
                    view(40)
                    setLoop(
                        (if (>= (send gOwner:x) (send (ScriptID(34 1)):x))
                            1
                        )(else
                            0
                        )
)
                    setCycle(End self)
                )
                = local2 1
                = local3 local2
            )
            (case 1
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance egoGetUp of Script
    (properties)

    (method (changeState newState)
        (switch (= state newState)
            (case 0
                proc0_2()
                = local3 1
                (send gOwner:
                    setCel((send gOwner:lastCel()))
                    setCycle(Beg self)
                )
            )
            (case 1
                = local2 0
                proc0_3()
                (send gOwner:
                    view(0)
                    normalize()
                    setMotion(PolyPath local0 local1)
                )
                proc0_3()
                (self:dispose())
            )
        )
    )

)
(instance timeEgo of Script
    (properties)

    (method (doit)
        (if ((send gOwner:mover) or local3)
            (if (>= local4 10)
                = local3 0
                = cycles 1
            )(else
                = local3 0
                = cycles localproc_15d0(10)
            )
        )
        (super:doit())
    )


    (method (changeState newState)
        (switch (= state newState)
            (case 0
                = cycles localproc_15d0(10)
            )
            (case 1
                (send global2:setScript(uhuraSpeaks))
            )
        )
    )

)
(instance firePlace of Feature
    (properties
        x 172
        y 140
        noun 9
        nsTop 132
        nsLeft 155
        nsBottom 149
        nsRight 189
        sightAngle 180
    )
)
(instance shield of Feature
    (properties
        x 235
        y 46
        noun 10
        nsTop 25
        nsLeft 223
        nsBottom 68
        nsRight 248
        sightAngle 180
    )
)
(instance pot of Feature
    (properties
        x 252
        y 147
        noun 11
        nsTop 136
        nsLeft 234
        nsBottom 159
        nsRight 270
        sightAngle 180
    )
)
(instance leftBench of Feature
    (properties
        x 85
        y 96
        nsTop 81
        nsLeft 31
        nsBottom 112
        nsRight 140
        sightAngle 180
    )
)
(instance rightBench of Feature
    (properties
        x 227
        y 90
        noun 13
        nsTop 81
        nsLeft 172
        nsBottom 114
        nsRight 283
        sightAngle 180
    )
)
(instance wallSkin of Feature
    (properties
        x 79
        y 51
        noun 14
        nsTop 25
        nsLeft 32
        nsBottom 77
        nsRight 127
        sightAngle 180
    )
)
(instance mat of Feature
    (properties
        x 87
        y 95
        noun 12
        sightAngle 40
        onMeCheck $0004
    )

    (method (doVerb theVerb)
        (switch (theVerb)
            (case 4
                (if ((send gOwner:script))
                    0
                )(else
                    (if (== global402 1)
                        0
                    )(else
                        (if (== (send gOwner:view) 40)
                            0
                        )(else
                            (send gOwner:setScript(sitDown))
                        )
                    )
                )
            )
            (default 
                (super:doVerb(theVerb))
            )
        )
    )

)
(instance uhuraHead of Prop
    (properties
        x 192
        y 64
        noun 2
        view 433
        signal $4000
        detailLevel 3
    )
)
(instance fire of Prop
    (properties
        x 171
        y 141
        noun 3
        view 423
        priority 15
        signal $4010
    )
)
(instance simba of Actor
    (properties
        x 189
        y 111
        noun 5
        view 425
        loop 4
        cel 3
        signal $2000
        detailLevel 3
    )
)
