diff --git a/README.md b/README.md new file mode 100644 index 0000000..08e7e90 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Castle Gates + +![screenshot](screenshot.png) + +License: MIT (see [LICENSE](LICENSE)) + +### Features + + * Normal oak and steel doors + * Sliding doors + * Swinging doors + +This allows the construction of portcullises and drawbridges as well as conventional swinging doors. +Use the screwdriver to reorient gate pieces as needed for these purposes. + +The modding API is documented here: [api.txt](api.txt) + + +### Dependencies + + * Minetest 5.0.0 or newer + * Minetest Game compatible `default` mod + diff --git a/README.txt b/README.txt deleted file mode 100644 index 113bd89..0000000 --- a/README.txt +++ /dev/null @@ -1,11 +0,0 @@ -Castle Gates - -Licence: MIT - -see: LICENSE - -=-=-=-=-=-=-=-=-=-= - -This is a mod all about creating castle gates and dungeons. It contains dungeon doors and bars, and also a set of nodes for constructing larger swinging and sliding gates. - -This allows the construction of portcullises and drawbridges as well as conventional swinging doors. Use the screwdriver to reorient gate pieces as needed for these purposes. diff --git a/depends.txt b/depends.txt deleted file mode 100644 index 9fe68ac..0000000 --- a/depends.txt +++ /dev/null @@ -1,5 +0,0 @@ -default -castle_masonry? -doors? -xpanes? -doc? diff --git a/description.txt b/description.txt deleted file mode 100644 index 2399226..0000000 --- a/description.txt +++ /dev/null @@ -1 +0,0 @@ -This is a mod all about creating castles and castle dungeons. Many of the nodes are used for the outer-walls or dungeons. diff --git a/init.lua b/init.lua index 3292cef..d3f8c38 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,7 @@ +if not minetest.get_translator then + error("castle_gates requires Minetest 5.0.0 or newer") +end + castle_gates = {} local modpath = minetest.get_modpath(minetest.get_current_modname()) diff --git a/mod.conf b/mod.conf index d4d5efe..38408da 100644 --- a/mod.conf +++ b/mod.conf @@ -1,4 +1,7 @@ name = castle_gates -description = This is a mod all about creating castles and castle dungeons. Many of the nodes are used for the outer-walls or dungeons. +description = """ +This is a mod all about creating castles and castle dungeons. +Many of the nodes are used for the outer-walls or dungeons. +""" depends = default optional_depends = castle_masonry, doors, xpanes, doc