more info about entities :p

This commit is contained in:
Casey 2023-10-12 21:58:51 +03:00
parent 895f1595f5
commit b6c9cf60db
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
3 changed files with 2 additions and 2 deletions

View File

@ -81,5 +81,6 @@ function() -- Neural Interface coroutine
os.sleep(0.05) os.sleep(0.05)
end end
_G.canvas3d_src.clear() _G.canvas3d_src.clear()
_G.canvas2d.clear()
end, table.unpack(modules)) end, table.unpack(modules))
print("Goodbye!") print("Goodbye!")

View File

@ -9,6 +9,5 @@ return function()
else else
print(table.unpack(ev)) print(table.unpack(ev))
end end
os.sleep(0.05)
end end
end end

View File

@ -24,7 +24,7 @@ return function()
cache[id].cube.setPosition(entity.x - 0.25, entity.y - 0.25, entity.z - 0.25) cache[id].cube.setPosition(entity.x - 0.25, entity.y - 0.25, entity.z - 0.25)
cache[id].frame.setPosition(entity.x, entity.y, entity.z) cache[id].frame.setPosition(entity.x, entity.y, entity.z)
cache[id].text.setAlpha(0xFF) cache[id].text.setAlpha(0xFF)
cache[id].text.setText(entity.name) cache[id].text.setText(entity.name + "\n" + textutils.serialize(entity))
cache[id].text.setColor(0xFF0000FF) cache[id].text.setColor(0xFF0000FF)
end end
end end