616f2d7777
allow holding shift/sneak while "placing" a spawner to automatically "set" the streetlight in concrete.
13 lines
403 B
Lua
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
|