/usr/share/games/trackballs/levels/castle4.scm is in trackballs-data 1.2.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | ;;; level castle4
;;; This level was designed for experienced trackballs players.
;;; Created by Attila Boros. 2006
;; If you couldn't go through the maze, you can find some help in the end of this file.
(day)
(snow 1.0)
(fog 0.0)
(set-track-name (_ "Ice and Glass"))
(set-author "Attila Boros")
;; Start
(set-start-position 5.5 5.5)
(cond
((= (difficulty) *easy*)
(start-time 480)
(add-modpill 27 26 *mod-extra-life* 10 0)
(diamond 5.5 29.5)
(diamond 30.0 23.0)
(diamond 40.5 38.5)
(diamond 42.5 31.5)
)
((= (difficulty) *normal*)
(start-time 360)
(add-modpill 27 26 *mod-extra-life* 10 0)
(diamond 30.0 23.0)
(diamond 40.5 38.5)
(diamond 42.5 31.5)
)
((= (difficulty) *hard*)
(start-time 300)
)
)
;; Goal
(add-goal 48 12 #f "")
;; Jump
(jump 1.0)
(set-cell-wall-colors 0 0 255 255 0 .1 .3 .9 .5)
(set-cell-wall-colors 0 0 255 255 1 .1 .3 .9 .5)
(set-cell-wall-colors 0 0 255 255 2 .1 .3 .9 .5)
(set-cell-wall-colors 0 0 255 255 3 .1 .3 .9 .5)
;; The Gate
;; Close the gate
(trigger 13.5 15.5 1.5 (lambda() (set-cell-heights 10 10 10 10 -2.5 -2.5 -2.5 -2.5 -2.5)))
;; Open the gate
(trigger 9 9 1.0 (lambda() (set-cell-heights 10 10 10 10 -8.0 -8.0 -8.0 -8.0 -8.0)))
;; Maze of PI
(trigger 8 32 3.0 (lambda() (fog 1.0)))
(trigger 38 35 1.0 (lambda() (fog 0.0)))
(trigger 5 5 1.0 (lambda() (fog 0.0)))
(sign (_ "Maze of PI") 1.0 50.0 -10.0 9 33)
(sign (_ "Secret stairs somewhere") 1.0 50.0 -10.0 10 39)
;; Stairs is appear
(trigger 11.5 73.5 1 (lambda()
(set-cell-heights 11 73 11 74 -7.5 -7.5 -7.5 -7.5 -7.5)
(set-cell-heights 10 73 10 74 -7.0 -7.0 -7.0 -7.0 -7.0)
(set-cell-heights 9 73 9 74 -6.5 -6.5 -6.5 -6.5 -6.5)
(set-cell-heights 8 73 8 74 -6.0 -6.0 -6.0 -6.0 -6.0)
(set-cell-heights 7 73 7 74 -5.5 -5.5 -5.5 -5.5 -5.5)
(set-cell-heights 6 73 6 74 -5.0 -5.0 -5.0 -5.0 -5.0)
(set-cell-heights 5 73 5 74 -4.5 -4.5 -4.5 -4.5 -4.5)
(set-cell-heights 5 75 5 75 -4.5 -4.5 -4.5 -4.5 -4.5)
(set-cell-heights 5 76 5 76 -4.0 -4.0 -4.0 -4.0 -4.0)
(set-cell-heights 5 77 5 77 -3.5 -3.5 -3.5 -3.5 -3.5)
(set-cell-heights 5 78 5 78 -3.0 -3.0 -3.0 -3.0 -3.0)
(set-cell-heights 5 79 5 79 -2.5 -2.5 -2.5 -2.5 -2.5)
(set-cell-heights 5 72 5 72 -4.5 -4.5 -4.5 -4.5 -4.5)
(set-cell-heights 5 71 5 71 -4.0 -4.0 -4.0 -4.0 -4.0)
(set-cell-heights 5 70 5 70 -3.5 -3.5 -3.5 -3.5 -3.5)
(set-cell-heights 5 69 5 69 -3.0 -3.0 -3.0 -3.0 -3.0)
(set-cell-heights 5 68 5 68 -2.5 -2.5 -2.5 -2.5 -2.5)
))
;; Stairs is disappear
(trigger 8 32 3.0 (lambda()
(set-cell-heights 11 73 11 74 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 10 73 10 74 -8.0 -8.0 -8.0 -8.0 -8.0)
(set-cell-heights 9 73 9 74 -8.0 -8.0 -8.0 -8.0 -8.0)
(set-cell-heights 8 73 8 74 -8.0 -8.0 -8.0 -8.0 -8.0)
(set-cell-heights 7 73 7 74 -8.0 -8.0 -8.0 -8.0 -8.0)
(set-cell-heights 6 73 6 74 -8.0 -8.0 -8.0 -8.0 -8.0)
(set-cell-heights 5 73 5 74 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 75 5 75 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 76 5 76 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 77 5 77 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 78 5 78 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 79 5 79 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 72 5 72 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 71 5 71 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 70 5 70 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 69 5 69 -2.0 -2.0 -2.0 -2.0 -2.0)
(set-cell-heights 5 68 5 68 -2.0 -2.0 -2.0 -2.0 -2.0)
))
(trigger-once 11 51 1.5 (lambda() (diamond 11 51)))
(trigger-once 16 41 1.5 (lambda() (diamond 16 41)))
;; If you are lost in maze of PI, try this:
;; Get the digits of PI after the decimal dot.
;; From the entrance of maze turn left by the next turn-out if the digit is uneven,
;; and turn right if the digit is even.
;; So you reach a dead-end. Go close to the wall in front of you and the secret stairs appear.
|