fix optional dependencies, condense licenses to one file

This commit is contained in:
TheOnlyJoeEnderman 2022-11-28 05:11:36 +00:00
parent dea9ca9b8b
commit 8bd24ca54d
4 changed files with 35 additions and 1 deletions

30
LICENSE.txt Normal file
View File

@ -0,0 +1,30 @@
License of source code
----------------------
GNU Lesser General Public License, version 2.1
Copyright (C) 2011-2018 celeron55, Perttu Ahola <celeron55@gmail.com>
Copyright (C) 2011-2018 Various Minetest developers and contributors
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU Lesser General Public License as published by the Free Software Foundation;
either version 2.1 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details:
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
License of textures
-------------------
MIT License
Copyright (c) 2022 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.

View File

@ -1,6 +1,6 @@
name = too_many_stones
description = Adds several new stone types to Minetest Game or any game that supplies default. V6 terrain is unsupported.
depends = default
optional_depends = stairs, walls, geodes
optional_depends = stairs, walls, geodes, moreores
min_minetest_version = 5.5.1
title = Too Many Stones

View File

@ -1,3 +1,4 @@
if minetest.get_modpath("stairs") ~= nil then
-- Greenstone
stairs.register_stair_and_slab(
"greenstone",
@ -405,3 +406,4 @@ stairs.register_stair_and_slab(
default.node_sound_stone_defaults(),
false
)
end

View File

@ -1,3 +1,4 @@
if minetest.get_modpath("walls") ~= nil then
-- Greenstone
walls.register("too_many_stones:greenstone_wall", "Greentone Wall", "tms_greenstone.png",
"too_many_stones:greenstone", default.node_sound_stone_defaults())
@ -109,3 +110,4 @@ walls.register("too_many_stones:granite_red_wall", "Red Granite Wall", "tms_gran
walls.register("too_many_stones:granite_red_brick_wall", "Red Granite Brick Wall", "tms_granite_red_brick.png",
"too_many_stones:granite_red_brick", default.node_sound_stone_defaults())
end