Skip to content
Snippets Groups Projects
Commit 6887f457 authored by DarkGod's avatar DarkGod
Browse files

Glimmerstone has a description

parent b438bf49
No related branches found
No related tags found
No related merge requests found
......@@ -1500,7 +1500,7 @@ function _M:setupCommands()
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
--do return end
local f, err = loadfile("/data/general/events/fearscape-portal.lua")
local f, err = loadfile("/data/general/events/glimmerstone.lua")
print(f, err)
setfenv(f, setmetatable({level=self.level, zone=self.zone}, {__index=_G}))
print(pcall(f))
......
......@@ -22,8 +22,10 @@ local x, y = game.state:findEventGrid(level)
if not x then return false end
local g = game.level.map(x, y, engine.Map.TERRAIN):cloneFull()
g = require("engine.Object").new(g)
g = require("mod.class.Object").new(g)
g.identified = true
g.name = "glimmerstone"
g.desc = "It shimmers and changes the light all around. This is dazling!"
g.display='&' g.color_r=255 g.color_g=255 g.color_b=255 g.notice = true
g:removeAllMOs()
if engine.Map.tiles.nicer_tiles then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment