Skip to content

Commit

Permalink
some cleanup, set StarTech version to Alpha v0.02b
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaPRIME committed Sep 24, 2016
1 parent eddf4a1 commit cb90dbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion StarTech/_metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "Alpha v0.02",
"version" : "Alpha v0.02b",
"friendlyName" : "StarTech",
"name" : "StarTech",
"author" : "zetaPRIME",
Expand Down
11 changes: 0 additions & 11 deletions StarTech/objects/tech/storagenet/terminal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@ function init()
message.setHandler("playerOpen", playerOpen)
message.setHandler("playerClose", playerClose)
message.setHandler("playerHeartbeat", playerHeartbeat)
--
--object.say(dump(world.getProperty("worldType")))
--sb.logInfo(dump(world.entityQuery(entity.position(), 1000)))
if true then return nil end
for k,v in pairs(world.entityQuery(entity.position(), 10000)) do
local tp = world.entityType(v)
local tn = false
if tp == "stagehand" then tn = world.callScriptedEntity(v, "stagehand.typeName")
else tn = world.entityName(v) or "n/a" end
sb.logInfo("["..k.."] " .. tp .. " - " .. tn)
end
end

function playerOpen(msg, isLocal, pid)
Expand Down

0 comments on commit cb90dbb

Please sign in to comment.