changing workspaces (partial work on improved smoke)

master
capitalthree 2 months ago
parent bb41211163
commit 6d17da9f72
  1. 13
      rules.lua
  2. 1
      stones.lua

@ -30,11 +30,20 @@ local solid_drawtypes = {
local smokecontrol
if nodecore.smokeclear then
smokecontrol = function(pos, smoke,smoke2)
local existing = _check_position_uncached(pos)
if smoke then
nodecore.smokefx(pos, smoke, smoke2 or 1)
else
nodecore.smokeclear(pos)
end
--if smoke then
-- nodecore.smokefx(pos, smoke, smoke2 or 1)
--else
-- nodecore.smokeclear(pos)
--end
end
else
smokecontrol = function(pos, smoke) end

@ -52,6 +52,7 @@ local function reg(name, basename, basedef)
sounds = basedef.sounds,
paramtype = "light",
paramtype2 = "none",
groups = {
snappy = 1,

Loading…
Cancel
Save