more info about entities :p
This commit is contained in:
parent
895f1595f5
commit
b6c9cf60db
|
@ -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!")
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue