(include "sci.sh")
(use "Main")
(use "Class_255_0")
(use "Game")
(script 27)



(instance public Room27 of Rm
    (properties
        picture 27
    )

    (method (init)
        = north 21
        = south 3
        = east 28
        = west 26
        = horizon 75
        = global101 0
        (if (global100)
            = picture 127
        )
        (send gEgo:
            view(2)
            xStep(2)
            yStep(1)
            init()
        )
        (super:init())
        (self:setRegions(507 518))
    )


    (method (handleEvent pEvent)
        (if ((send pEvent:claimed()))
            return 1
        )
        return 
            (if ((== (send pEvent:type()) 128) and ((Said('look/around') or Said('look/room')) or Said('look[<around][/!*]')))
                Print(Format(@global300 27 0 
                        (if (not global100)
                            "You hear birds chirping from the many trees."
                        )(else
                            " "
                        )
))
            )(else
                0
            )
    )

)
