Vanessa Dannenberg 616f2d7777 if basic_materials is installed
allow holding shift/sneak while "placing" a spawner
to automatically "set" the streetlight in concrete.
2019-05-03 01:53:42 -04:00

13 lines
403 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"
dofile(modpath.."/simple.lua")
if minetest.get_modpath("homedecor_lighting") and minetest.get_modpath("streetspoles") then
dofile(modpath.."/minedot.lua")
end