From a1da74209b75c5543bd6f2e1cc8b1643adf13ffa Mon Sep 17 00:00:00 2001 From: Diego MartÃnez <kaeza@users.sf.net> Date: Tue, 18 Jun 2013 15:46:28 +0200 Subject: [PATCH] Constructor now digs node drops instead of actual nodes. --- technic/init.lua | 35 +++++++++++++---------------------- 1 files changed, 13 insertions(+), 22 deletions(-) diff --git a/technic/init.lua b/technic/init.lua index 184c8b9..58e0488 100644 --- a/technic/init.lua +++ b/technic/init.lua @@ -1,34 +1,26 @@ --- Minetest 0.4.4 : technic +-- Minetest 0.4.6 mod: technic +-- namespace: technic +-- (c) 2012-2013 by RealBadAngel <mk@realbadangel.pl> modpath=minetest.get_modpath("technic") --Read technic config file dofile(modpath.."/config.lua") - --- world gen -dofile(modpath.."/ores.lua") -if enable_rubber_tree_generation==true then dofile(modpath.."/rubber.lua") end - --- chests -dofile(modpath.."/chest_commons.lua") -dofile(modpath.."/iron_chest.lua") -dofile(modpath.."/copper_chest.lua") -dofile(modpath.."/silver_chest.lua") -dofile(modpath.."/gold_chest.lua") -dofile(modpath.."/mithril_chest.lua") +--helper functions +dofile(modpath.."/helpers.lua") --items -dofile(modpath.."/concrete.lua") dofile(modpath.."/items.lua") --LV machines +dofile(modpath.."/wires.lua") +dofile(modpath.."/battery_box.lua") +dofile(modpath.."/alloy_furnaces_commons.lua") dofile(modpath.."/alloy_furnace.lua") dofile(modpath.."/solar_panel.lua") dofile(modpath.."/geothermal.lua") dofile(modpath.."/water_mill.lua") dofile(modpath.."/electric_furnace.lua") -dofile(modpath.."/battery_box.lua") -dofile(modpath.."/wires.lua") dofile(modpath.."/tool_workshop.lua") dofile(modpath.."/music_player.lua") dofile(modpath.."/generator.lua") @@ -36,9 +28,11 @@ --MV machines dofile(modpath.."/wires_mv.lua") -dofile(modpath.."/solar_panel_mv.lua") dofile(modpath.."/battery_box_mv.lua") +dofile(modpath.."/solar_panel_mv.lua") dofile(modpath.."/electric_furnace_mv.lua") +dofile(modpath.."/alloy_furnace_mv.lua") +dofile(modpath.."/forcefield.lua") --Tools if enable_mining_drill==true then dofile(modpath.."/mining_drill.lua") end @@ -47,17 +41,14 @@ dofile(modpath.."/cans.lua") dofile(modpath.."/chainsaw.lua") dofile(modpath.."/tree_tap.lua") -dofile(modpath.."/screwdriver.lua") dofile(modpath.."/sonic_screwdriver.lua") -- mesecons and tubes related ---dofile(modpath.."/injector.lua") +dofile(modpath.."/injector.lua") dofile(modpath.."/node_breaker.lua") dofile(modpath.."/deployer.lua") dofile(modpath.."/constructor.lua") - -if enable_item_drop then dofile(modpath.."/item_drop.lua") end -if enable_item_pickup then dofile(modpath.."/item_pickup.lua") end +dofile(modpath.."/frames.lua") function has_locked_chest_privilege(meta, player) if player:get_player_name() ~= meta:get_string("owner") then -- Gitblit v1.8.0