From b6c9cf60db24e7d3aa28235369553a75c64275b7 Mon Sep 17 00:00:00 2001 From: hkc Date: Thu, 12 Oct 2023 21:58:51 +0300 Subject: [PATCH] more info about entities :p --- augment/main.lua | 1 + augment/modules/event.lua | 1 - augment/modules/wh.lua | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/augment/main.lua b/augment/main.lua index 76e28bf..896a661 100644 --- a/augment/main.lua +++ b/augment/main.lua @@ -81,5 +81,6 @@ function() -- Neural Interface coroutine os.sleep(0.05) end _G.canvas3d_src.clear() + _G.canvas2d.clear() end, table.unpack(modules)) print("Goodbye!") diff --git a/augment/modules/event.lua b/augment/modules/event.lua index f984e2c..c87b04a 100644 --- a/augment/modules/event.lua +++ b/augment/modules/event.lua @@ -9,6 +9,5 @@ return function() else print(table.unpack(ev)) end - os.sleep(0.05) end end diff --git a/augment/modules/wh.lua b/augment/modules/wh.lua index 2da4b33..e195376 100644 --- a/augment/modules/wh.lua +++ b/augment/modules/wh.lua @@ -24,7 +24,7 @@ return function() 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].text.setAlpha(0xFF) - cache[id].text.setText(entity.name) + cache[id].text.setText(entity.name + "\n" + textutils.serialize(entity)) cache[id].text.setColor(0xFF0000FF) end end