2018-11-02 15:13:56 -07:00
|
|
|
-- simple streetlight spawner mod
|
2018-09-20 10:44:42 -07:00
|
|
|
|
2018-11-02 15:13:56 -07:00
|
|
|
local modpath = minetest.get_modpath("simple_streetlights")
|
2018-11-02 13:42:05 -07:00
|
|
|
|
2019-05-02 22:53:42 -07:00
|
|
|
streetlights = {}
|
2021-06-28 20:19:10 -07:00
|
|
|
streetlights.schematics = {}
|
2019-05-02 22:53:42 -07:00
|
|
|
streetlights.basic_materials = minetest.get_modpath("basic_materials")
|
2019-05-31 20:04:03 -07:00
|
|
|
streetlights.concrete = "basic_materials:concrete_block"
|
|
|
|
streetlights.distributor = "streets:digiline_distributor"
|
|
|
|
streetlights.vert_digiline = "digistuff:vertical_bottom"
|
2019-05-02 22:53:42 -07:00
|
|
|
|
2021-06-27 15:31:56 -07:00
|
|
|
dofile(modpath.."/functions.lua")
|
2018-11-02 15:13:56 -07:00
|
|
|
dofile(modpath.."/simple.lua")
|
2021-06-27 15:31:56 -07:00
|
|
|
|
2021-06-27 19:32:50 -07:00
|
|
|
if minetest.get_modpath("streetspoles") then
|
|
|
|
if minetest.get_modpath("homedecor_lighting") then
|
|
|
|
dofile(modpath.."/minedot.lua")
|
|
|
|
end
|
|
|
|
if minetest.get_modpath("morelights_modern") then
|
|
|
|
dofile(modpath.."/modern.lua")
|
|
|
|
end
|
2018-09-20 10:44:42 -07:00
|
|
|
end
|