Skip to content

Instantly share code, notes, and snippets.

@dario-zubovic
Created June 5, 2018 15:12
Show Gist options
  • Save dario-zubovic/5f75c87973dbf2568c557b9ecf8c0a30 to your computer and use it in GitHub Desktop.
Save dario-zubovic/5f75c87973dbf2568c557b9ecf8c0a30 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 Bring the ice cube to the goal without exposing it to heat.
author increpare
homepage www.increpare.com
run_rules_on_level_start
noaction
========
OBJECTS
========
hot
darkred
cold
darkblue
HotSource 1
red darkred white yellow
11311
10201
10201
10001
11111
icecube i
lightblue blue
.111.
10001
10001
10001
.111.
Background
darkblue darkblue
11111
01111
11101
11111
10111
Target
darkgreen
.....
.000.
.0.0.
.000.
.....
Wall
darkblue darkgreen
00010
11111
01000
11111
00010
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
Crate
brown darkbrown
00000
00110
01010
01100
00000
puddle u
blue
.....
.000.
00000
.000.
.....
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
insulation = wall or crate
pushable = crate or hotsource or icecube
=======
SOUNDS
=======
Crate MOVE 36772507
sfx0 87367102 (melt)
endlevel 87961509
================
COLLISIONLAYERS
================
Background
Hot,Cold
Target
puddle
Player, Wall, Crate, HotSource, icecube
======
RULES
======
[ icecube hot ] -> [ puddle ]
[ > Player | pushable ] -> [ > Player | > pushable ]
late [hot]->[]
late [cold]->[]
late [ no insulation ] -> [ cold ]
late [HotSource] -> [HotSource hot]
late [ hot | no insulation ] -> [ hot | hot ]
[] -> again
==============
WINCONDITIONS
==============
all icecube on target
no puddle
=======
LEVELS
=======
message Level 1 of 3
###################
#.....#.....#.....#
#.....#.1...#.....#
#..o..*.....*..i..#
#.....#...p.#.....#
#.....#.....#.....#
###################
message very good
message Level 2 of 3
###################
#........#........#
#........*........#
#.......*1*....*..#
#..o.....*.p..*i..#
#.......*1*....*..#
#........*........#
#........#........#
###################
message very nice
message Level 3 of 3
##############
#....*......o#
#.i..*......##
#....*.....###
#.p..*.1..####
#....*...#####
#....*..######
#....*.#######
#....*########
#....#########
#...##########
#..###########
#.############
##############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment