From 71b2570f0919d3bb5575c9ec694ecd004222fcea Mon Sep 17 00:00:00 2001 From: Andrew Ward Date: Wed, 28 Mar 2018 22:14:16 +0100 Subject: Load dependencies and description from mod.conf --- games/minimal/mods/bucket/depends.txt | 2 -- games/minimal/mods/bucket/mod.conf | 3 +++ games/minimal/mods/default/mod.conf | 2 ++ games/minimal/mods/experimental/depends.txt | 2 -- games/minimal/mods/experimental/mod.conf | 3 +++ games/minimal/mods/give_initial_stuff/depends.txt | 2 -- games/minimal/mods/give_initial_stuff/mod.conf | 3 +++ games/minimal/mods/legacy/depends.txt | 2 -- games/minimal/mods/legacy/mod.conf | 3 +++ games/minimal/mods/stairs/depends.txt | 1 - games/minimal/mods/stairs/mod.conf | 3 +++ games/minimal/mods/test/mod.conf | 2 ++ 12 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 games/minimal/mods/bucket/depends.txt create mode 100644 games/minimal/mods/bucket/mod.conf create mode 100644 games/minimal/mods/default/mod.conf delete mode 100644 games/minimal/mods/experimental/depends.txt create mode 100644 games/minimal/mods/experimental/mod.conf delete mode 100644 games/minimal/mods/give_initial_stuff/depends.txt create mode 100644 games/minimal/mods/give_initial_stuff/mod.conf delete mode 100644 games/minimal/mods/legacy/depends.txt create mode 100644 games/minimal/mods/legacy/mod.conf delete mode 100644 games/minimal/mods/stairs/depends.txt create mode 100644 games/minimal/mods/stairs/mod.conf create mode 100644 games/minimal/mods/test/mod.conf (limited to 'games/minimal') 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 -- cgit v1.2.3