From 45acc5e3aceb61e17a8d8990a84231d37c3536e0 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 21 Apr 2020 20:47:07 +0200 Subject: [PATCH] Code license: MIT, require 5.0.0-dev --- README.md | 7 ++++++- depends.txt | 6 ------ init.lua | 4 ++++ 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 depends.txt diff --git a/README.md b/README.md index d39ebe2..7352f16 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ This mod adds an improved ("currency" compatible) shop to your world. +Requires 5.0.0-dev or newer + Features: * 4 buyer and 4 seller slots * Much storage capacity @@ -20,7 +22,10 @@ Optional dependencies: ## License -CC0 for everything unless specified otherwise below. + +Textures: CC0 - or see notes below + +Code: MIT Following textures were imported from [currency](https://github.com/minetest-mods/currency) * shop_front.png diff --git a/depends.txt b/depends.txt deleted file mode 100644 index 383d932..0000000 --- a/depends.txt +++ /dev/null @@ -1,6 +0,0 @@ -default -currency? -bitchange? -wrench? -pipeworks? -tubelib? diff --git a/init.lua b/init.lua index a9a9a5a..61f6330 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,7 @@ +if not minetest.get_translator then + error("exchange_shop requires at least Minetest 5.0.0-dev.") +end + exchange_shop = {} exchange_shop.storage_size = 5 * 4 exchange_shop.shopname = "exchange_shop:shop"