Update progressBarEnergyExample.lua
This commit is contained in:
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
local filePath = "basalt.lua" --here you can change the file path default: basalt.lua
|
local filePath = "basalt.lua" --here you can change the file path default: basalt.lua
|
||||||
if not(fs.exists(filePath))then
|
if not(fs.exists(filePath))then
|
||||||
shell.run("pastebin run ESs1mg7P "..filePath) -- this is an alternative to the wget command
|
shell.run("pastebin run ESs1mg7P packed true "..filePath) -- this is an alternative to the wget command
|
||||||
end
|
end
|
||||||
local basalt = dofile(filePath) -- here you can change the variablename in any variablename you want default: basalt
|
local basalt = require(filePath) -- here you can change the variablename in any variablename you want default: basalt
|
||||||
|
|
||||||
local energyCube = peripheral.find("ultimateEnergyCube")
|
local energyCube = peripheral.find("ultimateEnergyCube")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user