From 167ab93905a8206be2a5f4d9619c4b9f710bb211 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 14 Jun 2022 20:49:09 +0200 Subject: [PATCH] Maintenance: Remove depends.txt and error on old MT versions --- concrete/depends.txt | 4 ---- extranodes/depends.txt | 9 --------- technic/init.lua | 6 +++++- technic_chests/depends.txt | 7 ------- technic_cnc/depends.txt | 3 --- technic_worldgen/depends.txt | 9 --------- wrench/depends.txt | 6 ------ 7 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 concrete/depends.txt delete mode 100644 extranodes/depends.txt delete mode 100644 technic_chests/depends.txt delete mode 100644 technic_cnc/depends.txt delete mode 100644 technic_worldgen/depends.txt delete mode 100644 wrench/depends.txt diff --git a/concrete/depends.txt b/concrete/depends.txt deleted file mode 100644 index 5ca909c..0000000 --- a/concrete/depends.txt +++ /dev/null @@ -1,4 +0,0 @@ -default -basic_materials -intllib? -moreblocks? diff --git a/extranodes/depends.txt b/extranodes/depends.txt deleted file mode 100644 index 0279a18..0000000 --- a/extranodes/depends.txt +++ /dev/null @@ -1,9 +0,0 @@ -default -technic_worldgen -basic_materials -concrete -unifieddyes? -intllib? -moreblocks? -steel? -streetsmod? diff --git a/technic/init.lua b/technic/init.lua index 67291f2..7669faf 100644 --- a/technic/init.lua +++ b/technic/init.lua @@ -1,7 +1,11 @@ --- Minetest 0.4.7 mod: technic -- namespace: technic -- (c) 2012-2013 by RealBadAngel +if not minetest.get_translator then + error("[technic] Your Minetest version is no longer supported." + .. " (version < 5.0.0)") +end + local load_start = os.clock() technic = rawget(_G, "technic") or {} diff --git a/technic_chests/depends.txt b/technic_chests/depends.txt deleted file mode 100644 index 3fcc834..0000000 --- a/technic_chests/depends.txt +++ /dev/null @@ -1,7 +0,0 @@ -default -basic_materials -moreblocks? -moreores? -pipeworks? -intllib? -tubelib? diff --git a/technic_cnc/depends.txt b/technic_cnc/depends.txt deleted file mode 100644 index bdaa161..0000000 --- a/technic_cnc/depends.txt +++ /dev/null @@ -1,3 +0,0 @@ -default -basic_materials -technic? diff --git a/technic_worldgen/depends.txt b/technic_worldgen/depends.txt deleted file mode 100644 index 6a92b7d..0000000 --- a/technic_worldgen/depends.txt +++ /dev/null @@ -1,9 +0,0 @@ -default -basic_materials -intllib? -mg? -doors? -farming? -glooptest? -mesecons_doors? -vessels? diff --git a/wrench/depends.txt b/wrench/depends.txt deleted file mode 100644 index a681af3..0000000 --- a/wrench/depends.txt +++ /dev/null @@ -1,6 +0,0 @@ -default -technic? -technic_chests? -technic_worldgen? -intllib? -