Skip to content

Instantly share code, notes, and snippets.

@dulrich
dulrich / keybase.md
Created November 21, 2017 18:03
keybase proving

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@dulrich
dulrich / gist:7003488
Created October 16, 2013 06:35
straight shot mining laser
local playerpos = player:getpos()
local dir, pos
local power = 50 -- number of nodes lasered
local node
if (pointed_thing.type == "node") then
dir = {
x = pointed_thing.under.x - pointed_thing.above.x,
y = pointed_thing.under.y - pointed_thing.above.y,
z = pointed_thing.under.z - pointed_thing.above.z