From 7ed4fd3230bc00349f48fd0cf1a05ba37729eb50 Mon Sep 17 00:00:00 2001 From: David Leal Date: Wed, 13 Jan 2021 20:23:15 -0600 Subject: [PATCH] Add support for 3D Armor Gloves mod https://github.com/sirrobzeroone/3d_armor_gloves --- LICENSE.md | 5 ++++- README.md | 1 + init.lua | 11 +++++++++++ mod.conf | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index f217a49..6639a3a 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -36,9 +36,12 @@ Copyright (C) [Melkor](https://forum.minetest.net/memberlist.php?mode=viewprofil - `cloud_items_car_cloud.png` - [`car_white.png`](https://github.com/minetest-mods/vehicle_mash/blob/master/textures/car_white.png) - `cloud_items_car_cloud_inventory.png` - [`inv_car_white.png`](https://github.com/minetest-mods/vehicle_mash/blob/master/textures/inv_car_white.png) -Copyright (C) [davidthecreator](https://forum.minetest.net/memberlist.php?mode=viewprofile&u=11158) 2017-2018 ([CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)): +Copyright (C) [davidthecreator](https://forum.minetest.net/memberlist.php?mode=viewprofile&u=11158) 2017-2019 ([CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)): - All [`3d_armor`](https://github.com/stujones11/minetest-3d_armor) [textures](https://github.com/stujones11/minetest-3d_armor/tree/master/3d_armor/textures). +- `cloud_items_gloves_cloud.png` - [`3d_armor_gloves_gloves_steel.png`](https://github.com/sirrobzeroone/3d_armor_gloves/blob/main/textures/3d_armor_gloves_gloves_steel.png) +- `cloud_items_gloves_cloud_preview.png` - [`3d_armor_gloves_gloves_steel_preview.png`](https://github.com/sirrobzeroone/3d_armor_gloves/blob/main/textures/3d_armor_gloves_gloves_steel_preview.png) +- `cloud_items_gloves_inv_gloves_cloud.png` - [`3d_armor_gloves_inv_gloves_steel.png`](https://github.com/sirrobzeroone/3d_armor_gloves/blob/main/textures/3d_armor_gloves_inv_gloves_steel.png) ## License for source code diff --git a/README.md b/README.md index 69ceff9..e215ebf 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ There are 4 types of cloud: - [`toolranks`](https://github.com/lisacvuk/minetest-toolranks) - [`moreblocks`](https://github.com/minetest-mods/moreblocks) - [`multitools`](https://github.com/ChimneySwift/multitools) +- [`3d_armor_gloves`](https://github.com/sirrobzeroone/3d_armor_gloves) - `stairs` (included in [Minetest Game](https://github.com/minetest/minetest_game)) ## Requirements diff --git a/init.lua b/init.lua index 6177a58..c614463 100644 --- a/init.lua +++ b/init.lua @@ -723,6 +723,17 @@ if minetest.get_modpath("3d_armor") then }) end + -- Support for 3D Armor Gloves/Gauntlets + if minetest.get_modpath("3d_armor_gloves") then + armor:register_armor("cloud_items:gloves_cloud", { + description = S("Cloud Gauntlets"), + inventory_image = "cloud_items_inv_gloves_cloud.png", + groups = {armor_hands=1, armor_heal=12, armor_use=70}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=2, snappy=1, level=6}, + }) + end + --------------- -- Crafting -- --------------- diff --git a/mod.conf b/mod.conf index daed9d5..39a1a02 100644 --- a/mod.conf +++ b/mod.conf @@ -1,6 +1,6 @@ name = cloud_items depends = default, worldedit, vehicle_mash -optional_depends = 3d_armor, toolranks, stairs, moreblocks, multitools +optional_depends = 3d_armor, toolranks, stairs, moreblocks, multitools, 3d_armor_gloves description = Adds powerful cloud tools for Minetest. min_minetest_version = 5.0.0 license = LGPLv2.1