mods - default - ingtegrated sunglasses with CC-BY-SA-NC over source code and art

* original author not found and minietest developers are so petty to respond
master
mckaygerhard 2024-03-31 22:35:36 -04:00
parent 39f94eb89b
commit 9da27a0b3b
8 changed files with 49 additions and 4 deletions

View File

@ -39,6 +39,7 @@ To download you can play this game with the following minetest engines:
* integrated the killme/game_commands were simplified into default mod, and provide CC-BY-SA-NC license
* farming is default older but has build-in toolrank detection support
* xdecor as `xdecor` [mods/xdecor](mods/xdecor) a super reduced version of homedecor pack, for performance
* sunglasses into `default` from https://github.com/niwla23/minetest_game_improved/tree/master/mods/armoraddons
* sorceredkid auth mod
* minetest Auth Redux as `auth_rx` [mods/auth_rx](mods/auth_rx) from https://codeberg.org/minenux/minetest-mod-auth_rx
* so then minetest Formspecs as `formspecs` [mods/formspecs](mods/formspecs) from https://codeberg.org/minenux/minetest-mod-formspecs

View File

@ -3,16 +3,20 @@ Minetest Game mod: default
This mod is a base mod for almost any minetest game, it provide default nodes, blocks and biomes configuration.
This mod integrates player_api and autodetect older or newer model set for any protocol
This mod integrates player_api and autodetect older or newer model set for any protocol, integration code is CC-BY-SA-NC by mckaygerhard
This mod integrates sunglasses and code is CC-BY-SA-NC by mckaygerhard cos original sources are not found!
# License
Authors of source code
----------------------
Originally by celeron55, Perttu Ahola <celeron55@gmail.com> (LGPL 2.1)
Various Minetest developers and contributors (LGPL 2.1)
integrations by mckaygerhard, PICCORO lenz Mckay gerardo <mckaygerhard@gmail.com>
like the detection of newer and older api and sunglasses
Authors of media (textures, models and sounds)
----------------------------------------------
Everything not listed in here:

View File

@ -1,12 +1,22 @@
Minetest Game mod: default
==========================
See license.txt for license information.
This mod is a base mod for almost any minetest game, it provide default nodes, blocks and biomes configuration.
This mod integrates player_api and autodetect older or newer model set for any protocol, integration code is CC-BY-SA-NC by mckaygerhard
This mod integrates sunglasses and code is CC-BY-SA-NC by mckaygerhard cos original sources are not found!
# License
Authors of source code
----------------------
Originally by celeron55, Perttu Ahola <celeron55@gmail.com> (LGPL 2.1)
Various Minetest developers and contributors (LGPL 2.1)
integrations by mckaygerhard, PICCORO lenz Mckay gerardo <mckaygerhard@gmail.com>
like the detection of newer and older api and sunglasses
Authors of media (textures, models and sounds)
----------------------------------------------
Everything not listed in here:

View File

@ -75,3 +75,8 @@ minetest.register_alias("default:pinewood", "default:pine_wood")
minetest.register_alias("default:ladder", "default:ladder_wood")
minetest.register_alias("default:sign_wall", "default:sign_wall_wood")
if not minetest.get_modpath("armoraddons") then
minetest.register_alias("armoraddons:sunglasses", "default:sunglasses")
end

View File

@ -1152,3 +1152,13 @@ minetest.register_craft({
recipe = "default:sword_wood",
burntime = 5,
})
minetest.register_craft({
type = "shaped",
output = "default:sunglasses",
recipe = {
{"default:sunglass", "default:stick", "default:sunglass"},
{"default:sunglass", "default:stick", "default:sunglass"},
{"default:sunglass", "default:stick", "default:sunglass"}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

View File

@ -1,4 +1,4 @@
-- mods/default/tools.lua
--- mods/default/tools.lua
-- The hand
minetest.register_item(":", {
@ -418,3 +418,18 @@ minetest.register_tool("default:key", {
return nil
end
})
minetest.register_tool("default:sunglasses", {
description = "Sunglasses",
inventory_image = "sunglasses.png",
groups = {armor_head=15, armor_heal=0, armor_use=100},
wear = 0,
})
minetest.register_tool("default:sunglass", {
description = "Glass head",
inventory_image = "armoraddons_glass.png",
groups = {armor_head=15, armor_heal=0, armor_use=100},
wear = 0,
})