a nil value - error
Posted: Wed Feb 01, 2017 4:24 pm
So I'm getting this error. In order to pinpoint it, I've done the following:
1) Made a brand new dungeon project (File->New)
2) Opened "items.lua"
3) Copy-pasted code from official site into "items.lua"
4) Reopened dungeon
I get the following error:
1) Made a brand new dungeon project (File->New)
2) Opened "items.lua"
3) Copy-pasted code from official site into "items.lua"
Code: Select all
cloneObject{
name = "super_machete",
baseObject = "machete",
uiName = "Super Machete",
attackPower = 12,
damageType = "shock",
description = "This machete radiates with strange energy.",
}
I get the following error:
Running on Windows 7. What am I missing?attempt to call a global 'cloneObject' (a nil value)