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)