puzzlescript
Version:
Play PuzzleScript games in your terminal!
577 lines (471 loc) • 6.73 kB
Plain Text
title sticky
author Rosden Shadow [Mark Signorelli]
homepage rosden.itch.io
noaction
run_rules_on_level_Start
background_color #D9FFF8
text_color #E57ED5
again_interval 0.01
========
OBJECTS
========
Background
AAE0F2 #D9FFF8(#E57ED5 #CC5285)
11111
00101
11111
10100
11111
(
00101
01110
11011
01111
10110)
(
11101
00101
11111
10100
10111)
nomove
FFEED9 #536673
.....
.000.
.010.
.000.
.....
Target
F2AACE #E57ED5 #845C7A
.....
.000.
.1.0.
.110.
.....
Wall
F2F2AA #E5C17E #847A5C #5B5746
21110
22110
22221
23232
32323
overwall
F2F2AA #E5C17E #847A5C #5B5746
.....
.....
.....
10000
21100
Playerright
C1A2A5 #845C5C #5B4846 #423D39
.000.
11202
11313
11110
.1.1.
playerleft
C1A2A5 #845C5C #5B4846 #423D39
.000.
20211
31311
01111
.1.1.
Crate
FFD9E0 #F2AACE #E57ED5 #845C7A
21100
21110
22110
32223
.333.
overcrate
FFD9E0 #F2AACE #E57ED5 #845C7A
.....
.....
.....
.....
.000.
end
FFD9E0 #F2AACE #E57ED5 #845C7A
21100
21110
22110
32223
.333.
endx
FFD9E0 #F2AACE #E57ED5 #845C7A
21100
21110
22110
32223
.333.
Crate2
C1A2A5 #845C5C #5B4846 #423D39
21100
21110
22110
32223
.333.
overcrate2
C1A2A5 #845C5C #5B4846 #423D39
.....
.....
.....
.....
.000.
cloner
C1A2A5 #845C5C #5B4846 #423D39
.100.
.210.
.221.
.332.
.....
swapcrate
Orange Yellow
00000
0...0
0...0
0...0
00000
swapwall
black
.....
.....
.....
.....
.....
thefloor
D9FFF8
00000
00000
00000
00000
00000
thefloorx
D9FFF8
00000
00000
00000
00000
00000
eend
D9FFF8
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
.....
.....
.....
.....
.....
noshift
black
.....
.....
.....
.....
.....
themove
black
.....
.....
.....
.....
.....
themover
black
.....
.....
.....
.....
.....
theupshift
black
.....
.....
.....
.....
.....
thedownshift
black
.....
.....
.....
.....
.....
theleftshift
black
.....
.....
.....
.....
.....
therightshift
black
.....
.....
.....
.....
.....
winend
F2F2AA #E5C17E #847A5C
1000.
21100
21110
22110
.2221
=======
LEGEND
=======
. = Background
= Wall
P = Playerright
* = Crate
@ = crate2
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
pushable=crate or cloner or swapcrate or switcrate or switcrate2 or crate2
win=crate or wall
theemx= crate
player=playerright or playerleft
blocker = wall or nomove or player or arrow or crate2
arrowk = arrow or arrow2 or arrowx or arrowx2
theshift=thedownshift or theupshift or theleftshift or therightshift
=======
SOUNDS
=======
crate MOVE 36772507
crate2 MOVE 83158707
EndLevel 74089700
player MOVE 68988304
sfx0 52836103
sfx1 45427502
sfx2 29503700
sfx3 81951902
================
COLLISIONLAYERS
================
Background
Target
nomove
themove
themover
theshift
noshift
Player, Wall, pushable,swapwall,thefloor,thefloorx
arrow, arrow2, arrowx, arrowx2
winend
eend
end, endx
feel
======
RULES
======
[]
[]
[]
player|wall]-> [> player|wall noshift]
player|crate2|blocker]-> [> player|crate2|blocker noshift]
player|crate2|crate]-> [> player|crate2|crate noshift]
player|crate| blocker]-> [> player|crate| blocker noshift]
player|crate| crate| blocker]-> [> player|crate| crate|blocker noshift]
player|crate| crate| crate| blocker]-> [> player|crate| crate| crate| blocker noshift]
player|crate| crate| crate| crate|blocker]-> [> player|crate| crate| crate| crate|blocker noshift]
player|crate| crate| crate| crate| crate|blocker]-> [> player|crate| crate| crate| crate| crate|blocker noshift]
player|crate| crate| crate| crate| crate| crate|blocker]-> [> player|crate| crate| crate| crate| crate| crate| blocker noshift]
[noshift| ]->[noshift| noshift]
[up player]->[up player theupshift]
[down player]->[down player thedownshift]
[left player]->[left player theleftshift]
[right player]->[right player therightshift]
[theupshift| ]->[theupshift|theupshift]
[thedownshift| ]->[thedownshift|thedownshift]
[therightshift| ]->[therightshift|therightshift]
[theleftshift| ]->[theleftshift|theleftshift]
player|crate no noshift]-> [> player|> crate > themove]
[< player|crate no noshift]-> [< player|< crate < themove]
[^ player|crate no noshift]-> [^ player|^ crate ^ themove]
[v player|crate no noshift]-> [v player|v crate v themove]
[themove|crate]->[themove|crate themove]
[crate themove theupshift]->[up crate]
[crate themove thedownshift]->[down crate]
[crate themove theleftshift]->[left crate]
[crate themove therightshift]->[right crate]
(
crate|crate no noshift]-> [> crate|> crate]
[< crate|crate no noshift]-> [< crate|< crate]
[^ crate|crate no noshift]-> [^ crate|^ crate]
[v crate|crate no noshift]-> [v crate|v crate]
)
player|crate2 no noshift]-> [> player|> crate2]
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 [end| ]-> [end|overcrate]
late up [endx| ]-> [endx|overcrate]
[action player eend|]->[action player eend |crate Target]
again
(
[arrowx2]
[arrowx]
[arrow]
[arrow2])
==============
WINCONDITIONS
==============
all Target on crate
=======
LEVELS
=======
message have a cube on all targets
message level 1 of 6
---------
########
..#.#..#
...O...#
..#.#..#
..###..#
.......#
...*...#
.......#
...P...#
########
message level 2 of 6
---------
########
...*...#
.O.#.O.#
...#...#
.......#
.*...*.#
.......#
.......#
...P...#
########
message level 3 of 6
---------
########
.......#
.O...O.#
.......#
#.*.*.##
.#.....#.
#..@..##
.......#
...P...#
########
message level 4 of 6
---------
########
#.....##
.***...#
.*#*OOO#
.*.*O.O#
.***O.O#
....OOO#
.......#
#..P..##
########
message level 5 of 6
---------
########
..OOO..#
..OOO..#
#.....##
##P###-
###.####
.......#
..***..#
#.***.##
######-
message level 6 of 6
---------
######-
#..#..##
..*.*..#
.O...O.#
...@...#
.O...O.#
..*.*..#
.......#
#..P..##
######-
xxxxxxxxxxxxxx
-eeeeeeeeeeee-
wewewewwweweew
wewewetweewwew
weweweeweeweww
eweweewwweweew
eeeeeeeeeeeeee
eeeeeeweweeeee
eeeeweeeeeweee
eeeeeweeeweeee
-eeeeewwweeee-