Vanessa Dannenberg d31c5590fe if there's no digiline distributor, fall back to vertical digilines from "digistuff" mod
(if neither mod exists, there will no option to set the distribution node)
2019-05-31 23:04:03 -04:00

15 lines
525 B
Lua

-- simple streetlight spawner mod
local modpath = minetest.get_modpath("simple_streetlights")
streetlights = {}
streetlights.basic_materials = minetest.get_modpath("basic_materials")
streetlights.concrete = "basic_materials:concrete_block"
streetlights.distributor = "streets:digiline_distributor"
streetlights.vert_digiline = "digistuff:vertical_bottom"
dofile(modpath.."/simple.lua")
if minetest.get_modpath("homedecor_lighting") and minetest.get_modpath("streetspoles") then
dofile(modpath.."/minedot.lua")
end