Removed trace statements, moved a couple util files
This commit is contained in:
@@ -15,10 +15,7 @@ roomManagerAPI.SetOnCreate(function(room, index)
|
||||
|
||||
roomAPI.SetOnTick(room, function(room)
|
||||
roomAPI.ForEachCharacter(room, function(character)
|
||||
--testing the metatables
|
||||
local meta = getmetatable(character)
|
||||
print("", "userdata metatable: ", meta)
|
||||
print(character["trying"])
|
||||
--
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
@@ -36,14 +33,4 @@ roomAPI.Initialize(underworld, mapSaver.Load, mapSaver.Save, mapMaker.DebugGrass
|
||||
--call the monstrosity
|
||||
doorUtility.createDoorPair("pair 1", overworld, 0, -64, underworld, 0, 0)
|
||||
|
||||
--testing the metatables
|
||||
print("debug")
|
||||
overworld["key"] = "value"
|
||||
local key = overworld["key"]
|
||||
print("", "result: ", key)
|
||||
|
||||
local key = underworld["key"]
|
||||
print("", "result: ", key)
|
||||
--end test
|
||||
|
||||
print("Finished the lua script")
|
||||
|
||||
Reference in New Issue
Block a user