forked from lizzie/lc_liberties
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
572 B
17 lines
572 B
7 months ago
|
-- LUALOCALS < ---------------------------------------------------------
|
||
|
local include, nodecore
|
||
|
= include, nodecore
|
||
|
-- LUALOCALS > ---------------------------------------------------------
|
||
|
|
||
|
minetest.register_abm({
|
||
|
label = "go smoke",
|
||
|
interval = 15,
|
||
|
chance = 1,
|
||
|
nodenames = {"group:go_stone"},
|
||
|
action = function(pos, node)
|
||
|
if not (node.param2 == 0) then
|
||
|
nodecore.smokefx(pos, 60, node.param2)
|
||
|
end
|
||
|
end
|
||
|
})
|