air_light_level/air_light_level.lua

26 lines
629 B
Lua

--for light node that don't spread
for i=1,14 do
minetest.register_node("air_light_level:" .. i, {
description = "Air: light level " .. i,
drawtype = "airlike",
paramtype = "light",
sunlight_propagates = true, --shouldn't replace sunlight in case of transparent ceiling
light_source = i,
walkable = false,
pointable = false,
diggable = false,
buildable_to = true,
air_equivalent = true,
floodable = true,
drop = "",
groups = {}--not_in_creative_inventory=0}
})
end