From e579c411bc60c00e953e459b6db286f207e3a5cd Mon Sep 17 00:00:00 2001 From: TheOnlyJoeEnderman Date: Mon, 3 Apr 2023 00:38:03 +0000 Subject: [PATCH] Pre-Alpha 0.0.0 --- LICENSE | 13 ++++++++++++- README.md | 4 +++- craft.lua | 20 ++++++++++++++++++++ init.lua | 8 ++++++++ mod.conf | 5 +++++ 5 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 craft.lua create mode 100644 init.lua create mode 100644 mod.conf diff --git a/LICENSE b/LICENSE index 2071b23..cc70160 100644 --- a/LICENSE +++ b/LICENSE @@ -1,9 +1,20 @@ +Code +---- + MIT License -Copyright (c) +Copyright (c) 2023 JoeEnderman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +Textures +-------- + +CC0 + +(C) 2023 JoeEnderman diff --git a/README.md b/README.md index dac693d..89ff984 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ -# bombtest +# Paintings Gallery +#### +Adds a bunch of example paintings usings Paintings Library. diff --git a/craft.lua b/craft.lua new file mode 100644 index 0000000..1876408 --- /dev/null +++ b/craft.lua @@ -0,0 +1,20 @@ +if minetest.get_modpath("default") ~= nil then + + if minetest.get_modpath("dye") ~= nil then + + if minetest.get_modpath("wool") ~= nil then + +minetest.register_craftitem({"paintings_lib:painting_1x1_blank"}) + +minetest.register_craft({ + output = "paintings_lib:painting_1x1_blank", + recipe = { + {"default:stick", "default:stick", "default:stick"}, + {"default:stick", "", "default:stick"}, + {"default:stick", "default:stick", "default:stick"}, + } +}) + + end + end +end diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..1b17f5b --- /dev/null +++ b/init.lua @@ -0,0 +1,8 @@ +-- Paintings Gallery + +paintings_gallery = {} + +local default_path = minetest.get_modpath("paintings_gallery") + +dofile(minetest.get_modpath("paintings_gallery") .. "/paintings.lua") +--dofile(minetest.get_modpath("paintings_gallery") .. "/craft.lua") diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..0f20897 --- /dev/null +++ b/mod.conf @@ -0,0 +1,5 @@ +mod_name = paintings_gallery +title = Paintings Gallery +description = A fast, sleek, modern painting API for Minetest Game, but optional support for other games. +depends = default, paintings_lib +min_minetest_version = 5.3