Starbound

Starbound

Steambound Fix
Showing 1-2 of 2 entries
Update: 14 Nov, 2017 @ 7:46am

function turnedOff()
if not object.isInputNodeConnected(0) and not object.getInputNodeLevel(0) then
return true;
end
return false;
end

>

function turnedOff()
if object.isInputNodeConnected(0) and not object.getInputNodeLevel(0) then
return true;
end
return false;
end

Update: 14 Nov, 2017 @ 4:45am

function setInput(a, b, input)
storage.input = input;
storage.inputPos = world.entityPosition(input)
end

function setOutput(a, b, output)
storage.output = output;
storage.outputPos = world.entityPosition(output)
end

Changed to >

function setInput(a, b, input)
storage.input = input;
if input ~= nil then
storage.inputPos = world.entityPosition(input)
end
end

function setOutput(a, b, output)
storage.output = output;
if output ~= nil then
storage.outputPos = world.entityPosition(output)
end
end