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
|
-- Retrieves pos coordinates in string value
|
||||||
function sneeker.get_pos_string(pos)
|
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
|
end
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
-- Original code by Rui: WTFPL
|
|
||||||
|
|
||||||
|
|
||||||
local time_hr = sneeker.time_min * 60
|
local time_hr = sneeker.time_min * 60
|
||||||
local time_day = time_hr * 24
|
local time_day = time_hr * 24
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
-- Original code by Rui: WTFPL
|
|
||||||
|
|
||||||
|
|
||||||
-- From TNT
|
-- From TNT
|
||||||
local cid_data = {}
|
local cid_data = {}
|
||||||
@ -187,7 +185,7 @@ local function explode(pos, radius)
|
|||||||
return drops
|
return drops
|
||||||
end
|
end
|
||||||
|
|
||||||
function sneeker.boom(pos,large)
|
function sneeker.boom(pos, large)
|
||||||
local radius = radius
|
local radius = radius
|
||||||
if large then
|
if large then
|
||||||
radius = large_radius
|
radius = large_radius
|
||||||
|
Loading…
Reference in New Issue
Block a user