-- A level for Enigma
-- Name:        Swamp Stomp
-- Filename:    ralf11.lua
-- Copyright: 	(C) May 2003 Ralf Westram
-- Contact: 	amgine@reallysoft.de
-- License: 	GPL v2.0 or above

dofile(enigma.FindDataFile("levels/ralf.lua"))

--debug_mode()

level={
   "!!!###o######o###!!!",
   "!!!# www    www #!!!",
   "!!!#  B         #!!!",
   "####            ####",
   "#   b%%%%%%%%%%b   #",
   "#w  %%%%%%%%%%%%  w#",
   "ow  %%%%%%%%%%%%  wo",
   "#w  %%%%%%%%%%%%  w#",
   "#   b%%%%%%%%%%b   #",
   "####            ####",
   "!!!#         W  #!!!",
   "!!!# www    www #!!!",
   "!!!###o######o###!!!",
}

cells={}

cells["!"] = cell{floor="fl-space"}
cells[" "] = cell{floor="fl-red"}
cells["%"] = cell{floor="fl-swamp"}
cells["#"] = cell{floor="fl-rough-blue",stone="st-glass"}

cells["b"] = cells["%"]
cells["w"] = cell{parent=cells[" "],stone="st-white4"}

cells["B"] = cell{parent=cells[" "],actor={"ac-blackball", {player=0}}}
cells["W"] = cell{parent=cells[" "],actor={"ac-whiteball", {player=1}}}
cells["o"] = cell{oxyd}

rs_create_world(level,cells)
enigma.AllowTogglePlayer = FALSE
enigma.ConserveLevel = FALSE
oxyd_shuffle()
