Created
December 6, 2022 03:54
-
-
Save quantumpotato/6b12bedf0ba8512f17b3f00a374dba76 to your computer and use it in GitHub Desktop.
Leaping Leprechaun (Puzzlescript Plus 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 https://auroriax.github.io/PuzzleScript/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 Leaping Leprechaun | |
author quantumpotato | |
homepage auroriax.github.io/PuzzleScript | |
tween_length 0.03 | |
smoothscreen 25x25 | |
level_select | |
runtime_metadata_twiddling | |
text_controls an adventure in teleportitis | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGRAY GRAY | |
11111 | |
11111 | |
11111 | |
11111 | |
11111 | |
Wall copy:Background | |
DARKGRAY BLACK | |
Player11 | |
green yellow black | |
00000 | |
00000 | |
00100 | |
00000 | |
00000 | |
Player21 | |
green yellow black | |
00000 | |
00000 | |
01020 | |
00000 | |
00000 | |
Player22 | |
green yellow black | |
00000 | |
00000 | |
01010 | |
00000 | |
00000 | |
Player33 | |
green yellow black | |
00000 | |
01010 | |
00000 | |
00100 | |
00000 | |
Player32 | |
green yellow black | |
00000 | |
01010 | |
00000 | |
00200 | |
00000 | |
Player31 | |
green yellow black | |
00000 | |
01020 | |
00000 | |
00200 | |
00000 | |
PlayerWalker | |
Blue | |
PlayerJumper | |
Green | |
PlayerGoal | |
White | |
Crate | |
Orange | |
CrateGoal | |
darkbrown | |
Fence | |
Red | |
River | |
Blue | |
( blue white ) | |
( 00100 ) | |
( 01010 ) | |
( 10001 ) | |
( 01010 ) | |
( 00100 ) | |
======= | |
LEGEND | |
======= | |
Player = Player11 or Player22 or Player33 or Player21 or Player32 or Player31 | |
. = Background | |
# = Wall | |
1 = Player11 | |
2 = Player22 | |
3 = Player33 | |
W = PlayerWalker | |
J = PlayerJumper | |
* = Crate | |
@ = Crate and CrateGoal | |
Z = Player11 and PlayerGoal | |
O = CrateGoal | |
G = PlayerGoal | |
F = Fence | |
R = River | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
PlayerGoal, CrateGoal | |
PlayerWalker, PlayerJumper, Fence, Player, Player11, Player22, Player33, Player21, Player31, Player32, Wall, River | |
Crate | |
====== | |
RULES | |
====== | |
(Wall Collisions) | |
[ > Player11 | Wall ] -> [ Player11 | Wall] | |
[ > Player22 | | Wall ] -> [ Player22 | | Wall ] | |
[ > Player33 | | | Wall ] -> [ Player33 | | | Wall] | |
[ > Player21 | Crate | Crate] -> [ Player21 | Crate | Crate ] | |
[ > Player32 | | Wall | Wall] -> [ Player32 | | Wall | Wall] | |
[ > Player11 | Crate | Wall] -> [ Player11 | Crate | Wall ] | |
[ > Player21 | Wall ] -> [ Player21 | Wall] | |
[ > Player31 | Wall ] -> [ Player31 | Wall] | |
(Crate blocked) | |
[ > Player31 | Crate | Crate ] -> [ > Player31 | Crate | Crate ] | |
[ > Player21 | Crate | Wall] -> [ Player21 | Crate | Wall ] | |
[ > Player31 | Crate | Wall] -> [ Player31 | Crate | Wall ] | |
(Player2 moving with its last movement onto a Crate moves just before and has 1 movement left) | |
[ > Player22 | no River | Crate | Crate ] -> [ | Player21 | Crate | Crate ] | |
[ > Player22 | | Crate | Wall] -> [ > Player22 | | Crate | Wall] | |
[ > Player22 | no River | Crate | Wall] -> [ | Player21 | Crate | Wall ] | |
(Player3 moving with its last movement onto a Crate moves just before and has 1 movement left) | |
[ > Player33 | | no River | Crate | Crate ] -> [ | | Player31 | Crate | Crate ] | |
[ > Player33 | no Wall | no Wall | Crate | Wall ] -> [ | | Player31 | Crate | Wall ] | |
[ > Player33 | | Crate | Crate ] -> [ | Player32 | Crate | Crate ] | |
[ > Player33 | | | Crate | Wall ] -> [ | | Player31 | Crate | Wall ] | |
(Player1 can push a crate from 1 distance away) | |
[ > Player11 | Crate | no Crate no Wall] -> [Player22 | | Crate] | |
[ > Player21 | Crate | no Crate no Wall] -> [Player33 | | Crate] | |
[ > Player31 | Crate | no Crate no Wall] -> [Player11 | | Crate] | |
[ > Player31 | no Wall ] -> [ | Player11 ] | |
(Player2 can push a crate from 2 distance away) | |
[ > Player22 | | Crate | no Crate no Wall] -> [ Player33 | | | Crate ] | |
[ > Player32 | | Crate | no Crate no Wall] -> [ Player11 | | | Crate ] | |
(Player3 can push a crate from 3 distance away) | |
[ > Player33 | | | Crate | no Crate no Wall] -> [ Player11 | | | | Crate ] | |
(Cannot teleport to empty space) | |
[ > Player33 | | | no Background] -> [ Player33 | | | ] | |
[ > Player22 | | no Background] -> [ Player22 | | ] | |
(check here if problems^) | |
(Player1 cannot move onto Crate with Crate behind it) | |
[ > Player11 | Crate | Crate] -> [ Player11 | Crate | Crate] | |
[ > Player31 | Crate | Crate] -> [ Player31 | Crate | Crate] | |
[ > Player21 | Crate | Crate] -> [ Player21 | Crate | Crate] | |
(Morphing player) | |
[ > Player11 | no River ] -> [ | Player22] | |
[ > Player22 | | no River ] -> [ | | Player33 ] | |
[ > Player33 | | | no River ] -> [ | | | Player11] | |
[ > Player32 | | no River ] -> [ | | Player11] | |
[ > Player21 | no River ] -> [ | Player33] | |
([ > PlayerJumper | Fence | Fence ] -> [ PlayerJumper | Fence | Fence ] | |
[ > PlayerJumper | Fence | ] -> [Background | Fence | PlayerWalker ]) | |
============== | |
WINCONDITIONS | |
============== | |
All PlayerGoal on Player | |
All CrateGoal on Crate | |
(or Any Player2 on PlayerGoal) | |
(All Target on Crate) | |
======= | |
LEVELS | |
======= | |
message As easy as 1, 2, 3 | |
section As easy as 1, 2, 3 | |
################# | |
################# | |
################# | |
###...........### | |
###...........### | |
###.....G...1.### | |
###...........### | |
###...........### | |
###...........### | |
################# | |
################# | |
################# | |
message Exclusion Principle | |
section Exclusion Principle | |
################# | |
################# | |
################# | |
###...........### | |
###....O......### | |
###...*..1....### | |
###...........### | |
###...........### | |
###...........### | |
################# | |
################# | |
################# | |
message Farmhouse | |
section Farmhouse | |
#################### | |
#################### | |
#################### | |
#####O*Z*O########## | |
#################### | |
#################### | |
#####O*.*O########## | |
#################### | |
#################### | |
message Stored Charge | |
section Stored Charge | |
################# | |
#############.### | |
################# | |
################# | |
#######.O.##..### | |
######O**..1..### | |
#########.....### | |
#######.......### | |
################# | |
################# | |
################# | |
################# | |
message Crevice | |
section Crevice | |
################# | |
################# | |
################# | |
################# | |
####....O..###### | |
####.##*O....1### | |
####....*..###### | |
################# | |
################# | |
#####......###### | |
################# | |
################# | |
message Spooky Action | |
section Spooky Action | |
################# | |
################# | |
################# | |
#####..O*#.###### | |
####..O.*..###### | |
####.##....###### | |
####....1..###### | |
####.......###### | |
################# | |
################# | |
################# | |
################# | |
message 2 out of 3 ain't bad | |
section 2 out of 3 aint' bad | |
################# | |
################# | |
################# | |
################# | |
######1....###### | |
#####......###### | |
#####...@*.###### | |
#####...@O.###### | |
######.....###### | |
################# | |
################# | |
################# | |
message Seeing Double | |
section Seeing Double | |
################# | |
################# | |
###.........##### | |
###....1....##### | |
###....*....##### | |
###.O.....*.##### | |
###....O....##### | |
###.........##### | |
###.........##### | |
################# | |
################# | |
################# | |
message Parity 'Schmarity | |
section Parity 'Schmarity | |
################# | |
################# | |
################# | |
####...1...###### | |
####.......###### | |
####...O...###### | |
####O*.*#..###### | |
####.......###### | |
####.......###### | |
################# | |
################# | |
################# | |
message Cramped | |
section Cramped | |
################# | |
################# | |
################# | |
####.......###### | |
####.O*.*O.###### | |
####...1...###### | |
####.O*.*O.###### | |
####.......###### | |
################# | |
################# | |
message Cozy Cabin | |
section Cozy Cabin | |
#################### | |
#################### | |
####....##..######## | |
####.O.1*G*O.####### | |
####.O...*....###### | |
#################### | |
#################### | |
#################### | |
#################### | |
( message Pond ) | |
( section Pond ) | |
( ################# ) | |
( ################# ) | |
( ###...........### ) | |
( ###.1...R.....### ) | |
( ###....RRR....### ) | |
( ###...RRORR...### ) | |
( ###....RRR....### ) | |
( ###.....R..*..### ) | |
( ###...........### ) | |
( ################# ) | |
( ################# ) | |
( ################# ) | |
( message River Crossing ) | |
( section River Crossing ) | |
( ################# ) | |
( ################# ) | |
( ###...........### ) | |
( ###....1O.....### ) | |
( ###RR..R..RR..### ) | |
( ###.RRRRRRRRRR### ) | |
( ###..RR..RR...### ) | |
( ###.......*...### ) | |
( ###...........### ) | |
( ################# ) | |
( ################# ) | |
( ################# ) | |
( ################# ) | |
( ################# ) | |
( ###.........##### ) | |
( ###....1....##### ) | |
( ###.........##### ) | |
( ###.........##### ) | |
( ###.........##### ) | |
( ###.........##### ) | |
( ###.........##### ) | |
( ################# ) | |
( ################# ) | |
( ################# ) | |
(hard level?) | |
message Tough Level Quackline | |
section Tough Level Quackline | |
################# | |
################# | |
######.....###### | |
######...O.###### | |
######.1.*O###### | |
######..O*.###### | |
######...*O###### | |
######...*.###### | |
######.....###### | |
################# | |
################# | |
################# | |
message Thanks for playing! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment