Twice Upon a Loader
This commit is contained in:
commit
86367a3863
50 changed files with 2388 additions and 0 deletions
12
scripts/basicTest.lua
Normal file
12
scripts/basicTest.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
-- This is a very basic test script
|
||||
-- This basically just verifies the mod works
|
||||
|
||||
local int = peripheral.find("digital_tardim_interface")
|
||||
if int == nil then
|
||||
error("No interface found")
|
||||
end
|
||||
|
||||
print(int.getOwnerName() .. "'s TARDIM")
|
||||
print("FUEL: " .. int.getFuel() .. "/100")
|
||||
print("IN FLIGHT? " .. int.isInFlight())
|
||||
print("IS LOCKED? " .. int.isLocked())
|
Loading…
Add table
Add a link
Reference in a new issue