Chaosforge Forum

DoomRL => Modding => Topic started by: gindandcubes on January 16, 2017, 10:07

Title: Level not declared in rawset(Level, "clear", function())
Post by: gindandcubes on January 16, 2017, 10:07
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: [Select]
rawset(Level, "clear", function()
 ...code here ...
)


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?