2019-03-23 21:15:13 +01:00
|
|
|
--[[
|
|
|
|
|
|
|
|
Signs Bot
|
|
|
|
=========
|
|
|
|
|
2021-03-14 13:32:48 +01:00
|
|
|
Copyright (C) 2019-2021 Joachim Stolberg
|
2019-03-23 21:15:13 +01:00
|
|
|
|
2019-08-22 20:51:29 +02:00
|
|
|
GPL v3
|
2019-03-23 21:15:13 +01:00
|
|
|
See LICENSE.txt for more information
|
|
|
|
|
|
|
|
A robot controlled by signs
|
|
|
|
|
|
|
|
]]--
|
|
|
|
|
|
|
|
signs_bot = {}
|
|
|
|
|
2020-04-26 14:10:03 +02:00
|
|
|
-- Version for compatibility checks, see readme.md/history
|
2021-03-14 13:32:48 +01:00
|
|
|
signs_bot.version = 1.06
|
2020-04-26 14:10:03 +02:00
|
|
|
|
2021-03-20 10:58:49 +01:00
|
|
|
-- Test for MT 5.4 new string mode
|
|
|
|
signs_bot.CLIP = minetest.features.use_texture_alpha_string_modes and "clip" or true
|
|
|
|
|
2021-01-30 15:08:35 +01:00
|
|
|
if minetest.global_exists("techage") and techage.version < 0.25 then
|
|
|
|
error("[signs_bot] Signs Bot requires techage version 0.25 or newer!")
|
|
|
|
end
|
|
|
|
|
|
|
|
if tubelib2.version < 1.9 then
|
|
|
|
error("[signs_bot] Signs Bot requires tubelib2 version 1.9 or newer!")
|
2020-04-26 14:10:03 +02:00
|
|
|
end
|
|
|
|
|
2021-03-14 13:32:48 +01:00
|
|
|
-- Load support for I18n.
|
2019-06-27 21:16:40 +02:00
|
|
|
signs_bot.S = minetest.get_translator("signs_bot")
|
2021-03-14 13:32:48 +01:00
|
|
|
|
2019-03-23 21:15:13 +01:00
|
|
|
local MP = minetest.get_modpath("signs_bot")
|
2021-03-14 13:32:48 +01:00
|
|
|
|
2019-06-27 21:16:40 +02:00
|
|
|
dofile(MP.."/doc.lua")
|
2019-10-11 20:12:07 +02:00
|
|
|
dofile(MP.."/random.lua")
|
2019-03-23 21:15:13 +01:00
|
|
|
dofile(MP.."/lib.lua")
|
2019-04-06 19:13:37 +02:00
|
|
|
dofile(MP.."/basis.lua")
|
2019-03-23 21:15:13 +01:00
|
|
|
dofile(MP.."/robot.lua")
|
|
|
|
dofile(MP.."/signs.lua")
|
2019-04-06 19:13:37 +02:00
|
|
|
|
2019-03-23 21:15:13 +01:00
|
|
|
dofile(MP.."/commands.lua")
|
2019-04-06 19:13:37 +02:00
|
|
|
dofile(MP.."/cmd_move.lua")
|
|
|
|
dofile(MP.."/cmd_item.lua")
|
|
|
|
dofile(MP.."/cmd_place.lua")
|
|
|
|
dofile(MP.."/cmd_sign.lua")
|
|
|
|
dofile(MP.."/cmd_pattern.lua")
|
|
|
|
dofile(MP.."/cmd_farming.lua")
|
2020-03-27 18:29:40 +01:00
|
|
|
dofile(MP.."/cmd_flowers.lua")
|
2019-04-06 19:13:37 +02:00
|
|
|
|
2019-04-02 22:45:26 +02:00
|
|
|
dofile(MP.."/signal.lua")
|
2019-04-06 19:13:37 +02:00
|
|
|
dofile(MP.."/extender.lua")
|
2019-04-02 22:45:26 +02:00
|
|
|
dofile(MP.."/changer.lua")
|
2019-03-28 22:22:24 +01:00
|
|
|
dofile(MP.."/bot_flap.lua")
|
2019-04-06 19:13:37 +02:00
|
|
|
|
2019-04-12 22:32:40 +02:00
|
|
|
dofile(MP.."/duplicator.lua")
|
2019-04-02 22:45:26 +02:00
|
|
|
dofile(MP.."/nodes.lua")
|
|
|
|
dofile(MP.."/bot_sensor.lua")
|
2019-04-01 21:57:15 +02:00
|
|
|
dofile(MP.."/node_sensor.lua")
|
2019-04-02 22:45:26 +02:00
|
|
|
dofile(MP.."/crop_sensor.lua")
|
2019-04-15 22:21:17 +02:00
|
|
|
dofile(MP.."/cart_sensor.lua")
|
2019-04-11 22:28:42 +02:00
|
|
|
dofile(MP.."/chest.lua")
|
2019-04-18 19:17:43 +02:00
|
|
|
dofile(MP.."/legacy.lua")
|
2019-05-22 18:29:22 +02:00
|
|
|
dofile(MP.."/techage.lua")
|
2019-04-14 16:36:47 +02:00
|
|
|
dofile(MP.."/timer.lua")
|
2019-07-08 23:26:37 +02:00
|
|
|
dofile(MP.."/delayer.lua")
|
2019-07-13 15:04:31 +02:00
|
|
|
dofile(MP.."/logic_and.lua")
|
2021-03-08 19:46:27 +01:00
|
|
|
dofile(MP.."/compost.lua")
|
2019-04-06 19:13:37 +02:00
|
|
|
|
|
|
|
dofile(MP.."/tool.lua")
|