-- A level for Enigma -- Name: -- Filename: -- Copyright: (C) Oct 2003 Ralf Westram -- Contact: address@hidden -- License: GPL v2.0 or above dofile(enigma.FindDataFile("levels/ralf.lua")) --debug_mode() level={ "####################", "#t# #o X % x#", "#w# ## % ###", "#.# ppA # %.,..#", "#.## P####~~~~~.p .#", "#..# Pgggggggs~.pp #", "#d,wapw.gGG~~__ %<", "#..# PGGgggggg~.pp #", "#.## P####~~~~~.p .#", "#.# ppB # X %.,..#", "#.# ## % ###", "#.. #o % x#", "####################", } cells={} puzzles1 = {} cells[" "] = cell{floor="fl-bluegray"} cells["~"] = cell{floor="fl-water"} cells["_"] = cell{floor="fl-wood"} cells["b"] = cell{floor="fl-bluegray"} cells["#"] = cell{stone="st-marble"} cells["%"] = cell{stone="st-glass"} cells["X"] = cell{stone="st-actorimpulse_invisible"} cells["w"] = cell{stone="st-wood"} cells["."] = cell{stone="st-stoneimpulse"} cells[","] = cell{stone="st-stoneimpulse-hollow"} cells["o"] = cell{oxyd} cells["s"] = cell{stone={"st-switch", {action="onoff", target="laser"}}} cells["t"] = cell{item={"it-trigger", {action="onoff", target="laser"}}} cells["<"] = cell{stone={"st-laser-w", {name="laser"}}} cells["g"] = cell{parent=cells["b"],stone="st-grate1"} cells["G"] = cell{parent=cells["~"],stone="st-grate1"} cells["a"] = cell{actor={"ac-blackball", {player=0}}} cells["p"] = cell{parent={{add_multicell, puzzles1}}} cells["P"] = cell{parent=cells["p"],floor="fl-water"} cells["A"] = cell{parent=cells["p"],item="it-dynamite"} cells["B"] = cell{parent=cells["p"],item="it-extralife"} cells["x"] = cell{item="it-extralife"} cells["d"] = cell{item={"it-document", {text="You want to die for the solution?"}}} rs_create_world(level,cells) render_puzzles(puzzles1) oxyd_shuffle()