flags='nolight' replaces set_lighting. add paramtype='light' to light sources. remove dummy luxore and light spread ABM
This commit is contained in:
@ -218,7 +218,7 @@ if SINGLENODE then
|
||||
-- Set mapgen parameters
|
||||
|
||||
minetest.register_on_mapgen_init(function(mgparams)
|
||||
minetest.set_mapgen_params({mgname="singlenode"})
|
||||
minetest.set_mapgen_params({mgname="singlenode", flags="nolight"})
|
||||
end)
|
||||
|
||||
-- Spawn player function. Requires chunksize = 80 nodes (the default)
|
||||
@ -369,18 +369,6 @@ minetest.register_abm({
|
||||
end,
|
||||
})
|
||||
|
||||
-- Update luxore light
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"watershed:luxoreoff"},
|
||||
interval = 5,
|
||||
chance = 8,
|
||||
action = function(pos, node)
|
||||
minetest.add_node(pos, {name="watershed:luxore"})
|
||||
nodeupdate(pos)
|
||||
end,
|
||||
})
|
||||
|
||||
-- Appletree sapling
|
||||
|
||||
minetest.register_abm({
|
||||
|
Reference in New Issue
Block a user