2020-04-26 16:43:04 +03:00
|
|
|
--[[
|
|
|
|
|
|
|
|
TechAge
|
|
|
|
=======
|
|
|
|
|
2023-01-05 00:28:32 +03:00
|
|
|
Copyright (C) 2019-2023 Joachim Stolberg
|
2020-04-26 16:43:04 +03:00
|
|
|
|
2020-10-19 20:09:17 +03:00
|
|
|
AGPL v3
|
2020-04-26 16:43:04 +03:00
|
|
|
See LICENSE.txt for more information
|
|
|
|
|
|
|
|
]]--
|
|
|
|
|
|
|
|
techage = {}
|
|
|
|
|
|
|
|
-- Version for compatibility checks, see readme.md/history
|
2023-08-20 15:22:40 +03:00
|
|
|
techage.version = 1.17
|
2019-03-02 14:24:48 +03:00
|
|
|
|
2019-04-28 17:04:45 +03:00
|
|
|
if minetest.global_exists("tubelib") then
|
|
|
|
minetest.log("error", "[techage] Techage can't be used together with the mod tubelib!")
|
2020-04-26 16:43:04 +03:00
|
|
|
return
|
2019-04-28 17:04:45 +03:00
|
|
|
elseif minetest.global_exists("ironage") then
|
|
|
|
minetest.log("error", "[techage] Techage can't be used together with the mod ironage!")
|
2020-04-26 16:43:04 +03:00
|
|
|
return
|
2019-04-28 17:04:45 +03:00
|
|
|
elseif minetest.global_exists("techpack") then
|
|
|
|
minetest.log("error", "[techage] Techage can't be used together with the modpack techpack!")
|
2020-04-26 16:43:04 +03:00
|
|
|
return
|
2022-01-05 23:41:30 +03:00
|
|
|
elseif minetest.global_exists("tubelib2") and tubelib2.version < 2.2 then
|
|
|
|
minetest.log("error", "[techage] Techage requires tubelib2 version 2.2 or newer!")
|
2020-04-26 16:43:04 +03:00
|
|
|
return
|
2023-02-05 20:14:01 +03:00
|
|
|
elseif minetest.global_exists("minecart") and minecart.version < 2.04 then
|
|
|
|
minetest.log("error", "[techage] Techage requires minecart version 2.04 or newer!")
|
2020-04-26 16:43:04 +03:00
|
|
|
return
|
2023-08-20 22:46:31 +03:00
|
|
|
elseif minetest.global_exists("lcdlib") and lcdlib.version < 1.03 then
|
|
|
|
minetest.log("error", "[techage] Techage requires lcdlib version 1.03 or newer!")
|
2020-04-26 16:43:04 +03:00
|
|
|
return
|
2021-11-28 16:42:18 +03:00
|
|
|
elseif minetest.global_exists("safer_lua") and safer_lua.version < 1.01 then
|
|
|
|
minetest.log("error", "[techage] Techage requires safer_lua version 1.01 or newer!")
|
2020-04-26 16:43:04 +03:00
|
|
|
return
|
2023-02-19 23:29:07 +03:00
|
|
|
elseif minetest.global_exists("networks") and networks.version < 0.13 then
|
|
|
|
minetest.log("error", "[techage] Techage requires networks version 0.13 or newer!")
|
2021-07-06 22:37:29 +03:00
|
|
|
return
|
2021-11-02 23:28:22 +03:00
|
|
|
elseif minetest.global_exists("hyperloop") and hyperloop.version < 2.07 then
|
|
|
|
minetest.log("error", "[techage] Techage requires hyperloop version 2.07 or newer!")
|
|
|
|
return
|
2020-04-26 16:43:04 +03:00
|
|
|
end
|
|
|
|
|
2021-03-19 22:06:22 +03:00
|
|
|
-- Test MT 5.4 new string mode
|
2021-04-24 20:24:15 +03:00
|
|
|
techage.CLIP = minetest.features.use_texture_alpha_string_modes and "clip" or false
|
|
|
|
techage.BLEND = minetest.features.use_texture_alpha_string_modes and "blend" or true
|
2021-03-19 22:06:22 +03:00
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
techage.NodeDef = {} -- node registration info
|
|
|
|
|
|
|
|
techage.max_num_forceload_blocks = tonumber(minetest.settings:get("techage_max_num_forceload_blocks")) or 24
|
2021-06-05 12:42:30 +03:00
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
techage.ore_rarity = tonumber(minetest.settings:get("techage_ore_rarity")) or 1
|
|
|
|
techage.modified_recipes_enabled = minetest.settings:get_bool("techage_modified_recipes_enabled") ~= false
|
2021-12-12 22:41:49 +03:00
|
|
|
techage.collider_min_depth = tonumber(minetest.settings:get("techage_collider_min_depth")) or -28
|
2022-08-03 23:19:46 +03:00
|
|
|
techage.recipe_checker_enabled = minetest.settings:get_bool("techage_recipe_checker_enabled") ~= false
|
2023-03-13 16:11:08 +03:00
|
|
|
techage.stair_aliases_enabled = minetest.settings:get_bool("techage_stair_aliases_enabled") ~= false
|
2020-04-26 16:43:04 +03:00
|
|
|
|
2020-05-19 23:24:50 +03:00
|
|
|
-- allow to load marshal and sqlite3
|
|
|
|
techage.IE = minetest.request_insecure_environment()
|
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
-- Load support for I18n.
|
|
|
|
techage.S = minetest.get_translator("techage")
|
|
|
|
|
2020-05-23 15:11:35 +03:00
|
|
|
-- Load mod storage
|
|
|
|
techage.storage = minetest.get_mod_storage()
|
|
|
|
|
2020-08-03 20:35:33 +03:00
|
|
|
-- Ensure compatibility with older Minetest versions by providing
|
|
|
|
-- a dummy implementation of `minetest.get_translated_string`.
|
|
|
|
if not minetest.get_translated_string then
|
|
|
|
minetest.get_translated_string = function(lang_code, string)
|
|
|
|
return string
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
-- Basis features
|
|
|
|
local MP = minetest.get_modpath("techage")
|
|
|
|
dofile(MP.."/basis/lib.lua") -- helper functions
|
2021-10-12 20:57:13 +03:00
|
|
|
dofile(MP.."/basis/counting.lua") -- command counting
|
2020-09-12 10:12:45 +03:00
|
|
|
dofile(MP.."/basis/fake_player.lua") -- dummy player object
|
2020-05-23 15:11:35 +03:00
|
|
|
dofile(MP.."/basis/node_store.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/basis/gravel_lib.lua") -- ore probability
|
|
|
|
dofile(MP.."/basis/node_states.lua") -- state model
|
|
|
|
dofile(MP.."/basis/tubes.lua") -- tubes for item transport
|
|
|
|
dofile(MP.."/basis/tubes_ta4.lua") -- TA4 tubes for item transport
|
|
|
|
dofile(MP.."/basis/tube_wall_entry.lua")
|
|
|
|
dofile(MP.."/basis/command.lua") -- command API
|
|
|
|
dofile(MP.."/basis/firebox_lib.lua") -- common firebox functions
|
|
|
|
dofile(MP.."/basis/boiler_lib.lua") -- common boiler functions
|
|
|
|
dofile(MP.."/basis/liquid_lib.lua") -- common liquids functions
|
|
|
|
dofile(MP.."/basis/fuel_lib.lua") -- common fuel functions
|
|
|
|
dofile(MP.."/basis/mark.lua")
|
|
|
|
dofile(MP.."/basis/mark2.lua")
|
|
|
|
dofile(MP.."/basis/assemble.lua")
|
|
|
|
dofile(MP.."/basis/recipe_lib.lua")
|
|
|
|
dofile(MP.."/basis/formspec_update.lua")
|
2020-10-11 18:57:15 +03:00
|
|
|
dofile(MP.."/basis/windturbine_lib.lua")
|
2021-02-15 23:51:15 +03:00
|
|
|
dofile(MP.."/basis/laser_lib.lua")
|
2021-07-06 20:39:32 +03:00
|
|
|
dofile(MP.."/basis/legacy.lua")
|
2021-11-02 23:28:22 +03:00
|
|
|
dofile(MP.."/basis/hyperloop.lua")
|
2021-12-11 22:15:55 +03:00
|
|
|
dofile(MP.."/basis/oggfiles.lua")
|
2021-12-30 17:05:20 +03:00
|
|
|
dofile(MP.."/basis/submenu.lua")
|
|
|
|
dofile(MP.."/basis/shared_inv.lua")
|
2021-12-31 19:25:37 +03:00
|
|
|
dofile(MP.."/basis/shared_tank.lua")
|
2022-01-02 23:00:46 +03:00
|
|
|
dofile(MP.."/basis/teleport.lua")
|
2022-12-06 20:43:10 +03:00
|
|
|
dofile(MP.."/basis/fly_lib.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Main doc
|
2023-08-18 18:30:55 +03:00
|
|
|
dofile(MP.."/doc/guide.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/doc/plans.lua")
|
|
|
|
dofile(MP.."/doc/items.lua")
|
|
|
|
|
2021-06-05 12:42:30 +03:00
|
|
|
dofile(MP.."/items/filling.lua")
|
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
-- Power networks
|
|
|
|
dofile(MP.."/power/formspecs.lua")
|
|
|
|
dofile(MP.."/power/drive_axle.lua")
|
|
|
|
dofile(MP.."/power/gearbox.lua")
|
|
|
|
dofile(MP.."/power/steam_pipe.lua")
|
|
|
|
dofile(MP.."/power/electric_cable.lua")
|
|
|
|
dofile(MP.."/power/junctionbox.lua")
|
2021-06-07 23:00:52 +03:00
|
|
|
dofile(MP.."/power/power_terminal.lua")
|
|
|
|
dofile(MP.."/power/power_terminal2.lua")
|
2021-06-05 12:42:30 +03:00
|
|
|
dofile(MP.."/power/powerswitchbox_legacy.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/power/powerswitchbox.lua")
|
|
|
|
dofile(MP.."/power/powerswitch.lua")
|
|
|
|
dofile(MP.."/power/protection.lua")
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/power/power_line.lua")
|
|
|
|
dofile(MP.."/power/ta4_cable.lua")
|
|
|
|
dofile(MP.."/power/ta4_cable_wall_entry.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Iron Age
|
|
|
|
dofile(MP.."/iron_age/main.lua")
|
|
|
|
dofile(MP.."/iron_age/gravelsieve.lua")
|
|
|
|
dofile(MP.."/iron_age/hopper.lua")
|
|
|
|
dofile(MP.."/iron_age/hammer.lua")
|
|
|
|
dofile(MP.."/iron_age/lighter.lua")
|
|
|
|
dofile(MP.."/iron_age/charcoalpile.lua")
|
|
|
|
dofile(MP.."/iron_age/coalburner.lua")
|
|
|
|
dofile(MP.."/iron_age/meltingpot.lua")
|
|
|
|
if techage.modified_recipes_enabled then
|
|
|
|
dofile(MP.."/iron_age/tools.lua")
|
|
|
|
end
|
2021-08-16 18:57:04 +03:00
|
|
|
|
|
|
|
-- TA1 Watermill
|
|
|
|
dofile(MP.."/ta1_watermill/ta1_axle.lua")
|
|
|
|
dofile(MP.."/ta1_watermill/watermill.lua")
|
|
|
|
dofile(MP.."/ta1_watermill/sluice.lua")
|
|
|
|
dofile(MP.."/ta1_watermill/millboard.lua")
|
|
|
|
dofile(MP.."/ta1_watermill/mill.lua")
|
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/iron_age/recipes.lua")
|
2021-08-16 18:57:04 +03:00
|
|
|
if minetest.global_exists("wielded_light") or minetest.global_exists("illumination") then
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/iron_age/meridium.lua")
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Steam Engine
|
|
|
|
dofile(MP.."/steam_engine/firebox.lua")
|
|
|
|
dofile(MP.."/steam_engine/boiler.lua")
|
|
|
|
dofile(MP.."/steam_engine/cylinder.lua")
|
|
|
|
dofile(MP.."/steam_engine/flywheel.lua")
|
|
|
|
|
2021-06-16 23:51:30 +03:00
|
|
|
-- TA2 gravity-based energy storage
|
|
|
|
dofile(MP.."/ta2_energy_storage/ta2_rope.lua")
|
|
|
|
dofile(MP.."/ta2_energy_storage/ta2_winch.lua")
|
|
|
|
dofile(MP.."/ta2_energy_storage/ta2_weight_chest.lua")
|
2023-08-26 18:55:12 +03:00
|
|
|
dofile(MP.."/ta2_energy_storage/ta2_clutch.lua")
|
2021-06-16 23:51:30 +03:00
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
-- Liquids I
|
|
|
|
dofile(MP.."/liquids/liquid_pipe.lua")
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/liquids/valve.lua")
|
|
|
|
dofile(MP.."/liquids/pipe_wall_entry.lua")
|
2022-01-10 23:39:36 +03:00
|
|
|
dofile(MP.."/fusion_reactor/gas_pipe.lua")
|
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Basic Machines
|
|
|
|
dofile(MP.."/basic_machines/consumer.lua") -- consumer base model
|
|
|
|
dofile(MP.."/basic_machines/source.lua")
|
|
|
|
dofile(MP.."/basic_machines/pusher.lua")
|
2021-07-06 20:39:32 +03:00
|
|
|
dofile(MP.."/basic_machines/foreign_nodes.lua")
|
2020-08-22 20:42:36 +03:00
|
|
|
dofile(MP.."/basic_machines/mods_support.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/basic_machines/grinder.lua")
|
2021-06-07 23:00:52 +03:00
|
|
|
dofile(MP.."/basic_machines/distributor.lua")
|
|
|
|
dofile(MP.."/basic_machines/gravelsieve.lua")
|
|
|
|
dofile(MP.."/basic_machines/gravelrinser.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/basic_machines/chest.lua")
|
2021-06-07 23:00:52 +03:00
|
|
|
dofile(MP.."/basic_machines/autocrafter.lua")
|
|
|
|
dofile(MP.."/basic_machines/electronic_fab.lua")
|
|
|
|
dofile(MP.."/basic_machines/liquidsampler.lua")
|
|
|
|
dofile(MP.."/basic_machines/quarry.lua")
|
|
|
|
dofile(MP.."/basic_machines/ta4_chest.lua")
|
|
|
|
dofile(MP.."/basic_machines/ta4_injector.lua")
|
|
|
|
dofile(MP.."/basic_machines/itemsource.lua")
|
|
|
|
dofile(MP.."/basic_machines/recycler.lua")
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/basic_machines/concentrator.lua")
|
2021-11-28 16:42:18 +03:00
|
|
|
dofile(MP.."/basic_machines/recipeblock.lua")
|
2023-05-06 19:40:15 +03:00
|
|
|
dofile(MP.."/basic_machines/ta5_chest.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Liquids II
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/liquids/tank.lua")
|
|
|
|
dofile(MP.."/liquids/filler.lua")
|
|
|
|
dofile(MP.."/liquids/silo.lua")
|
|
|
|
dofile(MP.."/liquids/pump.lua")
|
|
|
|
dofile(MP.."/liquids/waterpump.lua")
|
|
|
|
dofile(MP.."/liquids/waterinlet.lua")
|
2021-12-31 19:25:37 +03:00
|
|
|
dofile(MP.."/liquids/ta5_tank.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Coal power station
|
2021-06-07 23:00:52 +03:00
|
|
|
dofile(MP.."/coal_power_station/firebox.lua")
|
|
|
|
dofile(MP.."/coal_power_station/boiler_base.lua")
|
|
|
|
dofile(MP.."/coal_power_station/boiler_top.lua")
|
|
|
|
dofile(MP.."/coal_power_station/generator.lua")
|
|
|
|
dofile(MP.."/coal_power_station/turbine.lua")
|
|
|
|
dofile(MP.."/coal_power_station/cooler.lua")
|
|
|
|
dofile(MP.."/coal_power_station/oilfirebox.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Industrial Furnace
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/furnace/firebox.lua")
|
|
|
|
dofile(MP.."/furnace/cooking.lua")
|
|
|
|
dofile(MP.."/furnace/furnace_top.lua")
|
|
|
|
dofile(MP.."/furnace/booster.lua")
|
|
|
|
dofile(MP.."/furnace/heater.lua")
|
|
|
|
dofile(MP.."/furnace/recipes.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Tools
|
2021-06-05 21:18:04 +03:00
|
|
|
dofile(MP.."/tools/trowel.lua")
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/tools/repairkit.lua")
|
|
|
|
dofile(MP.."/tools/pipe_wrench.lua")
|
|
|
|
dofile(MP.."/basic_machines/blackhole.lua")
|
|
|
|
dofile(MP.."/basic_machines/forceload.lua")
|
2022-01-05 14:48:36 +03:00
|
|
|
dofile(MP.."/tools/screwdriver.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Lamps
|
2021-06-07 23:00:52 +03:00
|
|
|
dofile(MP.."/lamps/lib.lua")
|
2022-01-03 23:40:31 +03:00
|
|
|
dofile(MP.."/lamps/lightblock.lua")
|
2021-06-07 23:00:52 +03:00
|
|
|
dofile(MP.."/lamps/simplelamp.lua")
|
|
|
|
dofile(MP.."/lamps/streetlamp.lua")
|
|
|
|
dofile(MP.."/lamps/streetlamp2.lua")
|
|
|
|
dofile(MP.."/lamps/ceilinglamp.lua")
|
|
|
|
dofile(MP.."/lamps/industriallamp1.lua")
|
|
|
|
dofile(MP.."/lamps/industriallamp2.lua")
|
|
|
|
dofile(MP.."/lamps/industriallamp3.lua")
|
|
|
|
dofile(MP.."/lamps/industriallamp4.lua")
|
|
|
|
dofile(MP.."/lamps/growlight.lua")
|
|
|
|
dofile(MP.."/lamps/lampholder.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Oil
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/oil/explore.lua")
|
|
|
|
dofile(MP.."/oil/tower.lua")
|
|
|
|
dofile(MP.."/oil/drillbox.lua")
|
|
|
|
dofile(MP.."/oil/pumpjack.lua")
|
|
|
|
dofile(MP.."/oil/distiller.lua")
|
|
|
|
dofile(MP.."/oil/reboiler.lua")
|
|
|
|
-- dofile(MP.."/oil/gasflare.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- TA3 power based
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/ta3_power/tiny_generator.lua")
|
2021-06-07 23:00:52 +03:00
|
|
|
dofile(MP.."/ta3_power/akkubox.lua")
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/ta3_power/axle2power.lua")
|
|
|
|
dofile(MP.."/ta3_power/power2axle.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
2021-06-28 23:27:04 +03:00
|
|
|
-- TA4 power based
|
|
|
|
dofile(MP.."/ta4_power/laser.lua")
|
|
|
|
dofile(MP.."/ta4_power/transformer.lua")
|
2021-06-29 20:55:23 +03:00
|
|
|
dofile(MP.."/ta4_power/electricmeter.lua")
|
2021-06-28 23:27:04 +03:00
|
|
|
|
2020-07-21 22:41:31 +03:00
|
|
|
-- Digtron
|
2021-06-19 16:06:08 +03:00
|
|
|
if minetest.global_exists("digtron") then
|
|
|
|
dofile(MP.."/digtron/battery.lua")
|
|
|
|
end
|
2020-07-21 22:41:31 +03:00
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
-- Logic
|
2021-06-19 16:06:08 +03:00
|
|
|
dofile(MP.."/logic/lib.lua")
|
|
|
|
dofile(MP.."/logic/terminal.lua")
|
|
|
|
dofile(MP.."/logic/button.lua")
|
|
|
|
dofile(MP.."/logic/detector.lua")
|
|
|
|
dofile(MP.."/logic/repeater.lua")
|
|
|
|
dofile(MP.."/logic/programmer.lua")
|
|
|
|
dofile(MP.."/logic/signallamp.lua")
|
|
|
|
dofile(MP.."/logic/sequencer.lua")
|
2021-10-23 17:12:09 +03:00
|
|
|
dofile(MP.."/logic/sequencer2.lua")
|
2021-06-19 16:06:08 +03:00
|
|
|
dofile(MP.."/logic/timer.lua")
|
|
|
|
dofile(MP.."/logic/lua_logic.lua") -- old
|
|
|
|
dofile(MP.."/logic/logic_block.lua") -- new
|
|
|
|
dofile(MP.."/logic/node_detector.lua")
|
2022-02-07 16:50:44 +03:00
|
|
|
dofile(MP.."/logic/light_detector.lua")
|
2021-06-19 16:06:08 +03:00
|
|
|
dofile(MP.."/logic/player_detector.lua")
|
2023-06-08 22:09:27 +03:00
|
|
|
dofile(MP.."/logic/gaze_sensor.lua")
|
|
|
|
dofile(MP.."/logic/command_converter.lua")
|
2023-06-09 17:31:22 +03:00
|
|
|
dofile(MP.."/logic/flipflop.lua")
|
2021-11-28 16:42:18 +03:00
|
|
|
dofile(MP.."/logic/mba_detector.lua")
|
2021-06-19 16:06:08 +03:00
|
|
|
dofile(MP.."/logic/cart_detector.lua")
|
2023-05-17 23:02:10 +03:00
|
|
|
dofile(MP.."/logic/charge_detector.lua")
|
2021-06-19 16:06:08 +03:00
|
|
|
dofile(MP.."/logic/collector.lua")
|
2021-11-06 22:09:11 +03:00
|
|
|
dofile(MP.."/logic/button_2x.lua")
|
2021-09-24 23:19:36 +03:00
|
|
|
dofile(MP.."/logic/button_4x.lua")
|
2021-11-06 22:09:11 +03:00
|
|
|
dofile(MP.."/logic/signallamp_2x.lua")
|
|
|
|
dofile(MP.."/logic/signallamp_4x.lua")
|
2021-06-19 16:06:08 +03:00
|
|
|
if minetest.global_exists("mesecon") then
|
|
|
|
dofile(MP.."/logic/mesecons_converter.lua")
|
|
|
|
end
|
2020-04-26 16:43:04 +03:00
|
|
|
|
2021-11-15 21:26:59 +03:00
|
|
|
-- move_controller
|
|
|
|
dofile(MP.."/move_controller/gateblock.lua")
|
|
|
|
dofile(MP.."/move_controller/doorblock.lua")
|
|
|
|
dofile(MP.."/move_controller/doorcontroller.lua") -- old
|
|
|
|
dofile(MP.."/move_controller/doorcontroller2.lua") -- new
|
|
|
|
dofile(MP.."/move_controller/movecontroller.lua")
|
|
|
|
dofile(MP.."/move_controller/turncontroller.lua")
|
|
|
|
dofile(MP.."/move_controller/flycontroller.lua")
|
2021-12-11 22:15:55 +03:00
|
|
|
dofile(MP.."/move_controller/soundblock.lua")
|
2021-11-15 21:26:59 +03:00
|
|
|
|
|
|
|
|
2020-04-26 16:43:04 +03:00
|
|
|
-- Test
|
2022-08-03 23:19:46 +03:00
|
|
|
if techage.recipe_checker_enabled then
|
|
|
|
dofile(MP.."/recipe_checker.lua")
|
|
|
|
end
|
2020-04-26 16:43:04 +03:00
|
|
|
dofile(MP.."/.test/sink.lua")
|
2022-08-05 18:48:47 +03:00
|
|
|
dofile(MP.."/.test/testblock.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Solar
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/solar/minicell.lua")
|
|
|
|
dofile(MP.."/solar/solarcell.lua")
|
|
|
|
dofile(MP.."/solar/inverter.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Wind
|
2021-06-19 16:06:08 +03:00
|
|
|
dofile(MP.."/wind_turbine/rotor.lua")
|
|
|
|
dofile(MP.."/wind_turbine/pillar.lua")
|
|
|
|
dofile(MP.."/wind_turbine/signallamp.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- TA4 Energy Storage
|
2021-06-19 16:06:08 +03:00
|
|
|
dofile(MP.."/energy_storage/heatexchanger3.lua")
|
|
|
|
dofile(MP.."/energy_storage/heatexchanger2.lua")
|
|
|
|
dofile(MP.."/energy_storage/heatexchanger1.lua")
|
|
|
|
dofile(MP.."/energy_storage/generator.lua")
|
|
|
|
dofile(MP.."/energy_storage/turbine.lua")
|
|
|
|
dofile(MP.."/energy_storage/inlet.lua")
|
|
|
|
dofile(MP.."/energy_storage/nodes.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Chemistry
|
2021-06-20 23:21:56 +03:00
|
|
|
dofile(MP.."/chemistry/ta4_reactor.lua")
|
|
|
|
dofile(MP.."/chemistry/ta4_stand.lua")
|
|
|
|
dofile(MP.."/chemistry/ta4_doser.lua")
|
|
|
|
dofile(MP.."/chemistry/ta4_liquid_filter.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Hydrogen
|
2021-06-20 23:21:56 +03:00
|
|
|
dofile(MP.."/hydrogen/fuelcellstack.lua")
|
|
|
|
dofile(MP.."/hydrogen/electrolyzer.lua")
|
|
|
|
dofile(MP.."/hydrogen/fuelcell.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- ICTA Controller
|
2021-06-27 19:29:46 +03:00
|
|
|
dofile(MP.."/icta_controller/submenu.lua")
|
|
|
|
dofile(MP.."/icta_controller/condition.lua")
|
|
|
|
dofile(MP.."/icta_controller/action.lua")
|
|
|
|
dofile(MP.."/icta_controller/formspec.lua")
|
|
|
|
dofile(MP.."/icta_controller/controller.lua")
|
|
|
|
dofile(MP.."/icta_controller/commands.lua")
|
|
|
|
dofile(MP.."/icta_controller/edit.lua")
|
|
|
|
dofile(MP.."/icta_controller/battery.lua")
|
|
|
|
dofile(MP.."/icta_controller/display.lua")
|
|
|
|
dofile(MP.."/icta_controller/signaltower.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Lua Controller
|
|
|
|
dofile(MP.."/lua_controller/controller.lua")
|
2021-06-27 19:29:46 +03:00
|
|
|
dofile(MP.."/lua_controller/commands.lua")
|
|
|
|
dofile(MP.."/lua_controller/server.lua")
|
|
|
|
dofile(MP.."/lua_controller/sensorchest.lua")
|
|
|
|
dofile(MP.."/lua_controller/terminal.lua")
|
2020-04-26 16:43:04 +03:00
|
|
|
|
|
|
|
-- Items
|
2021-06-09 23:09:59 +03:00
|
|
|
dofile(MP.."/items/registered_nodes.lua")
|
|
|
|
dofile(MP.."/items/barrel.lua")
|
|
|
|
dofile(MP.."/items/baborium.lua")
|
|
|
|
dofile(MP.."/items/usmium.lua")
|
|
|
|
dofile(MP.."/items/lye.lua")
|
|
|
|
dofile(MP.."/items/oil.lua")
|
|
|
|
dofile(MP.."/items/petroleum.lua")
|
|
|
|
dofile(MP.."/items/bauxit.lua")
|
2021-06-20 23:21:56 +03:00
|
|
|
dofile(MP.."/items/silicon.lua")
|
|
|
|
dofile(MP.."/items/steelmat.lua")
|
2021-09-10 16:43:48 +03:00
|
|
|
dofile(MP.."/items/aluminium.lua")
|
2021-06-20 23:21:56 +03:00
|
|
|
dofile(MP.."/items/powder.lua")
|
|
|
|
dofile(MP.."/items/epoxy.lua")
|
|
|
|
dofile(MP.."/items/plastic.lua")
|
|
|
|
dofile(MP.."/items/hydrogen.lua")
|
|
|
|
dofile(MP.."/items/electronic.lua")
|
|
|
|
dofile(MP.."/items/redstone.lua")
|
|
|
|
dofile(MP.."/items/cement.lua")
|
|
|
|
dofile(MP.."/items/cracking.lua")
|
|
|
|
dofile(MP.."/items/ceramic.lua")
|
|
|
|
dofile(MP.."/items/basalt.lua")
|
|
|
|
dofile(MP.."/items/moreblocks.lua")
|
2020-05-14 23:06:35 +03:00
|
|
|
|
|
|
|
-- Carts
|
2021-06-27 19:29:46 +03:00
|
|
|
dofile(MP.."/carts/tank_cart.lua")
|
|
|
|
dofile(MP.."/carts/chest_cart.lua")
|
2020-05-19 23:24:50 +03:00
|
|
|
|
2022-01-10 23:39:36 +03:00
|
|
|
-- TA4 Collider
|
2021-12-11 22:15:55 +03:00
|
|
|
dofile(MP.."/collider/vacuumtube.lua")
|
|
|
|
dofile(MP.."/collider/magnet.lua")
|
|
|
|
dofile(MP.."/collider/inlets.lua")
|
|
|
|
dofile(MP.."/collider/cooler.lua")
|
|
|
|
dofile(MP.."/collider/detector.lua")
|
|
|
|
dofile(MP.."/collider/worker.lua")
|
|
|
|
|
2022-01-10 23:39:36 +03:00
|
|
|
-- TA5 Teleport
|
2022-01-02 23:00:46 +03:00
|
|
|
dofile(MP.."/teleport/teleport_tube.lua")
|
2022-01-03 01:00:21 +03:00
|
|
|
dofile(MP.."/teleport/teleport_pipe.lua")
|
2022-01-02 23:00:46 +03:00
|
|
|
|
2022-01-10 23:39:36 +03:00
|
|
|
-- TA5 Fusion Reactor
|
2022-01-08 00:35:12 +03:00
|
|
|
dofile(MP.."/fusion_reactor/shell.lua")
|
|
|
|
dofile(MP.."/fusion_reactor/magnet.lua")
|
|
|
|
dofile(MP.."/fusion_reactor/controller.lua")
|
2022-01-10 23:39:36 +03:00
|
|
|
dofile(MP.."/fusion_reactor/heatexchanger3.lua")
|
|
|
|
dofile(MP.."/fusion_reactor/heatexchanger2.lua")
|
|
|
|
dofile(MP.."/fusion_reactor/heatexchanger1.lua")
|
2022-01-12 22:50:18 +03:00
|
|
|
dofile(MP.."/fusion_reactor/generator.lua")
|
2022-01-10 23:39:36 +03:00
|
|
|
dofile(MP.."/fusion_reactor/turbine.lua")
|
2022-01-12 22:50:18 +03:00
|
|
|
dofile(MP.."/fusion_reactor/ta5_pump.lua")
|
2020-05-19 23:24:50 +03:00
|
|
|
|
2022-06-09 22:46:56 +03:00
|
|
|
-- Beduino extensions
|
|
|
|
dofile(MP.."/beduino/kv_store.lua")
|
|
|
|
|
2020-05-19 23:24:50 +03:00
|
|
|
-- Prevent other mods from using IE
|
|
|
|
techage.IE = nil
|