generated from Descent/bombtest
Pre-Alpha 0.0.0
This commit is contained in:
parent
2915bd8171
commit
e579c411bc
13
LICENSE
13
LICENSE
|
@ -1,9 +1,20 @@
|
||||||
|
Code
|
||||||
|
----
|
||||||
|
|
||||||
MIT License
|
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:
|
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 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.
|
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
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
# bombtest
|
# Paintings Gallery
|
||||||
|
|
||||||
|
####
|
||||||
|
Adds a bunch of example paintings usings Paintings Library.
|
||||||
|
|
|
@ -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
|
|
@ -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")
|
Loading…
Reference in New Issue