UNPKG

puzzlescript

Version:

Play PuzzleScript games in your terminal!

1,112 lines (958 loc) 17.9 kB
title Garten der Medusen author Stephen Lavelle homepage www.increpare.com run_rules_on_level_start noaction again_interval 0.03 background_color black ======== OBJECTS ======== Background black blood darkred red ..0.. .010. 01110 .010. ..0.. Medussa_u 1 gray green ..1.. .111. .010. 00100 .0.0. Medussa_d 2 gray green ..... .010. .010. 01110 .010. Medussa_l 3 gray green ..... .100. 1111. 01000 .0.0. Medussa_r 4 gray green ..... .001. .1111 00010 .0.0. Wall gray darkgray 00010 11111 01000 11111 00010 Player yellow orange brown .000. .111. 11111 .222. .2.2. statue lightgray gray darkgray .000. .111. 11111 .222. .2.2. move_up transparent move_down transparent move_left transparent move_right transparent move_stop transparent T transparent Spawner blue .000. 00000 00000 00000 00000 light_h yellow ..... ..... .000. ..... ..... light_v yellow ..... ..0.. ..0.. ..0.. ..... dontspawn transparent ======= LEGEND ======= medussa = 1 or 2 or 3 or 4 obstacle = player or wall or medussa or statue . = Background # = Wall P = Player S = Spawner * = player and spawner token = move_up or move_down or move_left or move_right or move_stop light = light_h or light_v ======= SOUNDS ======= sfx1 77753704 (kill medusa) sfx2 22214502 (statue) ================ COLLISIONLAYERS ================ Background Spawner blood light_h light_v Player, Wall, Medussa, statue dontspawn T Token ====== RULES ====== random [ ] -> [ t ] [dontspawn]->[] [ player ] [ spawner ] -> [ player ] [ spawner dontspawn ] [ spawner no dontspawn ] [ token ] -> [ spawner no dontspawn ] [ ] [ spawner no dontspawn ] -> [ spawner player ] [ light ] -> [] [ up player ] [ T ] -> [ player ] [ T move_up ] [ down player ] [ T ] -> [ player ] [ T move_down ] [ left player ] [ T ] -> [ player ] [ T move_left ] [ right player ] [ T ] -> [ player ] [ T move_right ] [ move_up ] [ player ] -> [ move_up ] [ up player ] again [ move_down ] [ player ] -> [ move_down ] [ down player ] again [ move_left ] [ player ] -> [ move_left ] [ left player ] again [ move_right ] [ player ] -> [ move_right ] [ right player ] again [ > player | obstacle ] [ token ] -> [ > player | obstacle ] [ move_stop ] [ > Player | Medussa ] -> [ > player | blood ] sfx1 [ > player ] [ move_stop ] -> [ player ] [ move_stop ] [move_stop]->[] late [ t ] -> [ ] late up [ 1 | no obstacle ] -> [ 1 | light_v ] late down [ 2 | no obstacle ] -> [ 2 | light_v ] late left [ 3 | no obstacle ] -> [ 3 | light_h ] late right [ 4 | no obstacle ] -> [ 4 | light_h ] late horizontal [ light_h | no obstacle ] -> [ light_h | light_h ] late vertical [ light_v | no obstacle ] -> [ light_v | light_v ] late up [ 1 | player ] -> [ 1 | player light_h ] late down [ 2 | player ] -> [ 2 | player light_h ] late left [ 3 | player ] -> [ 3 | player light_h ] late right [ 4 | player ] -> [ 4 | player light_h ] late horizontal [ light_h | player ] -> [ light_h | player light_h ] late vertical [ light_v | player ] -> [ light_v | player light_v ] late [ player light ] -> [ statue light ] sfx2 again ============== WINCONDITIONS ============== No Medussa ======= LEVELS ======= message Level 1 von 8 ############# #...........# #...........# #...1.......# #..3....2...# #...........# #...........# #..3..p..4..# #...2.......# #...........# #...........# ############# message Level 2 von 8 ############# #...........# #...........# #...4.......# #...........# #...........# #.....p..2..# #...........# #..1........# #.......3...# #...........# #...........# ############# message Level 3 von 8 ############# #...........# #...........# #...4.......# #........2..# #...........# #.....*.....# #...........# #..1........# #.......3...# #...........# #...........# ############# message Level 4 von 8 ############ #....34....# #....34....# #..........# #.....*....# #..........# #..........# #.4......3.# #..........# ############ message Level 5 von 8 ############## #............# #..2.2.2.2...# #............# #............# #..........*.# #............# #............# #.1.1.1.1....# #............# ############## message Level 6 von 8 ############# #...........# #.4.........# #..2222.....# #...........# #...........# #........*..# #...........# #...........# #..1111.....# #.4.........# #...........# ############# message Level 7 von 8 ################### #.................# #.................# #.....4...........# #.....4...........# #.....4...........# #............222..# #.................# #.................# #........*........# #.................# #.................# #..111............# #...........3.....# #...........3.....# #...........3.....# #.................# #.................# ################### message Level 8 von 8 ############### #..........22.# #4............# #4............# #.............# #.............# #.............# #......*......# #.............# #.............# #.............# #............3# #............3# #.11..........# ############### message ich gratuliere! ( ################# #...............# #...........22..# #.4.............# #.4.............# #...............# #...............# #...............# #.......*.......# #...............# #...............# #...............# #.............3.# #.............3.# #..11...........# #...............# ################# ################# #...............# #...............# #....4..........# #....4..........# #...........22..# #...............# #...............# #.......*.......# #...............# #...............# #..11...........# #..........3....# #..........3....# #...............# #...............# ################# ################# #...............# #....4..........# #....4..........# #....4..........# #...........222.# #...............# #...............# #.......*.......# #...............# #...............# #.111...........# #..........3....# #..........3....# #..........3....# #...............# ################# ##################### #...................# #...................# #...................# #...................# #...................# #...................# #.................11# #.........*........2# #...................# #...................# #...................# #...................# #...................# #.1.................# #...................# ##################### ################### #.................# #.................# #....4............# #....4............# #............22...# #.................# #.................# #.......*.........# #.................# #.................# #..11.............# #...........3.....# #...........3.....# #.................# #.................# #.................# ################### ######## #......# #.4....# #..2...# #....*.# #..1...# #.4....# #......# ######## ########## #........# #.4......# #..2.....# #........# #.....*..# #........# #..1.....# #.4......# #........# ########## ######### #.......# #.2...2.# #..4.3..# #.......# #...*...# #.......# ######### ############# #...........# #.4.........# #..2........# #...........# #...........# #........*..# #...........# #...........# #..1........# #.4.........# #...........# ############# ############### #.............# #.4...........# #..2222.......# #.............# #.............# #...........*.# #.............# #.............# #..1111.......# #.4...........# #.............# ############### ############## #4...........# #.2222.......# #............# #............# #..........*.# #............# #............# #.1111.......# #4...........# ############## ##################### #...................# #..2.2.2.2..........# #...................# #...................# #...................# #...................# #...................# #..............*....# #...................# #...................# #...................# #...................# #...................# #.1.1.1.1...........# #...................# ##################### ##################### #...................# #.............2.....# #...................# #...................# #................3..# #...................# #...................# #.........*.........# #...................# #...................# #...4...............# #...................# #.....1.............# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #......4............# #.............2.....# #...................# #...................# #.........*.........# #...................# #...................# #.....1.............# #............3......# #...................# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #...................# #....4..............# #...................# #...................# #.........*.........# #...................# #...................# #...4...............# #...................# #.....1.............# #.............1.....# #...................# ##################### ############# #...........# #...........# #...1.......# #..4....2...# #...........# #...........# #..3..*..4..# #...2.......# #...........# #...........# ############# ############# #...........# #...........# #...1.......# #..3....2...# #...........# #...........# #..3..*..4..# #...2.......# #...........# #...........# ############# ############## #............# #............# #...4........# #............# #............# #............# #.........1..# #..*.........# #............# ############## ############## #............# #............# #..4.........# #............# #............# #..#.........# #.4..........# #..p......1..# #............# ############## ################### #.................# #.................# #.................# #.................# #.................# #.................# #............1....# #.......p.........# #.................# #.................# #.................# #.................# #.................# #.................# #.................# #.................# ################### ################### #.................# #.................# #.................# #.................# #.................# #.................# #............1....# #.......*.........# #.................# #.................# #.................# #.................# #.................# #.................# #.................# #.................# ################### ################### #.................# #.................# #.................# #.................# #.................# #.................# #............1....# #.......*.........# #.................# #.................# #...1.............# #...........3.....# #.................# #.................# #.................# #.................# ################### ################### #.................# #.................# #.................# #....4............# #............2....# #.................# #.................# #.......*.........# #.................# #.................# #...1.............# #...........3.....# #.................# #.................# #.................# #.................# ################### ################### #.................# #.................# #.................# #....2............# #.................# #.................# #.................# #.......*....2....# #.................# #.................# #...1.............# #..............3..# #.................# #.................# #.................# #.................# ################### ################### #.................# #.................# #.................# #....2............# #.................# #.................# #............2....# #.......*.........# #.................# #.................# #...1.............# #..............3..# #.................# #.................# #.................# #.................# ################### ################### #.................# #.................# #.................# #....2............# #............2....# #.................# #.................# #.......*.........# #.................# #.................# #...1.............# #...........3.....# #.................# #.................# #.................# #.................# ################### ##################### #...................# #...................# #...................# #...................# #...................# #...................# #...................# #.........*.........# #...................# #...................# #...................# #...................# #...................# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #.............2.....# #...................# #...................# #...................# #.........*.........# #...................# #...................# #...................# #.....1.............# #...................# #...................# #...................# ##################### ##################### #...................# #.............2.....# #...................# #...................# #...................# #...................# #...................# #.........*.........# #...................# #...................# #...................# #...................# #...................# #.....1.............# #...................# ##################### ##################### #...................# #.............22....# #...................# #...................# #...................# #...................# #...................# #.........*.........# #...................# #...................# #...................# #...................# #...................# #....11.............# #...................# ##################### ##################### #...................# #...................# #...................# #......4............# #.............2.....# #...................# #...................# #.........*.........# #...................# #...................# #.....1.............# #............3......# #...................# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #......4............# #.............2.....# #...................# #...................# #.........*.........# #...................# #...................# #.....1.............# #............3......# #...................# #...................# #...................# ##################### ##################### #...................# #...................# #.............2.....# #....4..............# #...................# #...................# #...................# #.........*.........# #...................# #...................# #...................# #..............3....# #.....1.............# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #.......1...........# #......3....2.......# #...................# #...................# #......3..p..4......# #...................# #...................# #...................# #...................# #...................# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #.......1...........# #......3....2.......# #...................# #...................# #......3..p..4......# #.......2...........# #...................# #...................# #...................# #...................# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #.......1...........# #......3....2.......# #...................# #...................# #......3..p..4......# #.......2...........# #...................# #...................# #...................# #...................# #...................# #...................# ##################### ##################### #...................# #...................# #...................# #.......1...........# #......3....2.......# #...................# #...................# #......3..p..4......# #.......2...........# #...................# #...................# #...................# #...................# #...................# #...................# ##################### ############ #....34....# #....34....# #..........# #..........# #.....*....# #..........# #..........# #.4......3.# #..........# ############ ############ #....34....# #....34....# #..........# #.....*....# #..........# #.4......3.# #..........# ############ ################### #.................# #.................# #....4............# #....4............# #............22...# #.................# #.................# #.......*.........# #.................# #.................# #..11.............# #.4...............# #.4...............# #.................# #.................# #.................# ################### ############### #.............# #.............# #...4.........# #.............# #.............# #.............# #......p...2..# #.............# #.............# #..1..........# #.........3...# #.............# #.............# ############### ################### #.................# #.................# #.................# #....4............# #.................# #.................# #.................# #.......p....2....# #.................# #.................# #...1.............# #...........3.....# #.................# #.................# #.................# #.................# ################### ################### #.................# #.................# #.................# #....4............# #............2....# #.................# #.................# #.......*.........# #.................# #.................# #...1.............# #...........3.....# #.................# #.................# #.................# #.................# ################### )