Pre-Alpha 0.0.0

This commit is contained in:
TheOnlyJoeEnderman 2023-04-03 00:38:03 +00:00
parent 2915bd8171
commit e579c411bc
5 changed files with 48 additions and 2 deletions

13
LICENSE
View File

@ -1,9 +1,20 @@
Code
----
MIT License
Copyright (c) <year> <copyright holders>
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

View File

@ -1,2 +1,4 @@
# bombtest
# Paintings Gallery
####
Adds a bunch of example paintings usings Paintings Library.

20
craft.lua Normal file
View File

@ -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

8
init.lua Normal file
View File

@ -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")

5
mod.conf Normal file
View File

@ -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