From 9da27a0b3b32d40605078e6be67641c345017a40 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 31 Mar 2024 22:35:36 -0400 Subject: [PATCH] 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 --- README.md | 1 + mods/default/README.md | 8 ++++++-- mods/default/README.txt | 12 +++++++++++- mods/default/aliases.lua | 5 +++++ mods/default/crafting.lua | 10 ++++++++++ mods/default/textures/default_sunglasses.png | Bin 0 -> 815 bytes mods/default/textures/sunglasses.png | Bin 0 -> 534 bytes mods/default/tools.lua | 17 ++++++++++++++++- 8 files changed, 49 insertions(+), 4 deletions(-) create mode 100644 mods/default/textures/default_sunglasses.png create mode 100644 mods/default/textures/sunglasses.png diff --git a/README.md b/README.md index fc0053b..986a94a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/mods/default/README.md b/mods/default/README.md index 5c3e862..1706955 100644 --- a/mods/default/README.md +++ b/mods/default/README.md @@ -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 (LGPL 2.1) Various Minetest developers and contributors (LGPL 2.1) +integrations by mckaygerhard, PICCORO lenz Mckay gerardo +like the detection of newer and older api and sunglasses + Authors of media (textures, models and sounds) ---------------------------------------------- Everything not listed in here: diff --git a/mods/default/README.txt b/mods/default/README.txt index 75f869d..1706955 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -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 (LGPL 2.1) Various Minetest developers and contributors (LGPL 2.1) +integrations by mckaygerhard, PICCORO lenz Mckay gerardo +like the detection of newer and older api and sunglasses + Authors of media (textures, models and sounds) ---------------------------------------------- Everything not listed in here: diff --git a/mods/default/aliases.lua b/mods/default/aliases.lua index 6db3fc8..8c8e0f2 100644 --- a/mods/default/aliases.lua +++ b/mods/default/aliases.lua @@ -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 + diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index 2d11d26..ce934b2 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -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"} + } +}) diff --git a/mods/default/textures/default_sunglasses.png b/mods/default/textures/default_sunglasses.png new file mode 100644 index 0000000000000000000000000000000000000000..8d08542794dace32f9d47e74a6ba52e2d4ac19a1 GIT binary patch literal 815 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH!3HE3&8=%;U|`J8baoENOipHC(3n^{(b}8Y zQKWUh3Y)945}V*g55c2KP5}bmoeO%SR0Ml&9hWT#7tnX!0gjhe%R zvO^_VyOMpE9=rU<+AiYrakg~xMALP zu~z<;2kKiBrhsL{MTUQ!3k%X)2q4?fbDke^%eS!-d3}~9FG~4U6@I+fwSMn~9lTd{um80vx%*0xMef0#kk9(we#-9`!bQ#Wn0NO)D2^-?-as zck}+X53HLL(x1yKKU)Tj0nP%C$YKTtz9S&aI8~cZ8WK{k0+)cR5stSq~@-q#E+i=caI!BdcYuCag{{po`u2;_v@MVe(Q93FBo>t zCE}z);K#Sx%*+}BCccU$9e*c&Vvw|A{P0W`B;;`51Y471qobmPRpf)y=^f$bI_?#b zE**^zZ)CE}=ec%)v*CRFi4Ss#y3QI5`wR_g*pfs(aJ9Pgr59{r=D7O#$&Vfn+h%pv z9To-#1)COINr$}GkK`3xJn_#1PKF51ej%0%S?kt3vyb_4N6;-nx8XtgR)-)%yT1x& zEuOHuizOsDRB*ft)-rNvT(a!U0ftqk6BxzK4<}@?Hz+ZSyIK4`;djNOc?miAWf|GfeyLrD6?HuoHdi^skN m2D>{an6S9vCD;Nv7#Kb-_t_sGBhv_s1_n=8KbLh*2~7aAY^RfB;8#5(xnG?9#d_W@3ik^~i-n5*a~^e*kWrdR zN$r-|gF})D5=6*SVTl4|2BelGv--aHw{Mzd@#ylmSj84cj=XqdqE@7