Skip to content

Instantly share code, notes, and snippets.

@lee2sman
Created October 15, 2022 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lee2sman/fa13e1caf0602e2b41c4c59c6434f238 to your computer and use it in GitHub Desktop.
Save lee2sman/fa13e1caf0602e2b41c4c59c6434f238 to your computer and use it in GitHub Desktop.
sleeping in the pandemic (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title sleeping in the pandemic
author not a pipe
homepage notapipe.itch.io
========
OBJECTS
========
Background
lightblue
space
black
wall
yellow
bedtop
#ccb661 #20b7e5 white
00000
02220
11111
11111
11111
bedbottom
#20b7e5
Couch
blue darkblue
11111
00011
00011
00011
11111
smallcouch
blue darkblue
10001
10001
10001
11111
11111
sidechair
darkblue blue
...1.
.1100
.1100
.1100
...1.
downchair
darkblue blue
.000.
10001
.111.
.111.
.....
Player
blue darkbrown #bfae93 brown grey darkred
.111.
.222.
.323.
20002
.5.5.
sholeh
black darkbrown #bfae93 brown grey darkblue
.000.
.222.
.323.
25052
.5.5.
heather
black darkbrown #bfae93 brown grey purple
.111.
.323.
.222.
25552
.5.5.
john
black yellow #bfae93 brown grey darkblue
.111.
.222.
.232.
10001
.5.5.
walker
black darkbrown #bfae93 brown grey darkblue
.111.
.525.
.323.
20002
.2.2.
doorleftclosed
#ccb661
0....
.0000
.....
.....
.....
doorleftopen
#ccb661
0....
.0...
.0...
.0...
..0..
doorrightclosed
#ccb661
....0
0000.
.....
.....
.....
doorrightopen
#ccb661
....0
...0.
...0.
...0.
..0..
sidedoorclosed
#ccb661
....0
...0.
...0.
...0.
...0.
sidedooropen
#ccb661
....0
0000.
.....
.....
.....
fridge
white gray lightgray
.0000
10002
00002
00002
.0000
stove
white black gray darkred
00022
10123
00022
10122
00021
closet
lightgrey lightred lightblue green blue purple pink
00000
01110
23322
44564
00000
dresser
gray brown
00000
01010
00000
.....
.....
stairs
grey lightgray
10001
01110
10001
01110
11111
bookcase
yellow pink lightgray black blue
22222
20002
33332
21112
24442
toiletdown
white darkgray gray
.000.
00000
.000.
.202.
.001.
toiletside
white black gray
.0..0
00021
00000
00020
.0...
sidecounter
#c4b08f
...00
...00
...00
...00
...00
table
#c4b08f
sinkside
grey white
..111
..101
..001
..101
..111
sinkdown
grey white
11111
10001
11011
.....
.....
sinkup
grey white
.....
.....
11011
10001
11111
shower
gray lightgray
.0111
01111
01111
01111
01111
exit
transparent
=======
LEGEND
=======
. = Background
# = wall
bed = bedtop or bedbottom
t = bedtop
b = bedbottom
c = couch
& = closet
q = smallcouch
g = sidechair
d = downchair
f = fridge
k = bookcase
y = dresser
s = stove
a = table
sink = sinkdown or sinkside
i = sinkside
n = sinkdown
u = sinkup
h = shower
! = sidecounter
o = toiletside
w = toiletdown
toilet = toiletdown or toiletside
p = player
e = exit
~ = stairs
l = doorleftclosed
r = doorrightclosed
z = doorrightopen
$ = sidedoorclosed
/ = space
1 = sholeh
2 = john
3 = heather
4 = walker
friends = sholeh or john or walker or heather
doors = doorleftclosed or doorrightclosed or doorrightopen or doorleftopen or sidedoorclosed or sidedooropen
kitchen = fridge or stove or table or closet or bookcase or dresser
livingroom = couch or toilet or sink or sinkup or shower or sidecounter or smallcouch or sidechair or downchair or stairs
=======
SOUNDS
=======
endlevel 76593508
sfx0 5529508 (door sound)
sfx1 76308308 (stove)
sfx2 17412102 (toilet)
sfx3 16122509 (sink)
sfx4 27439508 (shower)
sfx5 85895108 (sit sound)
================
COLLISIONLAYERS
================
Background
space
bed, doors, exit, livingroom
player, wall, kitchen, friends
======
RULES
======
( doors )
[ player doorleftclosed ] -> [ player doorleftopen ]
[ player doorrightclosed ] -> [ player doorrightopen ]
[ player sidedoorclosed ] -> [ player sidedooropen ]
( sound effects )
late [ player toilet ] -> [ player toilet ] sfx2
late [ player sink ] -> [ player sink ] sfx3
[ > player | stove ] -> [ player | stove ] sfx1
[ player doors ] -> [ player doors ] sfx0
late [ player shower ] -> [ player shower ] sfx4 again
late [ player couch ] -> [ player couch ] sfx5
late [ player sidechair ] -> [ player sidechair ] sfx5
==============
WINCONDITIONS
==============
all player on bed
=======
LEVELS
=======
message ever since i was a kid i've gone to bed late. staying up all hours of the night to read.
#######
##..tt#
#a..bb#
#ag.bb#
#a....#
$..p..#
###kkk#
#######
message since the start of the pandemic i've slept in maybe 6 bedrooms.
message when covid hit new york i was living with X. the apartment was loud. we lived above a mexican restaurant open til 4am with a back patio and loud music. across the street was a competing mexican restaurant that opened streetside eating. i couldn't work in the front room or the back room due to the noise and had trouble getting to sleep before 4am.
##########/
#.ttt!...#/
#.bbb..!a#/
#.bbb..ga#/
#......!a#/
#.......##/
##l...r###/
#......C#//
#......C#//
#a.....####
#a..p....$e
#.....f####
#.....s#nh#
#.....i#.h#
#.....!#..#
#......$.o#
#r#########
#.......aa#
#......gaa#
#.qq...!aa#
###########
message during the time of the pandemic lots of people report having peculiar dreams. "all around the world, the pandemic provoked strange nocturnal visions" said the new york times. me, i've always had trouble remembering my dreams when i wake up.
!tta
.bb&
.bb.
....
..p.
message in the first week the pandemic broke out in new york i had an exhibit. i didn't go to the opening but zoomed in. everyone seemed to think things would go back to normal soon. x and i thought this was wishful thinking. we lived in a small apartment in a gridlocked zone. for the first time with some means, we left the city. we rented an apartment near a state park in central jersey.
message the house was spare but huge to us. we weren't used to suburban living. we had many rooms and space to spread out and were a block from a big park where i could go mountain biking. we saw many deer. read out in the sun. removed ticks. out there i could sleep. it was so quiet. if boring. but it was boring everywhere. we had two bedrooms. we switched off.
############
#..........#
#.......bbb#
#.......bbb#
######.....#
#anna###r###
#.....#...a#
#o....z..g!#
#.hhh.#...a#
#######....#
#l..z##.#..#
#.......#..#
#....bbb#..#
#....bbb#..#
##########.#
#ana#d.k.#.#
#s.f#....#.#
#a.....a.#.#
$.paa......#
#..aa.ccc..#
############
message it's a year later. i live alone above my friend and his family. one of my closest friends passed away this year. i still can't believe it. living online, i've rolled with this new life, but i miss going out, doing things. i miss many things. dancing with friends, biking home from parties. feeling free. occasionally i can, but not like before.
/#########/////
/#.aag..!#/////
/#......f#/////
#.......!#/////
#.......s#/////
#.......i#/////
c....##.!######
c.............z
#.bbb...p.....#
#.bbb..d.k#.#.&
#.ttt.aaaa#.h##
###########.###
//////////#w.i#
//////////#####
message a few times i've gone to stay with my parents. i take the train down to them, visiting other friends back home too. my parents live in the suburbs. on the edge of the woods. there are deer, foxes, many birds. at night it rains and owls call out, the cats purr. i refuse to sleep on the fold-out bed. i sleep right on the floor on a thick shag carpet and blankets.
message i'm enjoying spending time with them as we all age. i appreciate the hell out of them. we talk and talk. at night we watch documentaries. they go to bed at midnight and i raid the kitchen. they've bought me pretzels i like.
##############
#a.d.a#a...yy#
#f.a.!#c.bb.k#
#..ag!#c.bb.k#
#....s#c....k#
#k...!#..#r###
##.aaa##.#####
$.p####f.z..h#
##.......#uoh#
message for the past year i've had trouble falling asleep. i read too late, look at my phone, browse, program, hear animals, loud cars. i finally fall asleep at 4am. i see less and less of the day.
message in the summer i visit a friend in berlin and do a residency in denmark with riends from my art collective, we're all part of an extended family. none of us have kids. at 39, i'm the young one in the group. we're all weirdos. we stay up late in our hostel room talking, making noise, playing backgammon. john and i snore we are told. with my friends i'm the happiest i've been all pandemic
#######z##
#w.i#...&#
#...z...aa
#h..#.p.aa
#####...aa
#b4......#
#bb....~~#
#bb....~~#
#bb....~~#
###&...~~#
#bb....~~#
#b1...&~~#
#bbb2#b3bb
##bbb#bbbb
message back home i throw myself into school. at night, i don't wanna go to bed. i want it quiet. i want the world for myself. when i'm asleep i'll be nowhere. i'll be missing out.
message some nights i watch old, slow movies. i watched a 1940s western starring john wayne. lots of nights of the cowboys sleeping under the stars, afraid of what's ahead, what's behind, and death all around. "it's funny what the night does to a man" says the camp cook.
message when i wake it's late. i'm slow to leave bed, make tea, head out into the world reluctantly. i hope to get out, but where to go? things are uncertain. where will i be sleeping next year?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment