fixes to solar panel and battery boxes

not possible any longer to load many batboxes at the same time
solar panels now have energy buffers too, so 1st batbox will be loaded,
then the next one etc
This commit is contained in:
Maciej Kasatkin
2012-09-02 03:12:24 +02:00
parent 77007b3746
commit 54529cbf54
5 changed files with 94 additions and 677 deletions

View File

@ -1,4 +1,4 @@
-- Minetest 0.4.1 mod: technic
-- Minetest 0.4.2 rc1: technic
minetest.register_alias("rebar", "technic:rebar")
minetest.register_alias("concrete", "technic:concrete")
@ -29,6 +29,10 @@ dofile(minetest.get_modpath("technic").."/tool_workshop.lua")
dofile(minetest.get_modpath("technic").."/music_player.lua")
dofile(minetest.get_modpath("technic").."/grinder.lua")
dofile(minetest.get_modpath("technic").."/mining_laser_mk1.lua")
--dofile(minetest.get_modpath("technic").."/project_table.lua")
--dofile(minetest.get_modpath("technic").."/injector.lua")
dofile(minetest.get_modpath("technic").."/generator.lua")
dofile(minetest.get_modpath("technic").."/solar_panel.lua")
function has_locked_chest_privilege(meta, player)