DoomRL > Modding

Level not declared in rawset(Level, "clear", function())

(1/1)

gindandcubes:
Howdy

I'm trying to get the inferno module working with 0.9.9.7.

However, I don't know much Lua, but because my career is programming (I use python and c++ extensively in my field), I thought it wouldn't be too difficult.

I get an error saying that Doomrl is trying to access a non declared variable "Level". The line is:


--- Code: ---rawset(Level, "clear", function()
 ...code here ...
)

--- End code ---


I did some poking around and found that Level is supposed to be a table object, and that global variables don't need to be declared as such.

Whats wrong here? Did something fundamental change in the modding api between '.6 and '.7?

Navigation

[0] Message Index

Go to full version