Created
September 26, 2022 13:02
-
-
Save Stingby12/2aec580551f2792f1f7e9862d3e3676f to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Infecting crates | |
author Stingby12 | |
homepage https://stingby12.itch.io/ | |
text_color LightBlue | |
background_color #397D85 | |
key_repeat_interval 0.20 | |
run_rules_on_level_start | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGREEN GREEN | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Target | |
darkblue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player1 | |
Black Orange White Blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Player2 | |
Black Orange Yellow Red | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
AutoWin | |
transparent | |
AutoWinPlus | |
transparent | |
Ambient | |
Yellow | |
PushCrate | |
Orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
PullCrate | |
Pink | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
IceCrate | |
Lightblue | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
UpShift | |
transparent | |
..... | |
..0.. | |
.0.0. | |
..... | |
..... | |
DownShift | |
transparent | |
..... | |
..... | |
.0.0. | |
..0.. | |
..... | |
LeftShift | |
transparent | |
..... | |
..0.. | |
.0... | |
..0.. | |
..... | |
RightShift | |
transparent | |
..... | |
..0.. | |
...0. | |
..0.. | |
..... | |
TrailCrate | |
gray | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
TrailBlocker | |
gray darkgray | |
11111 | |
10101 | |
11011 | |
10101 | |
11111 | |
TrailProto | |
transparent | |
..... | |
.0.0. | |
..0.. | |
.0.0. | |
..... | |
PullWall | |
BROWN DARKBROWN Pink | |
20212 | |
12121 | |
21002 | |
12121 | |
20212 | |
IceWall | |
BROWN DARKBROWN Lightblue | |
20212 | |
12121 | |
21002 | |
12121 | |
20212 | |
TrailWall | |
BROWN DARKBROWN gray | |
20212 | |
12121 | |
21002 | |
12121 | |
20212 | |
TempPull | |
transparent | |
TempIce | |
transparent | |
TempTrail | |
transparent | |
PsPlCrate | |
Orange Pink | |
01010 | |
1...1 | |
0...0 | |
1...1 | |
01010 | |
PsICrate | |
Orange Lightblue | |
01010 | |
1...1 | |
0...0 | |
1...1 | |
01010 | |
PsTCrate | |
Orange gray | |
01010 | |
1...1 | |
0...0 | |
1...1 | |
01010 | |
======= | |
LEGEND | |
======= | |
Player = Player1 or Player2 | |
Walls = Wall or PullWall or IceWall or TrailWall | |
PushCrates = PushCrate or PsPlCrate or PsICrate or PsTCrate | |
Crate = PushCrates or PullCrate or IceCrate or TrailCrate | |
. = Background | |
# = Wall | |
1 = PullWall | |
2 = IceWall | |
3 = TrailWall | |
P = Player1 | |
Q = Player2 | |
% = Player1 and Target | |
& = Player2 and Target | |
* = PushCrate | |
@ = PushCrate and Target | |
+ = PullCrate | |
$ = PullCrate and Target | |
/ = IceCrate | |
£ = IceCrate and Target | |
° = TrailCrate | |
§ = TrailCrate and Target | |
o = Target | |
X = AutoWin | |
Y = AutoWinPlus | |
¤ = Ambient | |
Shift = UpShift or DownShift or LeftShift or RightShift | |
Block = Crate or Player or Walls or TrailBlocker | |
Temp = TempPull or TempIce or TempTrail | |
======= | |
SOUNDS | |
======= | |
startgame 92244503 | |
endlevel 83744503 | |
closemessage 27371506 | |
PushCrate move 36772507 | |
PullCrate move 48300107 | |
IceCrate move 36772507 | |
TrailCrate move 36772507 | |
PsPlCrate move 48300107 | |
PsICrate move 36772507 | |
PsTCrate move 36772507 | |
TrailBlocker create 71325704 | |
sfx0 10901303 (ice move) | |
sfx1 65420502 (can't go) | |
sfx2 70977108 (pull power) | |
sfx3 49887103 (ice power) | |
sfx4 57316302 (trail power) | |
sfx10 65765308 (ambient) | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
TrailBlocker | |
TrailProto | |
Target | |
Player, Walls, Crate | |
TempPull | |
TempIce | |
TempTrail | |
Shift | |
AutoWin, AutoWinPlus | |
Ambient | |
====== | |
RULES | |
====== | |
[ Temp ] [ > Player ] -> [ ] [ > Player ] | |
(pull) | |
[ > Player | PushCrate ] -> [ > Player | > PushCrate ] | |
[ < Player | PullCrate ] -> [ < Player | < PullCrate ] | |
[ < Player | PsPlCrate ] -> [ < Player | < PsPlCrate ] | |
(ice) | |
up [ > Player | IceCrate | no Block ] -> [ > Player | > IceCrate > UpShift | ] again sfx0 | |
down [ > Player | IceCrate | no Block ] -> [ > Player | > IceCrate > DownShift | ] again sfx0 | |
left [ > Player | IceCrate | no Block ] -> [ > Player | > IceCrate > LeftShift | ] again sfx0 | |
right [ > Player | IceCrate | no Block ] -> [ > Player | > IceCrate > RightShift | ] again sfx0 | |
up [ > Player | PsICrate | no Block ] -> [ > Player | > PsICrate > UpShift | ] again sfx0 | |
down [ > Player | PsICrate | no Block ] -> [ > Player | > PsICrate > DownShift | ] again sfx0 | |
left [ > Player | PsICrate | no Block ] -> [ > Player | > PsICrate > LeftShift | ] again sfx0 | |
right [ > Player | PsICrate | no Block ] -> [ > Player | > PsICrate > RightShift | ] again sfx0 | |
[ > Player | IceCrate | TrailBlocker ] -> [ > Player | IceCrate | TrailBlocker ] sfx1 | |
[ > Player | PsICrate | TrailBlocker ] -> [ > Player | PsICrate | TrailBlocker ] sfx1 | |
[ IceCrate UpShift ] -> [ up IceCrate up UpShift ] again sfx0 | |
[ IceCrate DownShift ] -> [ down IceCrate down DownShift ] again sfx0 | |
[ IceCrate LeftShift ] -> [ left IceCrate left LeftShift ] again sfx0 | |
[ IceCrate RightShift ] -> [ right IceCrate right RightShift] again sfx0 | |
[ PsICrate UpShift ] -> [ up PsICrate up UpShift ] again sfx0 | |
[ PsICrate DownShift ] -> [ down PsICrate down DownShift ] again sfx0 | |
[ PsICrate LeftShift ] -> [ left PsICrate left LeftShift ] again sfx0 | |
[ PsICrate RightShift ] -> [ right PsICrate right RightShift] again sfx0 | |
(trail) | |
[ > Player | TrailCrate ] -> [ > Player | > TrailCrate ] | |
[ > Player | PsTCrate ] -> [ > Player | > PsTCrate ] | |
late [ TrailCrate ] -> [ TrailCrate TrailProto ] | |
late [ PsTCrate ] -> [ PsTCrate TrailProto ] | |
(infect) | |
late [ PushCrate TempPull no TempIce no TempTrail ] -> [ PsPlCrate ] sfx2 | |
+ late [ PushCrate TempIce no TempTrail no TempPull ] -> [ PsICrate ] sfx3 | |
+ late [ PushCrate TempTrail no TempPull no TempIce ] -> [ PsTCrate ] sfx4 | |
late [ PushCrate | PullWall ] -> [ PushCrate TempPull | PullWall ] again | |
late [ PushCrate | PullCrate ] -> [ PushCrate TempPull | PullCrate ] again | |
late [ PushCrate | IceWall ] -> [ PushCrate TempIce | IceWall ] again | |
late [ PushCrate | IceCrate ] -> [ PushCrate TempIce | IceCrate ] again | |
late [ PushCrate | TrailWall ] -> [ PushCrate TempTrail | TrailWall ] again | |
late [ PushCrate | TrailCrate ] -> [ PushCrate TempTrail | TrailCrate ] again | |
(block) | |
late up [ UpShift | Block ] -> [ | Block ] | |
late down [ DownShift | Block ] -> [ | Block ] | |
late left [ LeftShift | Block ] -> [ | Block ] | |
late right [ RightShift | Block ] -> [ | Block ] | |
late [ TrailProto no TrailCrate no PsTCrate ] -> [ TrailBlocker ] | |
[ > Crate | TrailBlocker ] -> [ Crate | TrailBlocker ] sfx1 | |
============== | |
WINCONDITIONS | |
============== | |
all Target on Crate | |
Some Target | |
======= | |
LEVELS | |
======= | |
message We need to stop these crates from spreading further. | |
........... | |
..########. | |
.##..##..#. | |
.#.o@..*.#. | |
.#.o.##*p#. | |
.#.......#. | |
.#########. | |
........... | |
message I hope it's not too late... | |
message -- ACT 1 -- | |
message -- Level 1 of 5 -- | |
......... | |
..#####.. | |
.##.p.##. | |
.#..#..#. | |
.#.o$o.#. | |
.#..+..#. | |
.##.+.##. | |
..#####.. | |
......... | |
message I never thought those pink crates could be so deadly. | |
message -- Level 2 of 5 -- | |
........... | |
..#######.. | |
..#.....#.. | |
..#+.o.+#.. | |
..#.o.o.#.. | |
.##+o.o+##. | |
.#.+.o.+.#. | |
.#.p.#...#. | |
.#########. | |
........... | |
message This must be the ice crate the other talked about. | |
message That means the other one must not be far away. | |
message -- Level 3 of 5 -- | |
.......... | |
...#####.. | |
.###o..#.. | |
.#./../##. | |
.#.....o#. | |
.#o.....#. | |
.##/../.#. | |
..#p.o###. | |
..#####... | |
.......... | |
message Here is it. | |
message -- Level 4 of 5 -- | |
......... | |
..######. | |
.##..o.#. | |
.#.°.#.#. | |
.#.o...#. | |
.#..#°##. | |
.##.p.#.. | |
..#####.. | |
......... | |
message How did this happen ? | |
message -- Level 5 of 5 -- | |
........... | |
..####..... | |
..#..####.. | |
.##..°..#.. | |
.#..#.#.#.. | |
.#...°..#.. | |
.#o#....##. | |
.#o..°#..#. | |
.#o..p...#. | |
.#########. | |
........... | |
message I'm going to the other way to see if there is anything interesting here. | |
........... | |
..########. | |
.##q.##..#. | |
.#.*@..o.#. | |
.#.*.##o.#. | |
.#.......#. | |
.#########. | |
........... | |
message How did this pushable crate got here ? | |
message And why is there a pullable crate at the other side ? | |
message Don't tell me I have to... | |
......... | |
.#######. | |
.#..*..#. | |
.#.....#. | |
.#.oqo.#. | |
.#.....#. | |
.#..+..#. | |
.#######. | |
......... | |
message ...oh no... | |
message ...they evolved... | |
message -- ACT 2 -- | |
message -- Level 1 of 7 -- | |
........ | |
...####. | |
.###..#. | |
.#.*..#. | |
.#.oq+#. | |
.###.o#. | |
...#..#. | |
...####. | |
........ | |
message This is actually worse than I thought. | |
message -- Level 2 of 7 -- | |
........... | |
..####..... | |
..#..####.. | |
..#.o...##. | |
..#.#o...#. | |
.##@##/#q#. | |
.#.....#.#. | |
.#.#*....#. | |
.#....####. | |
.######.... | |
........... | |
message The crates are getting more and more powerful as the levels passes. | |
message I must warn the other one as fast as I can. | |
message -- Level 3 of 7 -- | |
.......... | |
.######... | |
.#..q.###. | |
.#..o...#. | |
.#o.*.@.#. | |
.##°#.###. | |
..#...#... | |
..#####... | |
.......... | |
message -- Level 4 of 7 -- | |
........... | |
...#####... | |
...#.o.#... | |
.###*o*###. | |
.#.+.&.+.#. | |
.#...o...#. | |
.#..##...#. | |
.#########. | |
........... | |
message What is this on the wall ?! | |
message Looks disgusting ! | |
message -- Level 5 of 7 -- | |
............. | |
.....######.. | |
.######.o.##. | |
.#...##*o..#. | |
.#.2....q*.#. | |
.#..*.#*o.##. | |
.##.#.#.o.#.. | |
..#...#####.. | |
..#####...... | |
............. | |
message Crates can now infect walls ?! | |
message This is very bad... | |
message -- Level 6 of 7 -- | |
............. | |
......####... | |
...##.#..###. | |
...#..#.o..#. | |
......#.o#.#. | |
.#####1.o#.#. | |
.#.q.*.*.*.#. | |
.#.#.#.#.###. | |
.#.......#... | |
.#########... | |
............. | |
message -- Level 7 of 7 -- | |
........... | |
...#####... | |
...#...#... | |
.##1.o.3##. | |
.#..*@*..#. | |
.#.o@q@o.#. | |
.#..*@*..#. | |
.##3.o.1##. | |
...#...#... | |
...#####... | |
........... | |
message The crates doesn't seems so bad so far. | |
......... | |
..#####.. | |
.##.+.##. | |
.#.o.o.#. | |
.#+.p.+#. | |
.#.o.o.#. | |
.##.+.##. | |
..#####.. | |
......... | |
message They are as the other player said and... | |
message What is that thing ? | |
message It looks like... | |
......... | |
..###3#.. | |
..3.p.#.. | |
..#°°°#.. | |
..#...#3. | |
.#3.o..#. | |
.#..o..#. | |
.3..o.##. | |
.##..#3.. | |
..#3##... | |
......... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment