diff --git a/API.md b/API.md index 4bf8448..e3c0b49 100644 --- a/API.md +++ b/API.md @@ -141,7 +141,7 @@ Recipes can be registered from a given URL containing a JSON file (HTTP support ```Lua i3.register_craft({ - url = "https://raw.githubusercontent.com/minetest-mods/i3/main/etc/test_online_recipe.json" + url = "https://raw.githubusercontent.com/minetest-mods/i3/main/tests/test_online_recipe.json" }) ``` diff --git a/init.lua b/init.lua index a1f5eb6..ba29987 100644 --- a/init.lua +++ b/init.lua @@ -3317,5 +3317,5 @@ for size, rcp in pairs(bag_recipes) do core.register_craft {type = "fuel", recipe = bagname, burntime = 3} end ---dofile(modpath .. "/etc/test_tabs.lua") ---dofile(modpath .. "/etc/test_custom_recipes.lua") +--dofile(modpath .. "/tests/test_tabs.lua") +--dofile(modpath .. "/tests/test_custom_recipes.lua") diff --git a/etc/test_custom_recipes.lua b/tests/test_custom_recipes.lua similarity index 100% rename from etc/test_custom_recipes.lua rename to tests/test_custom_recipes.lua diff --git a/etc/test_online_recipe.json b/tests/test_online_recipe.json similarity index 100% rename from etc/test_online_recipe.json rename to tests/test_online_recipe.json diff --git a/etc/test_tabs.lua b/tests/test_tabs.lua similarity index 100% rename from etc/test_tabs.lua rename to tests/test_tabs.lua