Skip to content

Instantly share code, notes, and snippets.

@sfiera
Created June 1, 2014 14:14
Show Gist options
  • Save sfiera/38520b8a950bb8db2f47 to your computer and use it in GitHub Desktop.
Save sfiera/38520b8a950bb8db2f47 to your computer and use it in GitHub Desktop.
Wizard-only levels from Heroes of Sokoban
title Wizard World
debug
========
OBJECTS
========
Background
GREEN
Exit
Black
Wall
Brown
Wizard
Blue
Crate
Orange
00000
0...0
0...0
0...0
00000
Switch
Yellow
.....
.000.
.000.
.000.
.....
ClosedDoor
Yellow
00000
0...0
0.0.0
0...0
00000
OpenDoor
Yellow
0...0
.....
.....
.....
0...0
=======
LEGEND
=======
. = Background
# = Wall
@ = Wizard
* = Crate
X = Exit
[ = ClosedDoor
{ = Switch
Player = Wizard
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Exit, Switch, OpenDoor
Player, Wall, Crate, ClosedDoor
======
RULES
======
(This is the equivalent rule from Heroes of Sokoban III:
[ > Wizard ] -> [ Wizard > Warpball]
[ > Warpball | no Crate no Wall] -> [ | > Warpball]
[ > Warpball | Wall] [Wizard] -> [ | Wall ] [> Wizard]
[ > Warpball | Crate ] [Wizard] -> [ | Wizard ] [Crate]
[ > Warpball] [Wizard] -> [] [> Wizard])
[ > Wizard | no Wall no Crate ... | Crate ] -> [ Crate | ... | Wizard ]
(Heroes of Sokoban uses a more complicated set of rules to do sound right)
LATE [ ClosedDoor ] -> [ OpenDoor ]
LATE [ OpenDoor ] [ Switch no Player no Crate ] -> [ ClosedDoor ] [ Switch ]
==============
WINCONDITIONS
==============
All Player on Exit
All Exit on Player
=======
LEVELS
=======
#############
#...*.{.#...#
#.@.*.{.[.X.#
#...#...#...#
#############
#########
#.....#X#
#.#*..#[#
#.**.@..#
#.......#
#.{.{.{.#
#.......#
#########
#######
#@#X#*#
#.#.#.#
#*...*#
#.###.#
#*.*..#
#######
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment