add modeline
This commit is contained in:
parent
8b086b00fe
commit
059a6dcd5a
2
burn
2
burn
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
function select_next_item()
|
||||
local sel_pos = 0
|
||||
turtle.select(sel_pos + 1)
|
||||
|
2
client
2
client
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
local hostname = "turtle" .. os.getComputerID()
|
||||
|
||||
local sides = peripheral.getNames()
|
||||
|
2
control
2
control
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
local sides = peripheral.getNames()
|
||||
for i = 1, #sides do
|
||||
if peripheral.getType(sides[i]) == "modem" then
|
||||
|
2
de_store
2
de_store
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
local hostname = "de_store" .. os.getComputerID()
|
||||
|
||||
function dump(o)
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
local hostname = "pocket_computer" .. os.getComputerID()
|
||||
|
||||
redstone_toggle_id = 50
|
||||
|
1
get
1
get
@ -1,3 +1,4 @@
|
||||
-- vi: ft=lua
|
||||
-- utility to download files from the git repo
|
||||
|
||||
local function printUsage()
|
||||
|
2
react
2
react
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
--import utils for lamp rednet stuffs
|
||||
require("git-scripts.utils")
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
require("git-scripts.utils")
|
||||
|
||||
modemSide = utils.getSideOf("modem") --get side the modem is on
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
local hostname = "redstone_toggle" .. os.getComputerID()
|
||||
|
||||
function dump(o)
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
require("git-scripts.utils")
|
||||
|
||||
local function printUsage()
|
||||
|
2
utils
2
utils
@ -1,3 +1,5 @@
|
||||
-- vi: ft=lua
|
||||
|
||||
--lua module "utils" for random utilities
|
||||
if utils then return end --avoid loading twice
|
||||
utils = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user