Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2014 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/8338946 to your computer and use it in GitHub Desktop.
Save anonymous/8338946 to your computer and use it in GitHub Desktop.
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title SHELL CASE
author arrogant.gamer
homepage www.arrogantgamer.com
========
OBJECTS
========
( Floor Colour: #443333 )
( Lowered Wall: #888888 )
target
#443333 yellow
10001
00000
00000
00000
10001
OpenCrate
#222222 darkgrey green lightgreen
10.01
0...0
.....
0...0
10.01
Crate
#222222 darkgrey green lightgreen
10001
02220
02320
02220
10001
A_FrameRider
green red lightgreen yellow darkred
34113
10001
10204
10001
31143
B_FrameRider
green blue lightgreen yellow darkblue
31413
10001
10201
40001
31113
A_Frame
darkgrey red darkred
02.10
1...1
.....
1...1
01.20
B_Frame
darkgrey blue darkblue
01.10
1...1
.....
2...1
01.10
( EW -- east west )
( NS -- east west )
EW_Wall
grey darkgrey
00000
00000
00000
00000
11111
NS_Wall
grey darkgrey
00000
00000
00000
00000
00000
EW_Cracked_wall
grey darkgrey
00.00
0...0
..0..
00..0
.0.00
NS_Cracked_wall
grey darkgrey
00.00
...0.
.0...
0..00
00.00
A_Raised_EW
gray darkgrey
00000
00000
00000
00000
11111
A_Lowered_EW
#888888 #443333
11111
00000
00000
00000
00000
B_Raised_EW
gray darkgrey
00000
00000
00000
00000
11111
B_Lowered_EW
#888888 #443333
11111
00000
00000
00000
00000
A_Raised_NS
gray
00000
00000
00000
00000
00000
A_Lowered_NS
#888888 darkgrey
11111
00000
00000
00000
00000
B_Raised_NS
gray
00000
00000
00000
00000
00000
B_Lowered_NS
#888888 darkgrey
11111
00000
00000
00000
00000
Floor
#443333
00000
00000
00000
00000
00000
collected
lightgreen green
.....
.111.
.101.
.111.
.....
5
lightgreen green
....1
.11..
1001.
.1.1.
...1.
8
lightgreen green
.101.
..11.
.1.1.
.....
.....
4
lightgreen green
.....
1....
01...
011..
1....
6
lightgreen green
.....
....1
..110
.1.10
....1
2
lightgreen green
.....
.....
..1..
.101.
1.011
7
lightgreen green
011.1
1.1..
11...
.....
.....
9
lightgreen green
.1.10
..110
...11
.1...
.....
3
lightgreen green
.....
.....
1..1.
.1101
..110
1
lightgreen green
.....
.1...
1....
111..
0111.
Player
white
.....
.....
.....
.....
=======
LEGEND
=======
( basic stuff)
p = Player and EW_wall
Background = Floor
. = Floor
o = collected (the player starts here)
( horizontal walls )
# = EW_Wall
: = EW_Cracked_wall
% = NS_Cracked_wall
- = A_Raised_EW
_ = A_lowered_EW
& = B_Raised_EW
~ = B_lowered_EW
( vertical walls )
| = NS_Wall
[ = A_Raised_NS
] = A_lowered_NS
{ = B_Raised_NS
} = B_lowered_NS
( frames )
@ = A_Frame
B = B_Frame
( objects )
c = crate
( target )
x = target
( aggregates )
Passage = NS_Cracked_wall or EW_Cracked_Wall
Wall = NS_Wall or EW_Wall
Frame = A_Frame or B_Frame
FrameRider = A_FrameRider or B_FrameRider
Rider = collected
Mover = 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9
A_Raised = A_raised_EW or A_raised_NS
B_Raised = B_raised_EW or B_raised_NS
A_lowered = A_lowered_EW or A_lowered_NS
B_lowered = B_lowered_EW or B_lowered_NS
Toggleable = A_raised or B_raised or A_lowered or B_lowered
Barrier = wall or A_raised or B_raised or crate
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Floor, A_Lowered_NS, B_Lowered_NS, A_Lowered_EW, B_Lowered_EW, target
Player, 5, 4, 6, 8, 2, 7, 9, 3, 1, collected
NS_Wall, EW_Wall, A_Raised_NS, B_Raised_NS, A_Raised_EW, B_Raised_EW, Frame, FrameRider, crate, opencrate
NS_Cracked_wall, EW_Cracked_wall
======
RULES
======
( delayed win condition )
[ action player ] [ openCrate ] -> [ player ] [ openCrate ] win
[ > player ] [ openCrate ] -> [ player ] [ openCrate ] win
( movement for frame riders )
[> player] [ FrameRider ] -> [ player ] [> FrameRider]
( movement of the goo )
[> player] [ collected ] -> [ player ] [> collected ]
[> Player] [5] -> [Player] [> 5]
[> Player] [8] -> [Player] [> 8]
[> Player] [2] -> [Player] [> 2]
[> Player] [4] -> [Player] [> 4]
[> Player] [6] -> [Player] [> 6]
[> Player] [7] -> [Player] [> 7]
[> Player] [9] -> [Player] [> 9]
[> Player] [1] -> [Player] [> 1]
[> Player] [3] -> [Player] [> 3]
( center to edges )
UP [> collected] -> [8]
DOWN [> collected] -> [2]
LEFT [> collected] -> [4]
RIGHT [> collected] -> [6]
UP [> 5] -> [8]
DOWN [> 5] -> [2]
LEFT [> 5] -> [4]
RIGHT [> 5] -> [6]
( edges to center )
DOWN [> 8] -> [5]
UP [> 2] -> [5]
LEFT [> 6] -> [5]
RIGHT [> 4] -> [5]
( getting the goo into the frame feels goooood )
late [5 frame] -> [ collected frame ]
( center to corners )
LEFT [> 8] -> [7]
RIGHT [> 8] -> [9]
LEFT [> 2] -> [1]
RIGHT [> 2] -> [3]
UP [> 4] -> [7]
DOWN [> 4] -> [1]
UP [> 6] -> [9]
DOWN [> 6] -> [3]
( corners to center )
LEFT [> 9] -> [8]
RIGHT [> 7] -> [8]
LEFT [> 3] -> [2]
RIGHT [> 1] -> [2]
UP [> 1] -> [4]
DOWN [> 7] -> [4]
UP [> 3] -> [6]
DOWN [> 9] -> [6]
( can't move through barriers d'uh )
[> Mover | Barrier ] -> [ Mover | Barrier ]
[> frameRider | Passage ] -> [ frameRider | Passage ]
(exit from edges )
DOWN [> 2| no wall ] -> [|8 ]
UP [> 8| no wall ] -> [|2 ]
LEFT [> 4| no wall ] -> [|6 ]
RIGHT [> 6| no wall ] -> [|4 ]
(exit from corners )
UP [> 7| no wall ] -> [|1]
LEFT [> 7| no wall ] -> [|9]
UP [> 9| no wall ] -> [|3]
RIGHT [> 9| no wall ] -> [|7]
DOWN [> 3| no wall ] -> [|9]
RIGHT [> 3| no wall ] -> [|1]
DOWN [> 1| no wall ] -> [|7]
LEFT [> 1| no wall ] -> [|3]
( mounting and dismounting )
[action player] [ rider a_frame ] -> [player] [ action a_frameRider ]
[action player] [ rider b_frame ] -> [player] [ action b_frameRider ]
[action player] [ a_frameRider ] -> [player] [ action collected a_frame ]
[action player] [ b_frameRider ] -> [player] [ action collected b_frame ]
( upon mounting or dismounting, barriers toggle )
( A_Frame rider )
[ toggleable ] -> [ action toggleable ]
[ action A_frameRider ] [ action A_raised_EW ] -> [ action A_frameRider] [ A_lowered_EW ]
[ action A_frameRider ] [ action A_raised_NS ] -> [ action A_frameRider] [ A_lowered_NS ]
[ action A_frameRider ] [ action A_lowered_EW no crate no frame ] -> [ action A_frameRider ] [ A_raised_EW ]
[ action A_frameRider ] [ action A_lowered_NS no crate no frame ] -> [ action A_frameRider ] [ A_raised_NS ]
[ action rider A_frame ] [ action A_raised_EW ] -> [ action rider A_frame ] [ A_lowered_EW ]
[ action rider A_frame ] [ action A_raised_NS ] -> [ action rider A_frame] [ A_lowered_NS ]
[ action rider A_frame ] [ action A_lowered_EW no crate no frame ] -> [ action rider A_frame ] [ A_raised_EW ]
[ action rider A_frame ] [ action A_lowered_NS no crate no frame ] -> [ action rider A_frame ] [ A_raised_NS ]
( B_Frame rider )
[ action B_frameRider ] [ B_raised_EW ] -> [ action B_frameRider] [ B_lowered_EW ]
[ action B_frameRider ] [ B_raised_NS ] -> [ action B_frameRider] [ B_lowered_NS ]
[ action rider B_frame ] [ B_lowered_EW no crate no frame ] -> [ action rider B_frame ] [ B_raised_EW ]
[ action rider B_frame ] [ B_lowered_NS no crate no frame ] -> [ action rider B_frame ] [ B_raised_NS ]
( frames can push crates )
[ > frameRider | crate ] -> [ > frameRider | > crate ]
[ > frameRider | frame ] -> [ > frameRider | > frame ]
( victory )
late [ crate target ] -> [ opencrate 5 target ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
message "Formless ooze cannot a crate push,
message and formless ooze are you."
...x...
.......
##...#p
...c...
...o...
...@...
...x...
.......
##---#p
...c...
...o...
.B...@.
..c....x.
.........
##-####p#
.........
.........
######&##
...B.@.o.
.........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment