simple_streetlights/init.lua

23 lines
689 B
Lua
Raw Normal View History

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")
streetlights = {}
streetlights.schematics = {}
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.."/functions.lua")
2018-11-02 15:13:56 -07:00
dofile(modpath.."/simple.lua")
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