forked from Mirrorlandia_minetest/mod-sneeker
Cleanup
This commit is contained in:
parent
edb0a24809
commit
b4b71f5dc8
@ -9,5 +9,5 @@ end
|
||||
|
||||
-- Retrieves pos coordinates in string value
|
||||
function sneeker.get_pos_string(pos)
|
||||
return 'x=' .. tostring(pos.x) .. ', y=' .. tostring(pos.y) .. ', z=' .. tostring(pos.z)
|
||||
return "x=" .. tostring(pos.x) .. ", y=" .. tostring(pos.y) .. ", z=" .. tostring(pos.z)
|
||||
end
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- Original code by Rui: WTFPL
|
||||
|
||||
|
||||
local time_hr = sneeker.time_min * 60
|
||||
local time_day = time_hr * 24
|
||||
|
@ -1,5 +1,3 @@
|
||||
-- Original code by Rui: WTFPL
|
||||
|
||||
|
||||
-- From TNT
|
||||
local cid_data = {}
|
||||
@ -187,7 +185,7 @@ local function explode(pos, radius)
|
||||
return drops
|
||||
end
|
||||
|
||||
function sneeker.boom(pos,large)
|
||||
function sneeker.boom(pos, large)
|
||||
local radius = radius
|
||||
if large then
|
||||
radius = large_radius
|
||||
|
Loading…
Reference in New Issue
Block a user