Skip to content

Instantly share code, notes, and snippets.

@lee2sman
Created December 21, 2021 06:04
Show Gist options
  • Save lee2sman/20a087f2546adeddd92e18814d5bb323 to your computer and use it in GitHub Desktop.
Save lee2sman/20a087f2546adeddd92e18814d5bb323 to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Clue, the videogame
author not a pipe
homepage notapipe.itch.io
color_palette amstrad
========
OBJECTS
========
Background
black
Player
grey Orange White blue
.000.
.111.
22222
.333.
.3.3.
peacock
lightred Orange White Pink purple
.040.
.111.
22222
.333.
.3.3.
mustard
darkbrown orange White #c6b459
.000.
.111.
22222
.333.
.3.3.
plum
darkbrown pink lightred purple
.000.
.111.
22222
.333.
.3.3.
mrgreen
black lightred White green
.000.
.111.
33333
.333.
.3.3.
mrbody
lightgray lightred lightblue
.000.
.111.
00000
.222.
.2.2.
mrswhite
lightblue pink lightgray white
.000.
.111.
22222
.333.
.3.3.
scarlet
#c6b459 pink White red purple
.444.
41114
33133
.333.
.3.3.
deadBody
Black Orange White lightblue red
.444.
.444.
22242
.3334
.3.3.
blood
red
..0..
.000.
...0.
.0...
000..
wall
gray brown
00100
00001
00000
10001
00100
hiddenDoor
gray brown red
00100
00001
00020
10001
00100
doorClosed
orange
....0
0000.
.....
.....
.....
doorOpen
orange
....0
...0.
...0.
...0.
...0.
nextlevel
transparent
( weapons )
knife
brown gray
...1.
..11.
..11.
..11.
..00.
pipe
darkgreen
...00
..00.
..00.
.00..
00...
rope
white
..0..
.0.0.
.0.0.
.000.
0....
wrench
lightgray gray
..00.
...0.
..00.
..11.
...1.
gun
darkgray gray
.....
10000
.0...
.....
.....
=======
LEGEND
=======
. = Background
b = blood (pool of blood)
h = hiddenDoor
d = doorClosed
# = wall
n = nextlevel
p = player
( people )
r = mrbody
s = scarlet
m = mustard
k = peacock
l = plum
w = mrswhite
g = mrgreen
x = deadBody
( weapons )
f = knife
i = pipe
o = rope
c = wrench
u = gun
weapons = knife or pipe or rope or wrench or gun
people = player or mrbody or deadBody or peacock or scarlet or mustard or plum or mrswhite or mrgreen
doors = doorClosed or doorOpen or hiddenDoor
=======
SOUNDS
=======
sfx0 10477907
================
COLLISIONLAYERS
================
Background
doors, blood, nextlevel, weapons
wall, people
======
RULES
======
late [ player doorClosed ] -> [ player doorOpen ] sfx0
[ > player | deadBody ] -> [ player | deadBody ] message Mr. Body's dead body
[ > player | peacock ] -> [ player | peacock ] message Miss Peacock
[ > player | mustard ] -> [ player | mustard ] message Colonel Mustard
[ > player | scarlet ] -> [ player | scarlet ] message Miss Scarlet
[ > player | mrgreen ] -> [ player | mrgreen ] message Mr. Green
[ > player | mrswhite ] -> [ Player | mrswhite ] message Mrs. White
[ > Player | plum ] -> [ Player | plum ] message Professor Plum
[ > player | mrbody ] -> [ player | mrbody ] message Oh, didn't you know? That's Mr. Body. That's the man that's been blackmailing you. He's been blackmailing all of you!
late [ player knife ] -> [ player knife ] message the knife
late [ player rope ] -> [ player rope ] message the rope
late [ player wrench ] -> [ player wrench ] message the wrench
late [ player pipe ] -> [ player pipe ] message the pipe
late [ player gun ] -> [ player gun] message the gun
late [ player nextlevel ] -> [ Player nextlevel ] win
==============
WINCONDITIONS
==============
some player on hiddenDoor
=======
LEVELS
=======
message You've received a strange note in the mail, anonymously written. You're being blackmailed for something you've done, something you don't want getting out. And you've been invited to meet with your interlocutor.
message You arrive by tram to the small british village in the moor. The manor you've been called to is large and foreboding, a mile's walk from the edge of town.
message As you arrive, you nervously join the other assembled guests, unsure what to expect.
......h..p..h......
########ddd########
#.................#
#..m..........k...#
#......s..........#
#nnnnnnnnnnnnnnnnn#
#.....p...........#
#..l.........w....#
#........g......r.n
###################
message The butler Wadsworth shows you into the salon. All the guests assemble, standing around a pile of weapons.
###################
h.................#
#........k........#
#....p.......r....#
#.......u.........#
#.....g...i.......#
#.......f...o.s...#
#...w.....c.......#
#.......m....l....#
#...........n.....#
############d######
...........#.#.....
message The lights turn off.
message A gun shot! The lights turn on again. Where are the weapons? Where's Mr. Body?
###################
h.................#
#........k........#
#.....s......l....#
#.................#
#.....m....w..k...#
#.................#
#.................#
#.......g.........#
#............p....#
############d######
...........#n#.....
message Mr. Body's body was discovered in the foyer! And one of you killed him! shouts Wadsworth
message Let's split up and find the murderer!
......h.....h......
########ddd########
#.................#
#.......b.........#
#.......X...p.....#
#..l..............#
#..............k..#
#....s............#
#.................#
#nnnnnnnnnnnnnnnnn#
message You join Miss Scarlet and climb to the second floor hallway. What's that at the other end?
####...........
#p.#...........
#..#...........
#..#...........
#..#...........
#..#...........
#.s#...........
#n.#...........
#..#...........
#..#...........
#..############
#..f...........
###############
message Oh no! Miss Scarlet? You feel a blunt object come down hard on your head.
message You wake up in a room you've not been in before. On the couch next to you is the body of Mr. Body.
..#########..
..#.......###
..#....o..d.#
..#.......#.#
###.......###
#.........b.#
#.....p...x.#
#.........b.h
#############
message A secret passageway! You open a hatch into the conservatory.
message Two people are whispering. It was you! I saw you do it! There's a shriek and the sound of a body hitting the floor. You rush into the room.
..###########...
..#.i......n##..
..#.......bn.##.
..#.......bbn.##
###..........n.#
#p...........b.#
################
message Too late. There must be another secret passageway out of this room.
..##h########...
..#.i.......##..
..#.......b..##.
..#.......bbp.##
###............#
#............b.#
################
message Ahead of you is a figure in shadow, dragging a body behind. You can't make out who it is. You run to catch up as they round the corner.
#nnnn#
#.bb.#
#..b.#
#....#
#..b.#
#....#
#.b..#
#....#
#.p..#
######
#########
#.......n
#...b...n
#....####
#..b.#...
#.p.#....
########
.n.....#
pns..m.#
#x....k#
#..l.w.#
#...g..#
########
message We caught you! You killed Mr. Body!
########
.......#
..s..m.#
#xpn..k#
#.nl.w.#
#...g..#
########
message No, it was Miss Scarlet! She tried to kill me!
message No I didn't! I knocked you unconscious to protect you. Plum told me to do it.
message That's only because Mustard said it was best.
message Well that's okay. He was blackmailing all of us. Any of us could have killed him. We can all leave and forget any of this ever happened.
########
n......#
n.bsbm.#
#bbkp..#
#.blw..#
#.g....#
########
message And with everyone's help, Mr. Body's body is quickly disposed, and you all melt back into the countryside, heading back to your homes, your secret safe among the cabal
nnnnnnnnnnnnnnnn
n..............n
n...b......b...n
n..............n
n....p.....bb..n
n..............n
nnnnnnnnnnnnnnnn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment