puzzlescript
Version:
Play PuzzleScript games in your terminal!
638 lines (529 loc) • 6.29 kB
Plain Text
title Lights down
author Rosden Shadow [Mark Signorelli]
homepage rosden.itch.io
noaction
run_rules_on_level_Start
background_color #423D39
text_color #F2F2AA
again_interval 0.2
========
OBJECTS
========
Background
4F5B46 #423D39 (#E57ED5 #CC5285)
11111
11001
11011
10011
11111
(
00101
01110
11011
01111
10110)
(
11101
00101
11111
10100
10111)
light1
7E8763 #75725A (#E57ED5 #CC5285)
11111
11001
11011
10011
11111
light2
A0A677 #999771 black(#E57ED5 #CC5285)
11111
11001
11211
10011
11111
Target
black #B3B181
11111
10101
11011
10101
11111
nomove
FFEED9 #536673
.....
.000.
.010.
.000.
.....
Wall
FFEED9 #F2AACE #E57ED5 #845C7A #52465B
21112
22110
22221
23232
32323
overwall
FFEED9 #F2AACE #E57ED5 #845C7A #52465B
.....
.....
.....
10200
21120
Playerright
F2F2AA #E5C17E #7F7CA1 #705C84
.000.
11202
11313
11110
.1.1.
playerleft
F2F2AA #E5C17E #7F7CA1 #705C84
.000.
20211
31311
01111
.1.1.
Crate
F2F2AA #E5C17E #CC7A52 #736053
21100
21110
22110
32223
.333.
overcrate
F2F2AA #E5C17E #CC7A52 #736053
.....
.....
.....
.....
.000.
Crate2
D9FFDC #7EE58D #5C8466 #4F5B46
21100
21110
22110
32223
.333.
overcrate2
D9FFDC #7EE58D #5C8466 #4F5B46
.....
.....
.....
.....
.000.
Crate3
FFD9FC #E0AAF2 #705C84 #52465B
21100
21110
22110
32223
.333.
overcrate3
FFD9FC #E0AAF2 #705C84 #52465B
.....
.....
.....
.....
.000.
end
F2F2AA #E5C17E #CC7A52 #736053
21100
21110
22110
32223
.333.
endx
F2F2AA #E5C17E #CC7A52 #736053
21100
21110
22110
32223
.333.
cloner
E5C17E #DB7F55 #B32D2D #73342E
.100.
.210.
.221.
.332.
.....
swapcrate
Orange Yellow
00000
0...0
0...0
0...0
00000
swapwall
black
.....
.....
.....
.....
.....
thefloor
423D39
00000
00000
00000
00000
00000
thefloorx
423D39
00000
00000
00000
00000
00000
eend
423D39
00000
00000
00000
00000
00000
(
checkempty
black
.....
.....
.....
.....
.....
checkblock
black
.....
.....
.....
.....
.....
)
switcrate
black
.....
.....
.....
.....
.....
switcrate2
black
.....
.....
.....
.....
.....
arrow
black
.....
.....
.0.0.
.000.
..0..
arrow2
black
.....
.0.0.
.000.
..0..
.....
arrowx
black
.....
.....
.....
.....
.....
arrowx2
black
.....
.....
.....
.....
.....
cher
black
.....
.....
.....
.....
.....
chel
black
.....
.....
.....
.....
.....
cheu
black
.....
.....
.....
.....
.....
ched
black
.....
.....
.....
.....
.....
cher2
black
.....
.....
.....
.....
.....
chel2
black
.....
.....
.....
.....
.....
cheu2
black
.....
.....
.....
.....
.....
ched2
black
.....
.....
.....
.....
.....
winend
D9FFDC #7EE58D #5C8466 #4F5B46
1000.
21100
21110
22110
.2221
=======
LEGEND
=======
. = Background
= Wall
P = Playerright
* = Crate
@ = crate2
=Crate3
O = Target
n = nomove
a = arrow2 and wall
e=end
t = end and target and eend
w=end and winend
c=cloner
-=thefloor
x=thefloorx
feel=overwall or overcrate or overcrate2 or overcrate3
pushable=crate or cloner or swapcrate or switcrate or switcrate2 or crate2 or Crate3
win=crate or wall
theemx= crate
player=playerright or playerleft
blocker = wall or crate or nomove or player or arrow
arrowk = arrow or arrow2 or arrowx or arrowx2
light=light1 or light2 or Target
che=cher or chel or cheu or ched or cher2 or chel2 or cheu2 or ched2
=======
SOUNDS
=======
pushable MOVE 36772507
EndLevel 74089700
player MOVE 68988304
sfx0 52836103
sfx1 45427502
sfx2 29503700
sfx3 81951902
================
COLLISIONLAYERS
================
Background
cher
chel
cheu
ched
cher2
chel2
cheu2
ched2
light1
light2
Target
nomove
Player, Wall, pushable,swapwall,thefloor,thefloorx
arrow, arrow2, arrowx, arrowx2
winend
eend
end, endx
feel
======
RULES
======
[]
[]
player | pushable]->[> player | > pushable]
late left[crate2| ]->[crate2|chel]
late right[crate2| ]->[crate2|cher]
late up[crate2| ]->[crate2|cheu]
late down[crate2| ]->[crate2|ched]
late left[crate3| ]->[crate3|chel chel2]
late right[crate3| ]->[crate3|cher cher2]
late up[crate3| ]->[crate3|cheu cheu2]
late down[crate3| ]->[crate3|ched ched2]
(late[Crate2 | no light]->[Crate2 | light1]
late[Crate2 | light1]->[Crate2 | light2]
late[Crate2 | light2]->[Crate2 | target])
late [che no light]->[light1]
late [che light1 no light2]->[light2]
late [che light2 no target]->[target]
crate|Target]->[> crate|target] sfx2
[ left Playerright] -> [ left playerleft]
[ right Playerleft] -> [ right playerright]
[endx] ->[thefloor] sfx2
[end | thefloor]-> [endx |thefloor]
late up [wall| ]-> [wall|overwall]
late up [theemx| ]-> [theemx|overcrate]
late up [crate2| ]-> [crate2|overcrate2]
late up [crate3| ]-> [crate3|overcrate3]
late up [end| ]-> [end|overcrate]
late up [endx| ]-> [endx|overcrate]
[action player eend|]->[action player eend |crate Target]
again
(
[arrowx2]
[arrowx]
[arrow]
[arrow2])
==============
WINCONDITIONS
==============
all crate on target
some crate
=======
LEVELS
=======
message have all yellow on a target
message level 1 of 8
---------
######-
#.....##
.....@.#
..@....#
.......#
..*.@..#
.......#
...P...#
#.....##
######-
message level 2 of 8
---------
---------
########
.@...@.#
.......#
.......#
.......#
..*.@..#
...P...#
#.....##
######-
message level 3 of 8
---------
########
.......#
...@...#
.#####.#
...@...#
.#####.#
...@...#
..P.*..#
#.....##
######-
message level 4 of 8
---------
######-
#.@...##
.......#
....@..#
@......#
.....@.#
..*.*..#
...P...#
#.....##
######-
message level 5 of 8
---------
######-
#.....##
.......#
...%...#
.@.....#
.....@.#
..***..#
...P...#
#.....##
######-
message level 6 of 8
---------
######-
#.....##
..%.%..#
.......#
..@.@..#
.......#
.*****.#
...P*..#
#.....##
######-
message level 7 of 8
---------
######-
#.....##
..%.%..#
.#.#.#.#
...P...#
..#.#..#
...@...#
.*.*.*.#
#.....##
######-
message level 8 of 8
---------
########
.......#
..***..#
.@*.*@.#
...**..#
..%.%..#
..@.@..#
..%P%..#
.......#
########
(---------
######-
#.....##
.......#
.@@@@@.#
.......#
.......#
.*****.#
...P...#
#.....##
######-)
xxxxxxxxxxxxxx
-eeeeeeeeeeee-
eeeeeeeeeeeeee
eeeeeeeeeeeeee
wewewewwweweew
wewewetweewwew
weweweeweeweww
eweweewwweweew
eeeeeeeeeeeeee
eeeeeeeeeeeeee
-eeeeeeeeeeee-