d31c5590fe
(if neither mod exists, there will no option to set the distribution node)
15 lines
525 B
Lua
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
|