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

plop

parent 12055534
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -67,6 +67,7 @@ function _M:run()
self.log = function(style, ...) if type(style) == "number" then self.logdisplay(...) self.flash(style, ...) else self.logdisplay(style, ...) self.flash(self.flash.NEUTRAL, style, ...) end end
self.logSeen = function(e, style, ...) if e and self.level.map.seens(e.x, e.y) then self.log(style, ...) end end
self.logPlayer = function(e, style, ...) if e == self.player then self.log(style, ...) end end
self.logNewest = function() return self.logdisplay:getNewestLine() end
self.log(self.flash.GOOD, "Welcome to #00FF00#the template module!")
......
......@@ -67,6 +67,7 @@ function _M:run()
self.log = function(style, ...) if type(style) == "number" then self.logdisplay(...) self.flash(style, ...) else self.logdisplay(style, ...) self.flash(self.flash.NEUTRAL, style, ...) end end
self.logSeen = function(e, style, ...) if e and self.level.map.seens(e.x, e.y) then self.log(style, ...) end end
self.logPlayer = function(e, style, ...) if e == self.player then self.log(style, ...) end end
self.logNewest = function() return self.logdisplay:getNewestLine() end
self.log(self.flash.GOOD, "Welcome to #00FF00#the template module!")
......
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