2018-11-02 18:13:56 -04:00
|
|
|
-- simple streetlight spawner mod
|
2018-09-20 13:44:42 -04:00
|
|
|
|
2018-11-02 18:13:56 -04:00
|
|
|
local modpath = minetest.get_modpath("simple_streetlights")
|
2018-11-02 16:42:05 -04:00
|
|
|
|
2019-05-03 01:53:42 -04:00
|
|
|
streetlights = {}
|
|
|
|
streetlights.basic_materials = minetest.get_modpath("basic_materials")
|
|
|
|
streetlights.concrete = "basic_materials:concrete_block"
|
|
|
|
|
2018-11-02 18:13:56 -04:00
|
|
|
dofile(modpath.."/simple.lua")
|
2019-05-02 22:06:12 -04:00
|
|
|
if minetest.get_modpath("homedecor_lighting") and minetest.get_modpath("streetspoles") then
|
2018-11-02 18:13:56 -04:00
|
|
|
dofile(modpath.."/minedot.lua")
|
2018-09-20 13:44:42 -04:00
|
|
|
end
|