-- created by Martin Hawlisch dofile(enigma.FindDataFile("levels/ant.lua")) create_world(20, 13) fill_floor("fl-abyss") level = { " ", " ##..--++++++--..## ", " 0#---. .---#0 ", " ##....++++++....## ", " #O....| |....## ", " ##----| |----## ", " 0#.... ....#0 ", " ##----| |----## ", " ##....| |....## ", " ##....++++++....## ", " 0#---. .---#0 ", " ##..--++++++--..## ", " "} difficult = (options.Difficulty==2) cells={} cells[" "]=abyss cells["#"]=cell{floor="fl-stwood"} cells["+"]=cell{item="it-crack3",floor="fl-wood"} if difficult then cells["-"]=cell{parent=cells["+"]} else cells["-"]=cell{parent=cells["#"]} end if difficult then cells["."]=cell{parent=cells[" "]} else cells["."]=cell{parent=cells["#"]} end if difficult then cells["|"]=cell{parent=cells["+"]} else cells["|"]=cell{parent=cells[" "]} end oxyd_default_flavor = "a" set_default_parent(cells["#"]) create_world_by_map(level,cells) oxyd_shuffle() enigma.ConserveLevel = FALSE