summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrew Ward <rw@rubenwardy.com>2018-03-28 22:14:16 +0100
committerGitHub <noreply@github.com>2018-03-28 22:14:16 +0100
commit71b2570f0919d3bb5575c9ec694ecd004222fcea (patch)
treef3f85d185dde66ab294abb1c15e349ad3b33e818 /games
parentdfc81983491417c5cd1c99d7db05e421c409379d (diff)
downloadminetest-71b2570f0919d3bb5575c9ec694ecd004222fcea.tar.gz
minetest-71b2570f0919d3bb5575c9ec694ecd004222fcea.tar.bz2
minetest-71b2570f0919d3bb5575c9ec694ecd004222fcea.zip
Load dependencies and description from mod.conf
Diffstat (limited to 'games')
-rw-r--r--games/minimal/mods/bucket/depends.txt2
-rw-r--r--games/minimal/mods/bucket/mod.conf3
-rw-r--r--games/minimal/mods/default/mod.conf2
-rw-r--r--games/minimal/mods/experimental/depends.txt2
-rw-r--r--games/minimal/mods/experimental/mod.conf3
-rw-r--r--games/minimal/mods/give_initial_stuff/depends.txt2
-rw-r--r--games/minimal/mods/give_initial_stuff/mod.conf3
-rw-r--r--games/minimal/mods/legacy/depends.txt2
-rw-r--r--games/minimal/mods/legacy/mod.conf3
-rw-r--r--games/minimal/mods/stairs/depends.txt1
-rw-r--r--games/minimal/mods/stairs/mod.conf3
-rw-r--r--games/minimal/mods/test/mod.conf2
12 files changed, 19 insertions, 9 deletions
diff --git a/games/minimal/mods/bucket/depends.txt b/games/minimal/mods/bucket/depends.txt
deleted file mode 100644
index 3a7daa1d7..000000000
--- a/games/minimal/mods/bucket/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-default
-
diff --git a/games/minimal/mods/bucket/mod.conf b/games/minimal/mods/bucket/mod.conf
new file mode 100644
index 000000000..2a6086775
--- /dev/null
+++ b/games/minimal/mods/bucket/mod.conf
@@ -0,0 +1,3 @@
+name = bucket
+description = Minimal bucket to place and pick up liquids
+depends = default
diff --git a/games/minimal/mods/default/mod.conf b/games/minimal/mods/default/mod.conf
new file mode 100644
index 000000000..f6f7ea798
--- /dev/null
+++ b/games/minimal/mods/default/mod.conf
@@ -0,0 +1,2 @@
+name = default
+description = Minimal default, adds basic nodes
diff --git a/games/minimal/mods/experimental/depends.txt b/games/minimal/mods/experimental/depends.txt
deleted file mode 100644
index 3296b1e0a..000000000
--- a/games/minimal/mods/experimental/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-default
-stairs
diff --git a/games/minimal/mods/experimental/mod.conf b/games/minimal/mods/experimental/mod.conf
new file mode 100644
index 000000000..018e761b3
--- /dev/null
+++ b/games/minimal/mods/experimental/mod.conf
@@ -0,0 +1,3 @@
+name = experimental
+description = Minimal mod to test features
+depends = default, stairs
diff --git a/games/minimal/mods/give_initial_stuff/depends.txt b/games/minimal/mods/give_initial_stuff/depends.txt
deleted file mode 100644
index 3a7daa1d7..000000000
--- a/games/minimal/mods/give_initial_stuff/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-default
-
diff --git a/games/minimal/mods/give_initial_stuff/mod.conf b/games/minimal/mods/give_initial_stuff/mod.conf
new file mode 100644
index 000000000..bd293f418
--- /dev/null
+++ b/games/minimal/mods/give_initial_stuff/mod.conf
@@ -0,0 +1,3 @@
+name = give_initial_stuff
+description = Gives items to players on join
+depends = default
diff --git a/games/minimal/mods/legacy/depends.txt b/games/minimal/mods/legacy/depends.txt
deleted file mode 100644
index 3a7daa1d7..000000000
--- a/games/minimal/mods/legacy/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-default
-
diff --git a/games/minimal/mods/legacy/mod.conf b/games/minimal/mods/legacy/mod.conf
new file mode 100644
index 000000000..12102e1ee
--- /dev/null
+++ b/games/minimal/mods/legacy/mod.conf
@@ -0,0 +1,3 @@
+name = legacy
+description = Aliases allowing support for 0.3.x worlds
+depends = default
diff --git a/games/minimal/mods/stairs/depends.txt b/games/minimal/mods/stairs/depends.txt
deleted file mode 100644
index 4ad96d515..000000000
--- a/games/minimal/mods/stairs/depends.txt
+++ /dev/null
@@ -1 +0,0 @@
-default
diff --git a/games/minimal/mods/stairs/mod.conf b/games/minimal/mods/stairs/mod.conf
new file mode 100644
index 000000000..32bda004a
--- /dev/null
+++ b/games/minimal/mods/stairs/mod.conf
@@ -0,0 +1,3 @@
+name = stairs
+description = Adds stairs and slabs
+depends = default
diff --git a/games/minimal/mods/test/mod.conf b/games/minimal/mods/test/mod.conf
new file mode 100644
index 000000000..0c9722fc3
--- /dev/null
+++ b/games/minimal/mods/test/mod.conf
@@ -0,0 +1,2 @@
+name = test
+description = Adds unit tests for the engine