elepower/elepower_lighting/init.lua
Sirrobzeroone 56d89df934 elepower lighting initial and elepower inventory update
Breaking Update:
~ elepower lighting added
  ~ light bulbs
  ~ flood lights
  ~ led panels
  ~ decorative shades
  ~ added to tome
~ improvements to dynamics inventory images
~ improvements to machine recipe storage
~ tome support for new recipes
~ additional elepower conduit types added with lighting and base
~ changes to compressing from 1 recipe slot to 2 slots (potential breaking change)
2021-08-08 20:39:20 +10:00

31 lines
1.3 KiB
Lua

------------------------------------------------------
-- ___ _ --
-- | __| |___ _ __ _____ __ _____ _ _ --
-- | _|| / -_) '_ \/ _ \ V V / -_) '_| --
-- |___|_\___| .__/\___/\_/\_/\___|_| --
-- _ _ |_| _ _ _ --
-- | | (_)__ _| |_| |_(_)_ _ __ _ --
-- | |__| / _` | ' \ _| | ' \/ _` | --
-- |____|_\__, |_||_\__|_|_||_\__, | --
-- |___/ |___/ --
------------------------------------------------------
-- --
------------------------------------------------------
-- Global variable for mod
elepower_lighting = {}
elepower_lighting.maxlight = 14
-- path, modname and translation
local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
elepower_lighting.S = minetest.get_translator(modname)
local S = elepower_lighting.S
-- includes
dofile(modpath .. "/i_functions.lua")
dofile(modpath .. "/i_register_nodes.lua")
dofile(modpath .. "/i_register_nodes_shades.lua")
dofile(modpath .. "/i_register_flood_lights.lua")
dofile(modpath .. "/i_craftitems.lua")
dofile(modpath .. "/i_crafting.lua")
dofile(modpath .. "/i_crafting_shades.lua")