Skip to content

Instantly share code, notes, and snippets.

@pancelor
Created May 1, 2022 02:33
Show Gist options
  • Save pancelor/a66e1deb6988e78331b08ebf83a826d2 to your computer and use it in GitHub Desktop.
Save pancelor/a66e1deb6988e78331b08ebf83a826d2 to your computer and use it in GitHub Desktop.
Crimes against Centauri R-9, with apologies to Corey Hardt (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Crimes against Centauri R-9, with apologies to Corey Hardt
text_color #FF0094
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Corner
BROWN DARKBROWN
00010
11111
01000
11111
00010
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
Target
darkblue darkblue
.....
.....
.0...
01111
.0...
Target2
darkblue darkblue
.0001
00001
00...
00001
.0001
Target3
darkblue darkgreen darkblue
10001
00101
01222
00101
10001
Fuser
darkgrey darkgreen
10111
00000
10111
00000
10111
Crate
#cccccc #555555 #FF001D
.....
.....
.0...
01111
.0...
Crate2
#555555 #ddd
.0001
00001
00...
00001
.0001
Crate2b
#FF001D #ddd
.0001
00001
00...
00001
.0001
Crate3
lightred #ddd #555555
.0001
00101
01222
00101
.0001
=======
LEGEND
=======
. = Background
# = Wall
X = Corner
P = Player
1 = Crate
2 = Crate2
3 = Crate3
@ = Crate and Target
A = Target
B = Target2
C = Target3
F = Fuser
=======
SOUNDS
=======
sfx0 46059908 (No)
sfx1 38596708 (Fuse)
sfx2 4374708 (Crate2)
sfx3 69319108 (Crate3)
Crate move 70017308
TitleScreen 16992908
StartLevel 31415908
================
COLLISIONLAYERS
================
Background
Target, Target2, Target3, Fuser
Player, Wall, Corner, Crate, Crate2, Crate2b, Crate3
======
RULES
======
(Move Basic Crates)
UP [ UP player | crate ] -> [ UP player | UP crate ]
DOWN [ DOWN player | crate ] -> [ DOWN player | DOWN crate ]
LEFT [ LEFT player | crate ] -> [ LEFT player | LEFT crate ]
(Fuse Crates)
[ > Player | Crate | Crate Fuser] -> [ | Player | Crate2] sfx1
[ > Player | Crate | Crate2b Fuser] -> [ | Player | Crate3] sfx1
[ > Player | Crate2b | Crate Fuser] -> [ | Player | Crate3] sfx1
(Change/Move Crate2)
[ action Player][Crate2] -> [ Player][Crate2b] sfx2
[ action Player][Crate2b target2] -> [ Player][Crate2 target2] sfx2
[ action Player][Crate2b no target2] -> [ Player][Crate2b no target2] sfx0
[ > Player][Crate2b] -> [ > Player][ > Crate2b]
(Crate2 Move Crate1)
[ > Player | Wall ] -> [stationary Player | Wall]
[ > Crate2b | stationary Player ] -> [ stationary Crate2b | stationary Player]
[ > Crate2b | Wall] -> [stationary Crate2b | Wall ]
[ LEFT Crate2b | Crate] -> [ LEFT Crate2b | LEFT Crate]
[ RIGHT Crate2b | Crate] -> [ RIGHT Crate2b | RIGHT Crate]
[ UP Crate2b | Crate] -> [ UP Crate2b | UP Crate]
[ DOWN Crate2b | Crate] -> [ DOWN Crate2b | DOWN Crate]
(Crate3 Move)
[ action Player | no wall no crate | ... | crate3 ] -> [ Player | crate3 | ... | ] sfx3
[ no wall no crate | action Player | crate3 ] -> [ crate3 | Player | ] sfx3
==============
WINCONDITIONS
==============
all Target on Crate
all Target2 on Crate2
all Target3 on Crate3
=======
LEVELS
=======
message Spear factory
X###X..
#B..#..
X##.#..
.#..#..
.#1.##X
.#.P..#
.#..1.#
.#F.##X
.X##X..
message Magnets!
X#####X
#.....#
#..#P.#
#..1.A#
#.#11.#
#F.#B.#
X#####X
message What's that? mysterious...
X####X...
#..1A###X
#C....1.#
#.PF1...#
#...####X
#1..F#...
X####X...
message The Grand Finale
X####X
##..C#
#..P.#
#.@..#
#3..##
X####X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment