Compare commits

...

9 Commits
master ... main

Author SHA1 Message Date
mckaygerhard 509616653d 3d_armor_gloves - forgotten admin globe alias 2023-01-09 02:53:18 -04:00
mckaygerhard 30427f9659 make aliasing of all to 3d_armor:<stuf> namespace 2023-01-09 02:34:09 -04:00
mckaygerhard e1a680e7dd fix i18n domain and fix es translation 2023-01-08 22:22:51 -04:00
mckaygerhard 3eb2286f78 optimize textures 2023-01-08 19:31:09 -04:00
mckaygerhard 5c9ab64648 improve the mod identification and description, seems abandoned
* noted is not uploaded to contendb shit site
* cited license and put need files
* improve README
* the project is hosted at poikilos site
2023-01-07 19:30:46 -04:00
mckaygerhard 2f881a219b merge admin gloves feature from do0dleme fork
* Merge branch 'main' of https://github.com/do0dleme/3d_armor_gloves into stable-0.4
* later try to merge into main
2023-01-07 16:12:36 -04:00
mckaygerhard be5366331a backuarg compat with 0.4, intllib vs get_translator 2023-01-07 16:12:31 -04:00
doodle f3af4aee6e
Add admin gloves texture 2022-09-05 11:00:09 +08:00
doodle 2bc36b419e
Add admin gloves 2022-09-05 10:59:03 +08:00
36 changed files with 203 additions and 39 deletions

81
README.md Normal file
View File

@ -0,0 +1,81 @@
minetest mod 3d_armor_gloves
=======================
ARMOR gloves/gauntlets to the 3d_armor mod
## Information
--------------
This mod provides ARMOR gloves/gauntlets fully compatible with all engines, using 3d_armor mod.
- Gloves/Gauntlets are present in all the standard 3d armor material types
- Gloves/Gauntlets provide approximately the same bonus as boots.
![screenshot.png](screenshot.png)
## Technical info
-----------------
This mod must be named `3d_armor_gloves` and is a MinenuX fork improved to work
with all engines, also provides som minor fixeds
It can be downloade from
* https://git.minetest.io/minenux/minetest-mod-3d_armor_gloves
* https://codeberg.org/minenux/minetest-mod-3d_armor_gloves
#### Compatibility
Make sure you are using Minetest 0.4.16+ and start a new world (anything but v6),
then enable Ethereal in the mods list.
#### Dependencies
* default
* Farming Redo `farming` or normal farming from default game
* 3d_armor
#### Crafting
The mod provides a fishing api, basically is `ethereal.add_item(fish, junk, bonus)`,
several examples are at the documentation of [api.txt](api.txt) file.
```
+---+---+---+
| X | | X |
+---+---+---+
| S | | S |
+---+---+---+
| | | |
+---+---+---+
```
#### Nodes
Those are the nodes used in craft guide
| 3d_armor_gloves | X must be | S must be |
| -------------------------------- | ----------------------- | ----------------- |
| [3d_armor_gloves:gloves_wood] | [default:wood] | [farming:string] |
| [3d_armor_gloves:gloves_cactus] | [default:cactus] | [farming:string] |
| [3d_armor_gloves:gloves_steel] | [default:steel_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_bronze] | [default:bronze_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_diamond] | [default:diamond] | [farming:string] |
| [3d_armor_gloves:gloves_gold] | [default:gold_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_mithril] | [moreores:mithril_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_crystal] | [ethereal:crystal_ingot] | [farming:string] |
## LICENSE
Lasted features, non comercial unless xpresed permission:
Copyright (C) 2023 mckaygerhard - CC-BY-SA-NC 4.0
Source code base: GPLv2.1
Copyright (C) 2012-2019 stujones11, Stuart Jones <stujones111@gmail.com>
License Textures: CC-BY-SA 3.0
Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0

View File

@ -1,10 +1,81 @@
[mod] 3d_armor_gloves
minetest mod 3d_armor_gloves
=======================
Adds gloves/gauntlets to 3d_armor
ARMOR gloves/gauntlets to the 3d_armor mod
## Information
--------------
This mod provides ARMOR gloves/gauntlets fully compatible with all engines, using 3d_armor mod.
- Gloves/Gauntlets are present in all the standard 3d armor material types
- Gloves/Gauntlets provide approximately the same bonus as boots.
![screenshot.png](screenshot.png)
## Technical info
-----------------
This mod must be named `3d_armor_gloves` and is a MinenuX fork improved to work
with all engines, also provides som minor fixeds
It can be downloade from
* https://git.minetest.io/minenux/minetest-mod-3d_armor_gloves
* https://codeberg.org/minenux/minetest-mod-3d_armor_gloves
#### Compatibility
Make sure you are using Minetest 0.4.16+ and start a new world (anything but v6),
then enable Ethereal in the mods list.
#### Dependencies
* default
* Farming Redo `farming` or normal farming from default game
* 3d_armor
Given how little I had to do code wise and graphics wise I have left the code and
texture copyrights with Stu and Davidthecreator.
#### Crafting
The mod provides a fishing api, basically is `ethereal.add_item(fish, junk, bonus)`,
several examples are at the documentation of [api.txt](api.txt) file.
```
+---+---+---+
| X | | X |
+---+---+---+
| S | | S |
+---+---+---+
| | | |
+---+---+---+
```
#### Nodes
Those are the nodes used in craft guide
| 3d_armor_gloves | X must be | S must be |
| -------------------------------- | ----------------------- | ----------------- |
| [3d_armor_gloves:gloves_wood] | [default:wood] | [farming:string] |
| [3d_armor_gloves:gloves_cactus] | [default:cactus] | [farming:string] |
| [3d_armor_gloves:gloves_steel] | [default:steel_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_bronze] | [default:bronze_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_diamond] | [default:diamond] | [farming:string] |
| [3d_armor_gloves:gloves_gold] | [default:gold_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_mithril] | [moreores:mithril_ingot] | [farming:string] |
| [3d_armor_gloves:gloves_crystal] | [ethereal:crystal_ingot] | [farming:string] |
## LICENSE
Lasted features, non comercial unless xpresed permission:
Copyright (C) 2023 mckaygerhard - CC-BY-SA-NC 4.0
Source code base: GPLv2.1
Copyright (C) 2012-2019 stujones11, Stuart Jones <stujones111@gmail.com>
License Textures: CC-BY-SA 3.0
Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0

View File

@ -1,22 +0,0 @@
3d_Armor_Gloves -- Crafting Guide
--------------------------
+---+---+---+
| X | | X |
+---+---+---+
| S | | S |
+---+---+---+
| | | |
+---+---+---+
[3d_armor_gloves:gloves_wood] X = [default:wood], S = [farming:string]
[3d_armor_gloves:gloves_cactus] X = [default:cactus], S = [farming:string]
[3d_armor_gloves:gloves_steel] X = [default:steel_ingot], S = [farming:string]
[3d_armor_gloves:gloves_bronze] X = [default:bronze_ingot], S = [farming:string]
[3d_armor_gloves:gloves_diamond] X = [default:diamond], S = [farming:string]
[3d_armor_gloves:gloves_gold] X = [default:gold_ingot], S = [farming:string]
[3d_armor_gloves:gloves_mithril] X = [moreores:mithril_ingot], S = [farming:string]
[3d_armor_gloves:gloves_crystal] X = [ethereal:crystal_ingot], S = [farming:string]

3
depends.txt Normal file
View File

@ -0,0 +1,3 @@
default
3d_armor
farming

View File

@ -1 +1 @@
Adds visible gloves/gauntlets to 3d armor.
ARMOR gloves/gauntlets fully compatible with all engines

View File

@ -1,6 +1,26 @@
-- support for i18n
local S = minetest.get_translator(minetest.get_current_modname())
-- Intllib
local S
if minetest.get_translator ~= nil then
S = minetest.get_translator("3d_armor_gloves") -- 5.x translation function
else
if minetest.get_modpath("intllib") then
dofile(minetest.get_modpath("intllib") .. "/init.lua")
if intllib.make_gettext_pair then
gettext, ngettext = intllib.make_gettext_pair() -- new gettext method
else
gettext = intllib.Getter() -- old text file method
end
S = gettext
else -- boilerplate function
S = function(str, ...)
local args = {...}
return str:gsub("@%d+", function(match)
return args[tonumber(match:sub(2))]
end)
end
end
end
if minetest.global_exists("armor") and armor.elements then
table.insert(armor.elements, "hands")
@ -8,6 +28,14 @@ end
-- Regisiter Gloves/Gauntlets
armor:register_armor("3d_armor_gloves:gloves_admin", {
description = S("Admin Gauntlets"),
inventory_image = "3d_armor_gloves_inv_gloves_admin.png",
groups = {armor_hands=1000, armor_heal=100, armor_use=0, not_in_creative_inventory=1},
})
minetest.register_alias("admingloves", "3d_armor_gloves:gloves_admin")
if armor.materials.wood then
armor:register_armor("3d_armor_gloves:gloves_wood", {
description = S("Wood Gauntlets"),
@ -112,4 +140,7 @@ for k, v in pairs(armor.materials) do
{"farming:string", "", "farming:string"},
},
})
minetest.register_alias("3d_armor:gloves_"..k, "3d_armor_gloves:gloves_"..k)
end

View File

@ -3,11 +3,11 @@
### init.lua ###
Wood Gauntlets=Guanteletes de madera
Cactus Gauntlets=Guanteletes de cactus
Steel Gauntlets=Guanteletes de hierro
Bronze Gauntlets=Guanteletes de bronce
Diamond Gauntlets=Guanteletes de diamante
Gold Gauntlets=Guanteletes de oro
Mithril Gauntlets=Guanteletes de mitrilio
Crystal Gauntlets=Guanteletes de cristal
Wood Gauntlets=Guante de madera
Cactus Gauntlets=Guante de cactus
Steel Gauntlets=Guante de hierro
Bronze Gauntlets=Guante de bronce
Diamond Gauntlets=Guante de diamante
Gold Gauntlets=Guante de oro
Mithril Gauntlets=Guante de mitrilio
Crystal Gauntlets=Guante de cristal

View File

@ -1,3 +1,3 @@
name = 3d_armor_gloves
depends = default, farming, 3d_armor
description = Adds visible gloves/gauntlets to 3d armor.
depends = default, 3d_armor, farming
description = ARMOR gloves/gauntlets fully compatible with all engines

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 KiB

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 229 B