Created
October 13, 2021 21:50
-
-
Save psikh286/a00aaa6b08b2d4f7bdb00a411930d6d1 to your computer and use it in GitHub Desktop.
I'm too lazy to come up with a name (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 I'm too lazy to come up with a name | |
author Alan | |
homepage www.puzzlescript.net | |
zoomscreen 7x7 | |
======== | |
OBJECTS | |
======== | |
Background | |
#7eb9b9 #8bc9c9 | |
00000 | |
00010 | |
00000 | |
00000 | |
00000 | |
BG1 | |
black | |
Wall | |
#769494 | |
(players) | |
Pusher | |
red white | |
.000. | |
.101. | |
00000 | |
.000. | |
.0.0. | |
Puller | |
#59b027 white | |
.000. | |
.101. | |
00000 | |
.000. | |
.0.0. | |
PusherOff | |
darkred black | |
.000. | |
.101. | |
00000 | |
.000. | |
.0.0. | |
PullerOff | |
green black | |
.000. | |
.101. | |
00000 | |
.000. | |
.0.0. | |
(doors) | |
DoorOrange | |
#fca14c | |
.000. | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
DoorBlue | |
#6b77b3 | |
.000. | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
DoorOrangeLocked | |
#fca14c | |
.000. | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
DoorBlueLocked | |
#6b77b3 | |
.000. | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
(switches) | |
DoorSwitchOrange | |
#fca14c | |
00.00 | |
0...0 | |
0...0 | |
0...0 | |
00.00 | |
DoorSwitchBlue | |
#6b77b3 | |
00.00 | |
0...0 | |
0...0 | |
0...0 | |
00.00 | |
(crates) | |
CrateOrange | |
#fca14c black | |
1...1 | |
00000 | |
..... | |
00000 | |
1...1 | |
CrateBlue | |
#6b77b3 black | |
1...1 | |
00000 | |
..... | |
00000 | |
1...1 | |
(portals) | |
PortalPink1 | |
#d494d0 #bf6bbb gray | |
22222 | |
20102 | |
21012 | |
20102 | |
22222 | |
PortalPink2 | |
#bf6bbb #d494d0 gray | |
22222 | |
20102 | |
21012 | |
20102 | |
22222 | |
PortalPink1Off | |
#875f85 #7d477b gray | |
22222 | |
20102 | |
21012 | |
20102 | |
22222 | |
PortalPink2Off | |
#7d477b #875f85 gray | |
22222 | |
20102 | |
21012 | |
20102 | |
22222 | |
(pressure plate) | |
PPlate | |
#bf6bbb | |
0.000 | |
0.... | |
0.0.0 | |
....0 | |
000.0 | |
DoorPhase | |
white | |
PlatePhase | |
white | |
PortalPhase | |
white | |
..... | |
..... | |
..... | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
Player = Pusher or Puller | |
PlayerOff = PusherOff or PullerOff | |
Hero = Player or PlayerOff | |
LockedDoor = DoorOrangeLocked or DoorBlueLocked | |
OpenDoor = DoorOrange or DoorBlue | |
Switch = DoorSwitchBlue or DoorSwitchOrange | |
Crate = CrateBlue or CrateOrange | |
PortalPink = PortalPink1 or PortalPink2 | |
PortalPinkOff = PortalPink1Off or PortalPink2Off | |
Static = Wall or LockedDoor | |
Moveable = Crate or Hero | |
Phases = DoorPhase or PlatePhase or PortalPhase | |
. = Background | |
, = BG1 | |
# = Wall | |
> = Pusher | |
< = Puller | |
1 = PusherOff | |
2 = PullerOff | |
{ = DoorOrangeLocked | |
} = DoorBlueLocked | |
[ = DoorSwitchOrange | |
] = DoorSwitchBlue | |
/ = CrateOrange | |
\ = CrateBlue | |
; = DoorOrange | |
: = DoorBlue | |
- = PortalPink1 | |
~ = PortalPink2 | |
! = PortalPink1Off | |
? = PortalPink2Off | |
$ = PPlate | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
BG1 | |
OpenDoor, Switch, PortalPink, PortalPinkOff, PPlate | |
Hero, Crate, Static | |
Phases | |
====== | |
RULES | |
====== | |
(movement) | |
[> Pusher|Crate] -> [> Pusher|> Crate] | |
[< Puller|Crate] -> [< Puller|< Crate] | |
(action) | |
[action Pusher] [PullerOff] -> [PusherOff] [Puller] | |
[action Puller] [PusherOff] -> [PullerOff] [Pusher] | |
(doors) | |
late [CrateOrange DoorSwitchOrange] [DoorOrangeLocked] -> [CrateOrange DoorSwitchOrange] [DoorPhase] | |
late [DoorSwitchOrange no CrateOrange] [DoorOrange] -> [DoorSwitchOrange] [DoorOrangeLocked] | |
late [DoorSwitchOrange no CrateOrange] [DoorPhase] -> [DoorSwitchOrange] [DoorOrangeLocked] | |
late [DoorPhase] -> [DoorOrange] | |
late [CrateBlue DoorSwitchBlue] [DoorBlueLocked] -> [CrateBlue DoorSwitchBlue] [DoorPhase] | |
late [DoorSwitchBlue no CrateBlue] [DoorBlue] -> [DoorSwitchBlue] [DoorBlueLocked] | |
late [DoorSwitchBlue no CrateBlue] [DoorPhase] -> [DoorSwitchBlue] [DoorBlueLocked] | |
late [DoorPhase] -> [DoorBlue] | |
(pressure plate) | |
late [Moveable PPlate] [PortalPink1Off] -> [Moveable PPlate] [PlatePhase] | |
late [PPlate no Moveable] [PortalPink1] -> [PPlate] [PortalPink1Off] | |
late [PPlate no Moveable] [PlatePhase] -> [PPlate] [PortalPink1Off] | |
late [PlatePhase] -> [PortalPink1] | |
late [Moveable PPlate] [PortalPink2Off] -> [Moveable PPlate] [PlatePhase] | |
late [PPlate no Moveable] [PortalPink2] -> [PPlate] [PortalPink2Off] | |
late [PPlate no Moveable] [PlatePhase] -> [PPlate] [PortalPink2Off] | |
late [PlatePhase] -> [PortalPink2] | |
(portals) | |
late [Crate PortalPink1] [PortalPink2 no Moveable] [PortalPink2 no PortalPhase] [ PortalPink1] -> [ PortalPink1] [Crate PortalPink2] [PortalPink2 no PortalPhase] [PortalPink1 PortalPhase] | |
late [PortalPhase] [Crate|PortalPink2] [PortalPink1 no Moveable] -> [no PortalPhase] [Crate|PortalPink2] [PortalPink1 no Moveable] | |
late [Crate PortalPink2] [PortalPink1 no Moveable] [PortalPink1 no PortalPhase] [ PortalPink2] -> [ PortalPink2] [Crate PortalPink1] [PortalPink1 no PortalPhase] [PortalPink2 PortalPhase] | |
late [PortalPhase] [Crate|PortalPink1] [PortalPink2 no Moveable] -> [no PortalPhase] [Crate|PortalPink1] [PortalPink2 no Moveable] | |
============== | |
WINCONDITIONS | |
============== | |
All Hero on DoorOrange | |
All DoorOrange on Hero | |
======= | |
LEVELS | |
======= | |
Message Level 1 | |
Message Move towards the door. | |
########### | |
#.........# | |
#.>....;..# | |
#.........# | |
########### | |
Message Level 2 | |
Message Ooops... The door is out of electricity. Power it! | |
########### | |
#.........# | |
#.....[...# | |
#.>.......{ | |
#.../.....# | |
#.........# | |
########### | |
Message Level 3 | |
Message Double trouble | |
########### | |
#.........# | |
#.>.#/....# | |
#...#.....# | |
#../[...#.# | |
{....#...[# | |
########### | |
Message Level 4 | |
Message The green one is a pulling guy. | |
########### | |
#.........# | |
#.<...[...# | |
#.........{ | |
#.../.....# | |
#.........# | |
########### | |
Message Level 5 | |
########### | |
#..#......# | |
#..#.#....# | |
#/.#......# | |
#......#[.# | |
{\\.<..#..# | |
########### | |
Message Level 6 | |
Message The time has come. Press X! | |
############# | |
#.....#.....# | |
#..>..#..2..# | |
#.../.#.....# | |
#.....#..[..# | |
#..[..#.....# | |
#.....#..../# | |
###{#####{### | |
Message Level 7 | |
############# | |
#>#\#2..#...# | |
#.#.#[..#.].# | |
#.......#...# | |
###.###.....# | |
######..#}### | |
##.###..#...# | |
#.......#...{ | |
#/..#...#...# | |
##########{## | |
Message Level 8 | |
Message Let's add some portals. | |
############# | |
#-....#....~# | |
#.....#.....# | |
#../..#.....# | |
#..>..#..[..# | |
#.....#....2# | |
#.....#.....# | |
###{#####{### | |
Message Level 9 | |
################# | |
#.>.....}.....2.# | |
#######.###.\...# | |
#.....#.###..#### | |
#.###.#.#.[#.#..{ | |
#...-.#.#.]#~#/## | |
#.#####.#.......{ | |
#.......#....#.## | |
################# | |
Message Level 10 | |
Message Is it a pressure plate? | |
################# | |
#.......#2......# | |
#..#.##.#.....$.# | |
#.>.\.#.#.......# | |
#..##.#.####..### | |
#.......#.......# | |
#####.#.#.]#..?.# | |
#[!.....#.......# | |
####{#######}#### | |
,,,,,,,,#.......# | |
,,,,,,,,#.......# | |
,,,,,,,,#.......# | |
,,,,,,,,#.../...# | |
,,,,,,,,#.......# | |
,,,,,,,,#.......# | |
,,,,,,,,#.......# | |
,,,,,,,,####{#### | |
Message Level 11 | |
############# | |
#.#......?..# | |
#.\.#..###[.# | |
#1\.#..}$#<.{ | |
#.\.######### | |
#.#../.!....{ | |
###]######### | |
Message GG WP | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment