Compare commits
	
		
			9 Commits
		
	
	
		
			5845d3682d
			...
			1869d4b0c3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 1869d4b0c3 | |||
| 
						 | 
					e1a262ba20 | ||
| 
						 | 
					ac445a6cd0 | ||
| c95eb77a4e | |||
| 
						 | 
					a9b8bc4ddd | ||
| 6757013da2 | |||
| 
						 | 
					b6651fd396 | ||
| 
						 | 
					16e2648416 | ||
| 
						 | 
					44778d7861 | 
@@ -18,6 +18,7 @@ read_globals = {
 | 
			
		||||
 | 
			
		||||
	-- deps
 | 
			
		||||
	"default",
 | 
			
		||||
	"player_api",
 | 
			
		||||
	"minetest",
 | 
			
		||||
	"unified_inventory",
 | 
			
		||||
	"wardrobe",
 | 
			
		||||
 
 | 
			
		||||
@@ -53,6 +53,7 @@ Change the following default settings by going to Main Menu>>Settings(Tab)>>All
 | 
			
		||||
    armor_material_gold = true
 | 
			
		||||
    armor_material_mithril = true
 | 
			
		||||
    armor_material_crystal = true
 | 
			
		||||
    armor_material_nether = true
 | 
			
		||||
 | 
			
		||||
### Initialization glitches when a player first joins
 | 
			
		||||
 **Increase to prevent glitches**
 | 
			
		||||
@@ -253,7 +254,7 @@ The above allows armor to block/prevent new damage types but you also need to as
 | 
			
		||||
## Groups used by 3d_Armor
 | 
			
		||||
3d_armor has many default groups already registered, these are categorized under 4 main headings
 | 
			
		||||
 - **Elements:** armor_head, armor_torso, armor_legs, armor_feet
 | 
			
		||||
 - **Attributes:** armor_heal, armor_fire, armor_water
 | 
			
		||||
 - **Attributes:** armor_heal, armor_fire, armor_water, armor_feather
 | 
			
		||||
 - **Physics:** physics_jump, physics_speed, physics_gravity
 | 
			
		||||
 - **Durability:** armor_use, flammable
 | 
			
		||||
 
 | 
			
		||||
@@ -333,6 +334,9 @@ The below Diamond chestplate has a 12% chance to completely block all damage (ar
 | 
			
		||||
		damage_groups = {cracky=2, snappy=1, choppy=1, level=3},
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
#### Armor_feather
 | 
			
		||||
***"Armor_feather"*** will slow a player when falling. This only has one level or state, which is armor_feather=1
 | 
			
		||||
 | 
			
		||||
### Physics
 | 
			
		||||
The physics attributes supported by 3d_armor are ***physics_jump, physics_speed and physics_gravity***. Although 3d_armor supports the use of this with no other mods it is recommended that the mod [player_monoids](https://forum.minetest.net/viewtopic.php?t=14895) is used to help with intermod compatability. 
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -112,7 +112,7 @@ armor = {
 | 
			
		||||
	timer = 0,
 | 
			
		||||
	elements = {"head", "torso", "legs", "feet"},
 | 
			
		||||
	physics = {"jump", "speed", "gravity"},
 | 
			
		||||
	attributes = {"heal", "fire", "water"},
 | 
			
		||||
	attributes = {"heal", "fire", "water", "feather"},
 | 
			
		||||
	formspec = "image[2.5,0;2,4;armor_preview]"..
 | 
			
		||||
		default.gui_bg..
 | 
			
		||||
		default.gui_bg_img..
 | 
			
		||||
@@ -132,6 +132,7 @@ armor = {
 | 
			
		||||
		gold = "default:gold_ingot",
 | 
			
		||||
		mithril = "moreores:mithril_ingot",
 | 
			
		||||
		crystal = "ethereal:crystal_ingot",
 | 
			
		||||
		nether = "nether:nether_ingot",
 | 
			
		||||
	},
 | 
			
		||||
	fire_nodes = {
 | 
			
		||||
		{"nether:lava_source",      5, 8},
 | 
			
		||||
@@ -176,11 +177,13 @@ armor.config = {
 | 
			
		||||
	material_gold = true,
 | 
			
		||||
	material_mithril = true,
 | 
			
		||||
	material_crystal = true,
 | 
			
		||||
	material_nether = true,
 | 
			
		||||
	set_elements = "head torso legs feet shield",
 | 
			
		||||
	set_multiplier = 1.1,
 | 
			
		||||
	water_protect = true,
 | 
			
		||||
	fire_protect = minetest.get_modpath("ethereal") ~= nil,
 | 
			
		||||
	fire_protect_torch = minetest.get_modpath("ethereal") ~= nil,
 | 
			
		||||
	feather_fall = true,
 | 
			
		||||
	punch_damage = true,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -15,6 +15,7 @@ ARMOR_MATERIALS = {
 | 
			
		||||
	gold = "default:gold_ingot",
 | 
			
		||||
	mithril = "moreores:mithril_ingot",
 | 
			
		||||
	crystal = "ethereal:crystal_ingot",
 | 
			
		||||
	nether = "nether:nether_ingot",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
-- Enable fire protection (defaults true if using ethereal mod)
 | 
			
		||||
 
 | 
			
		||||
@@ -718,8 +718,8 @@ if armor.materials.mithril then
 | 
			
		||||
	armor:register_armor("3d_armor:helmet_mithril", {
 | 
			
		||||
		description = S("Mithril Helmet"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_helmet_mithril.png",
 | 
			
		||||
		groups = {armor_head=1, armor_heal=12, armor_use=100},
 | 
			
		||||
		armor_groups = {fleshy=15},
 | 
			
		||||
		groups = {armor_head=1, armor_heal=13, armor_use=66},
 | 
			
		||||
		armor_groups = {fleshy=16},
 | 
			
		||||
		damage_groups = {cracky=2, snappy=1, level=3},
 | 
			
		||||
	})
 | 
			
		||||
	--- Mithril Chestplate
 | 
			
		||||
@@ -736,8 +736,8 @@ if armor.materials.mithril then
 | 
			
		||||
	armor:register_armor("3d_armor:chestplate_mithril", {
 | 
			
		||||
		description = S("Mithril Chestplate"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_chestplate_mithril.png",
 | 
			
		||||
		groups = {armor_torso=1, armor_heal=12, armor_use=100},
 | 
			
		||||
		armor_groups = {fleshy=20},
 | 
			
		||||
		groups = {armor_torso=1, armor_heal=13, armor_use=66},
 | 
			
		||||
		armor_groups = {fleshy=21},
 | 
			
		||||
		damage_groups = {cracky=2, snappy=1, level=3},
 | 
			
		||||
	})
 | 
			
		||||
	--- Mithril Leggings
 | 
			
		||||
@@ -754,8 +754,8 @@ if armor.materials.mithril then
 | 
			
		||||
	armor:register_armor("3d_armor:leggings_mithril", {
 | 
			
		||||
		description = S("Mithril Leggings"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_leggings_mithril.png",
 | 
			
		||||
		groups = {armor_legs=1, armor_heal=12, armor_use=100},
 | 
			
		||||
		armor_groups = {fleshy=20},
 | 
			
		||||
		groups = {armor_legs=1, armor_heal=13, armor_use=66},
 | 
			
		||||
		armor_groups = {fleshy=21},
 | 
			
		||||
		damage_groups = {cracky=2, snappy=1, level=3},
 | 
			
		||||
	})
 | 
			
		||||
	--- Mithril Boots
 | 
			
		||||
@@ -772,8 +772,8 @@ if armor.materials.mithril then
 | 
			
		||||
	armor:register_armor("3d_armor:boots_mithril", {
 | 
			
		||||
		description = S("Mithril Boots"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_boots_mithril.png",
 | 
			
		||||
		groups = {armor_feet=1, armor_heal=12, armor_use=100},
 | 
			
		||||
		armor_groups = {fleshy=15},
 | 
			
		||||
		groups = {armor_feet=1, armor_heal=13, armor_use=66},
 | 
			
		||||
		armor_groups = {fleshy=16},
 | 
			
		||||
		damage_groups = {cracky=2, snappy=1, level=3},
 | 
			
		||||
	})
 | 
			
		||||
end
 | 
			
		||||
@@ -868,6 +868,92 @@ if armor.materials.crystal then
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
--- Nether
 | 
			
		||||
--
 | 
			
		||||
--  Requires `armor_material_nether`.
 | 
			
		||||
--
 | 
			
		||||
--  @section nether
 | 
			
		||||
 | 
			
		||||
if armor.materials.nether then
 | 
			
		||||
	--- Nether Helmet
 | 
			
		||||
	--
 | 
			
		||||
	--  @helmet 3d_armor:helmet_nether
 | 
			
		||||
	--  @img 3d_armor_inv_helmet_nether.png
 | 
			
		||||
	--  @grp armor_head 1
 | 
			
		||||
	--  @grp armor_heal 14
 | 
			
		||||
	--  @grp armor_use 200
 | 
			
		||||
	--  @grp armor_fire 1
 | 
			
		||||
	--  @armorgrp fleshy 18
 | 
			
		||||
	--  @damagegrp cracky 3
 | 
			
		||||
	--  @damagegrp snappy 2
 | 
			
		||||
	--  @damagegrp level 3
 | 
			
		||||
	armor:register_armor("3d_armor:helmet_nether", {
 | 
			
		||||
		description = S("Nether Helmet"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_helmet_nether.png",
 | 
			
		||||
		groups = {armor_head=1, armor_heal=14, armor_use=100, armor_fire=1},
 | 
			
		||||
		armor_groups = {fleshy=18},
 | 
			
		||||
		damage_groups = {cracky=3, snappy=2, level=3},
 | 
			
		||||
	})
 | 
			
		||||
	--- Nether Chestplate
 | 
			
		||||
	--
 | 
			
		||||
	--  @chestplate 3d_armor:chestplate_nether
 | 
			
		||||
	--  @img 3d_armor_inv_chestplate_nether.png
 | 
			
		||||
	--  @grp armor_torso 1
 | 
			
		||||
	--  @grp armor_heal 14
 | 
			
		||||
	--  @grp armor_use 200
 | 
			
		||||
	--  @grp armor_fire 1
 | 
			
		||||
	--  @armorgrp fleshy 25
 | 
			
		||||
	--  @damagegrp cracky 3
 | 
			
		||||
	--  @damagegrp snappy 2
 | 
			
		||||
	--  @damagegrp level 3
 | 
			
		||||
	armor:register_armor("3d_armor:chestplate_nether", {
 | 
			
		||||
		description = S("Nether Chestplate"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_chestplate_nether.png",
 | 
			
		||||
		groups = {armor_torso=1, armor_heal=14, armor_use=200, armor_fire=1},
 | 
			
		||||
		armor_groups = {fleshy=25},
 | 
			
		||||
		damage_groups = {cracky=3, snappy=2, level=3},
 | 
			
		||||
	})
 | 
			
		||||
	--- Nether Leggings
 | 
			
		||||
	--
 | 
			
		||||
	--  @leggings 3d_armor:leggings_nether
 | 
			
		||||
	--  @img 3d_armor_inv_leggings_nether.png
 | 
			
		||||
	--  @grp armor_legs 1
 | 
			
		||||
	--  @grp armor_heal 14
 | 
			
		||||
	--  @grp armor_use 200
 | 
			
		||||
	--  @grp armor_fire 1
 | 
			
		||||
	--  @armorgrp fleshy 25
 | 
			
		||||
	--  @damagegrp cracky 3
 | 
			
		||||
	--  @damagegrp snappy 2
 | 
			
		||||
	--  @damagegrp level 3
 | 
			
		||||
	armor:register_armor("3d_armor:leggings_nether", {
 | 
			
		||||
		description = S("Nether Leggings"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_leggings_nether.png",
 | 
			
		||||
		groups = {armor_legs=1, armor_heal=14, armor_use=200, armor_fire=1},
 | 
			
		||||
		armor_groups = {fleshy=25},
 | 
			
		||||
		damage_groups = {cracky=3, snappy=2, level=3},
 | 
			
		||||
	})
 | 
			
		||||
	--- Nether Boots
 | 
			
		||||
	--
 | 
			
		||||
	--  @boots 3d_armor:boots_nether
 | 
			
		||||
	--  @img 3d_armor_inv_boots_nether.png
 | 
			
		||||
	--  @grp armor_feet 1
 | 
			
		||||
	--  @grp armor_heal 14
 | 
			
		||||
	--  @grp armor_use 200
 | 
			
		||||
	--  @grp armor_fire 1
 | 
			
		||||
	--  @armorgrp fleshy 18
 | 
			
		||||
	--  @damagegrp cracky 3
 | 
			
		||||
	--  @damagegrp snappy 2
 | 
			
		||||
	--  @damagegrp level 3
 | 
			
		||||
	armor:register_armor("3d_armor:boots_nether", {
 | 
			
		||||
		description = S("Nether Boots"),
 | 
			
		||||
		inventory_image = "3d_armor_inv_boots_nether.png",
 | 
			
		||||
		groups = {armor_feet=1, armor_heal=14, armor_use=200, armor_fire=1},
 | 
			
		||||
		armor_groups = {fleshy=18},
 | 
			
		||||
		damage_groups = {cracky=3, snappy=2, level=3},
 | 
			
		||||
	})
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
--- Crafting
 | 
			
		||||
--
 | 
			
		||||
--  @section craft
 | 
			
		||||
@@ -886,6 +972,7 @@ end
 | 
			
		||||
--    - gold:    default:gold_ingot
 | 
			
		||||
--    - mithril: moreores:mithril_ingot
 | 
			
		||||
--    - crystal: ethereal:crystal_ingot
 | 
			
		||||
--    - nether:  nether:nether_ingot
 | 
			
		||||
--
 | 
			
		||||
--  helmet:        chestplate:    leggings:
 | 
			
		||||
--  ┌───┬───┬───┐  ┌───┬───┬───┐  ┌───┬───┬───┐
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,7 @@ Helmets:
 | 
			
		||||
[3d_armor:helmet_gold] X = [default:gold_ingot]
 | 
			
		||||
[3d_armor:helmet_mithril] X = [moreores:mithril_ingot] *
 | 
			
		||||
[3d_armor:helmet_crystal] X = [ethereal:crystal_ingot] **
 | 
			
		||||
[3d_armor:helmet_nether] X = [ethereal:nether_ingot] **
 | 
			
		||||
 | 
			
		||||
Chestplates:
 | 
			
		||||
 | 
			
		||||
@@ -38,6 +39,7 @@ Chestplates:
 | 
			
		||||
[3d_armor:chestplate_gold] X = [default:gold_ingot]
 | 
			
		||||
[3d_armor:chestplate_mithril] X = [moreores:mithril_ingot] *
 | 
			
		||||
[3d_armor:chestplate_crystal] X = [ethereal:crystal_ingot] **
 | 
			
		||||
[3d_armor:chestplate_nether] X = [ethereal:nether_ingot] **
 | 
			
		||||
 | 
			
		||||
Leggings:
 | 
			
		||||
 | 
			
		||||
@@ -57,6 +59,7 @@ Leggings:
 | 
			
		||||
[3d_armor:leggings_gold] X = [default:gold_ingot]
 | 
			
		||||
[3d_armor:leggings_mithril] X = [moreores:mithril_ingot] *
 | 
			
		||||
[3d_armor:leggings_crystal] X = [ethereal:crystal_ingot] **
 | 
			
		||||
[3d_armor:leggings_nether] X = [ethereal:nether_ingot] **
 | 
			
		||||
 | 
			
		||||
Boots:
 | 
			
		||||
 | 
			
		||||
@@ -74,6 +77,8 @@ Boots:
 | 
			
		||||
[3d_armor:boots_gold] X = [default:gold_ingot]
 | 
			
		||||
[3d_armor:boots_mithril] X = [moreores:mithril_ingot] *
 | 
			
		||||
[3d_armor:boots_crystal] X = [ethereal:crystal_ingot] **
 | 
			
		||||
[3d_armor:boots_nether] X = [ethereal:nether_ingot] **
 | 
			
		||||
 | 
			
		||||
 * Requires moreores mod by Calinou - https://forum.minetest.net/viewtopic.php?id=549
 | 
			
		||||
** Requires ethereal mod by Chinchow & TenPlus1 - https://github.com/tenplus1/ethereal
 | 
			
		||||
** Requires nether mod - https://github.com/minetest-mods/nether.git
 | 
			
		||||
 
 | 
			
		||||
@@ -6,3 +6,4 @@ fire?
 | 
			
		||||
ethereal?
 | 
			
		||||
bakedclay?
 | 
			
		||||
moreores?
 | 
			
		||||
nether?
 | 
			
		||||
 
 | 
			
		||||
@@ -105,6 +105,9 @@ end
 | 
			
		||||
if not minetest.get_modpath("ethereal") then
 | 
			
		||||
	armor.materials.crystal = nil
 | 
			
		||||
end
 | 
			
		||||
if not minetest.get_modpath("nether") then
 | 
			
		||||
	armor.materials.nether = nil
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
dofile(modpath.."/armor.lua")
 | 
			
		||||
 | 
			
		||||
@@ -296,7 +299,7 @@ end
 | 
			
		||||
 | 
			
		||||
-- Armor Player Model
 | 
			
		||||
 | 
			
		||||
default.player_register_model("3d_armor_character.b3d", {
 | 
			
		||||
player_api.register_model("3d_armor_character.b3d", {
 | 
			
		||||
	animation_speed = 30,
 | 
			
		||||
	textures = {
 | 
			
		||||
		armor.default_skin..".png",
 | 
			
		||||
@@ -437,6 +440,20 @@ end, true)
 | 
			
		||||
 | 
			
		||||
minetest.register_globalstep(function(dtime)
 | 
			
		||||
	timer = timer + dtime
 | 
			
		||||
 | 
			
		||||
	if armor.config.feather_fall == true then
 | 
			
		||||
		for _,player in pairs(minetest.get_connected_players()) do
 | 
			
		||||
			local name = player:get_player_name()
 | 
			
		||||
			if armor.def[name].feather > 0 then
 | 
			
		||||
				local vel_y = player:get_velocity().y
 | 
			
		||||
				if vel_y < 0 and vel_y < 3 then
 | 
			
		||||
					vel_y = -(vel_y * 0.05)
 | 
			
		||||
					player:add_velocity({x = 0, y = vel_y, z = 0})
 | 
			
		||||
				end
 | 
			
		||||
			end
 | 
			
		||||
		end
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
	if timer <= armor.config.init_delay then
 | 
			
		||||
		return
 | 
			
		||||
	end
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										62
									
								
								3d_armor/locale/3d_armor.de.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,62 @@
 | 
			
		||||
# textdomain: 3d_armor
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### api.lua ###
 | 
			
		||||
 | 
			
		||||
3d_armor: Detached armor inventory is nil @1=3d_armor : Abgetrennter Rüstungsbestand ist nicht gesetzt: @1
 | 
			
		||||
3d_armor: Player name is nil @1=3d_armor : Spielername ist nicht gesetzt: @1
 | 
			
		||||
3d_armor: Player reference is nil @1=3d_armor : Spielerreferenz ist nicht gesetzt: @1
 | 
			
		||||
 | 
			
		||||
### armor.lua ###
 | 
			
		||||
 | 
			
		||||
Admin Boots=Adminstiefel
 | 
			
		||||
Admin Chestplate=Adminbrustplatte
 | 
			
		||||
Admin Helmet=Adminhelm
 | 
			
		||||
Admin Leggings=Adminhose
 | 
			
		||||
Bronze Boots=Bronzestiefel
 | 
			
		||||
Bronze Chestplate=Bronzebrustplatte
 | 
			
		||||
Bronze Helmet=Bronzehelm
 | 
			
		||||
Bronze Leggings=Bronzehose
 | 
			
		||||
Cactus Boots=Kaktusstiefel
 | 
			
		||||
Cactus Chestplate=Kaktusbrustplatte
 | 
			
		||||
Cactus Helmet=Kaktushelm
 | 
			
		||||
Cactus Leggings=Kaktushose
 | 
			
		||||
Crystal Boots=Kristallstiefel
 | 
			
		||||
Crystal Chestplate=Kristallbrustplatte
 | 
			
		||||
Crystal Helmet=Kristallhelm
 | 
			
		||||
Crystal Leggings=Kristallhose
 | 
			
		||||
Nether Boots=Netherstiefel
 | 
			
		||||
Nether Chestplate=Netherbrustplatte
 | 
			
		||||
Nether Helmet=Netherhelm
 | 
			
		||||
Nether Leggings=Netherhose
 | 
			
		||||
Diamond Boots=Diamantstiefel
 | 
			
		||||
Diamond Chestplate=Diamantbrustplatte
 | 
			
		||||
Diamond Helmet=Diamanthelm
 | 
			
		||||
Diamond Leggings=Diamanthose
 | 
			
		||||
Gold Boots=Goldstiefel
 | 
			
		||||
Gold Chestplate=Goldbrustplatte
 | 
			
		||||
Gold Helmet=Goldhelm
 | 
			
		||||
Gold Leggings=Goldhose
 | 
			
		||||
Mithril Boots=Mithrilstiefel
 | 
			
		||||
Mithril Chestplate=Mithrilbrustplatte
 | 
			
		||||
Mithril Helmet=Mithrilhelm
 | 
			
		||||
Mithril Leggings=Mithrilhose
 | 
			
		||||
Steel Boots=Stahlstiefel
 | 
			
		||||
Steel Chestplate=Stahlbrustplatte
 | 
			
		||||
Steel Helmet=Stahlhelm
 | 
			
		||||
Steel Leggings=Stahlhose
 | 
			
		||||
Wood Boots=Holzstiefel
 | 
			
		||||
Wood Chestplate=Holzbrustplatte
 | 
			
		||||
Wood Helmet=Holzhelm
 | 
			
		||||
Wood Leggings=Holzhose
 | 
			
		||||
 | 
			
		||||
### init.lua ###
 | 
			
		||||
 | 
			
		||||
3d_armor: Failed to initialize player=3d_armor : Initialisierung des Spielers fehlgeschlagen
 | 
			
		||||
Fire=Feuer
 | 
			
		||||
Heal=Heilen
 | 
			
		||||
Level=Stufe
 | 
			
		||||
Radiation=Strahlen
 | 
			
		||||
Your @1 got destroyed!=Deine @1 wurde zerstört!
 | 
			
		||||
Your @1 is almost broken!=Deine @1 ist fast kaputt!
 | 
			
		||||
[3d_armor] Fire Nodes disabled=[3d_armor] Feuer-Knoten deaktiviert
 | 
			
		||||
@@ -25,6 +25,10 @@ Crystal Boots=Botas de cristal
 | 
			
		||||
Crystal Chestplate=Peto de cristal
 | 
			
		||||
Crystal Helmet=Casco de cristal
 | 
			
		||||
Crystal Leggings=Grebas de cristal
 | 
			
		||||
Nether Boots=Botas de nether
 | 
			
		||||
Nether Chestplate=Peto de nether
 | 
			
		||||
Nether Helmet=Casco de nether
 | 
			
		||||
Nether Leggings=Grebas de nether
 | 
			
		||||
Diamond Boots=Botas de diamante
 | 
			
		||||
Diamond Chestplate=Peto de diamante
 | 
			
		||||
Diamond Helmet=Casco de diamante
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,10 @@ Crystal Boots=Bottes en cristal
 | 
			
		||||
Crystal Chestplate=Cuirasse en cristal
 | 
			
		||||
Crystal Helmet=Casque en cristal
 | 
			
		||||
Crystal Leggings=Jambières en cristal
 | 
			
		||||
Nether Boots=Bottes en nether
 | 
			
		||||
Nether Chestplate=Cuirasse en nether
 | 
			
		||||
Nether Helmet=Casque en nether
 | 
			
		||||
Nether Leggings=Jambières en nether
 | 
			
		||||
Diamond Boots=Bottes en diamant
 | 
			
		||||
Diamond Chestplate=Cuirasse en diamant
 | 
			
		||||
Diamond Helmet=Casque en diamant
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,10 @@ Crystal Boots=Stivali di cristallo
 | 
			
		||||
Crystal Chestplate=Corazza di cristallo
 | 
			
		||||
Crystal Helmet=Elmo di cristallo
 | 
			
		||||
Crystal Leggings=Gambali di cristallo
 | 
			
		||||
Nether Boots=Stivali di nether
 | 
			
		||||
Nether Chestplate=Corazza di nether
 | 
			
		||||
Nether Helmet=Elmo di nether
 | 
			
		||||
Nether Leggings=Gambali di nether
 | 
			
		||||
Diamond Boots=Stivali di diamante
 | 
			
		||||
Diamond Chestplate=Corazza di diamante
 | 
			
		||||
Diamond Helmet=Elmo di diamante
 | 
			
		||||
@@ -83,3 +87,4 @@ Diamond Shield=Scudo di diamante
 | 
			
		||||
Gold Shield=Scudo d'oro
 | 
			
		||||
Mithril Shield=Scudo di mithril
 | 
			
		||||
Crystal Shield=Scudo di cristallo
 | 
			
		||||
Nether Shield=Scudo di nether
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,10 @@ Crystal Boots=But Kristal
 | 
			
		||||
Crystal Chestplate=Perisai Dada Kristal
 | 
			
		||||
Crystal Helmet=Helmet Kristal
 | 
			
		||||
Crystal Leggings=Perisai Kaki Kristal
 | 
			
		||||
Nether Boots=But Nether
 | 
			
		||||
Nether Chestplate=Perisai Dada Nether
 | 
			
		||||
Nether Helmet=Helmet Nether
 | 
			
		||||
Nether Leggings=Perisai Kaki Nether
 | 
			
		||||
Diamond Boots=But Intan
 | 
			
		||||
Diamond Chestplate=Perisai Dada Intan
 | 
			
		||||
Diamond Helmet=Helmet Intan
 | 
			
		||||
@@ -83,3 +87,4 @@ Diamond Shield=Perisai Pegang Intan
 | 
			
		||||
Gold Shield=Perisai Pegang Emas
 | 
			
		||||
Mithril Shield=Perisai Pegang Mithril
 | 
			
		||||
Crystal Shield=Perisai Pegang Kristal
 | 
			
		||||
Nether Shield=Perisai Pegang Nether
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,10 @@ Crystal Boots=Botas de Cristal
 | 
			
		||||
Crystal Chestplate=Peitoral de Cristal
 | 
			
		||||
Crystal Helmet=Capacete de Cristal
 | 
			
		||||
Crystal Leggings=Calças de Cristal
 | 
			
		||||
Nether Boots=Botas de Nether
 | 
			
		||||
Nether Chestplate=Peitoral de Nether
 | 
			
		||||
Nether Helmet=Capacete de Nether
 | 
			
		||||
Nether Leggings=Calças de Nether
 | 
			
		||||
Diamond Boots=Botas de Diamante
 | 
			
		||||
Diamond Chestplate=Peitoral de Diamante
 | 
			
		||||
Diamond Helmet=Capacete de Diamante
 | 
			
		||||
@@ -83,3 +87,4 @@ Diamond Shield=Escudo de Diamante
 | 
			
		||||
Gold Shield=Escudo de Ouro
 | 
			
		||||
Mithril Shield=Escudo de Mithril
 | 
			
		||||
Crystal Shield=Escudo de Cristal
 | 
			
		||||
Nether Shield=Escudo de Nether
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,10 @@ Crystal Boots=Botas de Cristal
 | 
			
		||||
Crystal Chestplate=Peitoral de Cristal
 | 
			
		||||
Crystal Helmet=Capacete de Cristal
 | 
			
		||||
Crystal Leggings=Calças de Cristal
 | 
			
		||||
Nether Boots=Botas de Nether
 | 
			
		||||
Nether Chestplate=Peitoral de Nether
 | 
			
		||||
Nether Helmet=Capacete de Nether
 | 
			
		||||
Nether Leggings=Calças de Nether
 | 
			
		||||
Diamond Boots=Botas de Diamante
 | 
			
		||||
Diamond Chestplate=Peitoral de Diamante
 | 
			
		||||
Diamond Helmet=Capacete de Diamante
 | 
			
		||||
@@ -83,3 +87,4 @@ Diamond Shield=Escudo de Diamante
 | 
			
		||||
Gold Shield=Escudo de Ouro
 | 
			
		||||
Mithril Shield=Escudo de Mithril
 | 
			
		||||
Crystal Shield=Escudo de Cristal
 | 
			
		||||
Nether Shield=Escudo de Nether
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,10 @@ Crystal Boots=
 | 
			
		||||
Crystal Chestplate=
 | 
			
		||||
Crystal Helmet=
 | 
			
		||||
Crystal Leggings=
 | 
			
		||||
Nether Boots=
 | 
			
		||||
Nether Chestplate=
 | 
			
		||||
Nether Helmet=
 | 
			
		||||
Nether Leggings=
 | 
			
		||||
Diamond Boots=
 | 
			
		||||
Diamond Chestplate=
 | 
			
		||||
Diamond Helmet=
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
name = 3d_armor
 | 
			
		||||
depends = default
 | 
			
		||||
optional_depends = player_monoids, armor_monoid, pova, fire, ethereal, bakedclay, moreores
 | 
			
		||||
depends = default, player_api
 | 
			
		||||
optional_depends = player_monoids, armor_monoid, pova, fire, ethereal, bakedclay, moreores, nether
 | 
			
		||||
description = Adds craftable armor that is visible to other players.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_boots_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 324 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_boots_nether_preview.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 264 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_chestplate_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 581 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_chestplate_nether_preview.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 384 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_helmet_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 525 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_helmet_nether_preview.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 267 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_inv_boots_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 322 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_inv_chestplate_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 386 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_inv_helmet_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 267 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_inv_leggings_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 297 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_leggings_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 406 B  | 
							
								
								
									
										
											BIN
										
									
								
								3d_armor/textures/3d_armor_leggings_nether_preview.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 255 B  | 
@@ -38,6 +38,11 @@
 | 
			
		||||
3d_armor/textures/3d_armor_leggings_crystal.png:legs
 | 
			
		||||
3d_armor/textures/3d_armor_boots_crystal.png:feet
 | 
			
		||||
 | 
			
		||||
3d_armor/textures/3d_armor_helmet_nether.png:head
 | 
			
		||||
3d_armor/textures/3d_armor_chestplate_nether.png:torso
 | 
			
		||||
3d_armor/textures/3d_armor_leggings_nether.png:legs
 | 
			
		||||
3d_armor/textures/3d_armor_boots_nether.png:feet
 | 
			
		||||
 | 
			
		||||
3d_armor/textures/3d_armor_helmet_admin.png:head
 | 
			
		||||
3d_armor/textures/3d_armor_chestplate_admin.png:torso
 | 
			
		||||
3d_armor/textures/3d_armor_leggings_admin.png:legs
 | 
			
		||||
 
 | 
			
		||||
@@ -8,6 +8,7 @@ armor_material_diamond (Enable diamond armor) bool true
 | 
			
		||||
armor_material_gold (Enable gold armor) bool true
 | 
			
		||||
armor_material_mithril (Enable mithril armor) bool true
 | 
			
		||||
armor_material_crystal (Enable crystal armor) bool true
 | 
			
		||||
armor_material_nether (Enable nether armor) bool true
 | 
			
		||||
 | 
			
		||||
# Increase this if you get initialization glitches when a player first joins.
 | 
			
		||||
armor_init_delay (Initialization delay) int 2
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,7 @@ Shields -- Crafting Guide
 | 
			
		||||
[shields:shield_gold] X = [default:gold_ingot]
 | 
			
		||||
[shields:shield_mithril] X = [moreores:mithril_ingot]
 | 
			
		||||
[shields:shield_crystal] X = [ethereal:crystal_ingot]
 | 
			
		||||
[shields:shield_nether] X = [ethereal:nether_ingot]
 | 
			
		||||
 | 
			
		||||
Enhanced Shields
 | 
			
		||||
----------------
 | 
			
		||||
 
 | 
			
		||||
@@ -328,8 +328,8 @@ if armor.materials.mithril then
 | 
			
		||||
	armor:register_armor("shields:shield_mithril", {
 | 
			
		||||
		description = S("Mithril Shield"),
 | 
			
		||||
		inventory_image = "shields_inv_shield_mithril.png",
 | 
			
		||||
		groups = {armor_shield=1, armor_heal=12, armor_use=100},
 | 
			
		||||
		armor_groups = {fleshy=15},
 | 
			
		||||
		groups = {armor_shield=1, armor_heal=13, armor_use=66},
 | 
			
		||||
		armor_groups = {fleshy=16},
 | 
			
		||||
		damage_groups = {cracky=2, snappy=1, level=3},
 | 
			
		||||
		reciprocate_damage = true,
 | 
			
		||||
		on_damage = function(player, index, stack)
 | 
			
		||||
@@ -370,6 +370,35 @@ if armor.materials.crystal then
 | 
			
		||||
	})
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
if armor.materials.nether then
 | 
			
		||||
	--- Nether Shield
 | 
			
		||||
	--
 | 
			
		||||
	--  @shield shields:shield_nether
 | 
			
		||||
	--  @img shields_inv_shield_nether.png
 | 
			
		||||
	--  @grp armor_shield 1
 | 
			
		||||
	--  @grp armor_heal 17
 | 
			
		||||
	--  @grp armor_use 200
 | 
			
		||||
	--  @grp armor_fire 1
 | 
			
		||||
	--  @armorgrp fleshy 20
 | 
			
		||||
	--  @damagegrp cracky 3
 | 
			
		||||
	--  @damagegrp snappy 2
 | 
			
		||||
	--  @damagegrp level 3
 | 
			
		||||
	armor:register_armor("shields:shield_nether", {
 | 
			
		||||
		description = S("Nether Shield"),
 | 
			
		||||
		inventory_image = "shields_inv_shield_nether.png",
 | 
			
		||||
		groups = {armor_shield=1, armor_heal=17, armor_use=200, armor_fire=1},
 | 
			
		||||
		armor_groups = {fleshy=20},
 | 
			
		||||
		damage_groups = {cracky=3, snappy=2, level=3},
 | 
			
		||||
		reciprocate_damage = true,
 | 
			
		||||
		on_damage = function(player, index, stack)
 | 
			
		||||
			play_sound_effect(player, "default_glass_footstep")
 | 
			
		||||
		end,
 | 
			
		||||
		on_destroy = function(player, index, stack)
 | 
			
		||||
			play_sound_effect(player, "default_break_glass")
 | 
			
		||||
		end,
 | 
			
		||||
	})
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
for k, v in pairs(armor.materials) do
 | 
			
		||||
	minetest.register_craft({
 | 
			
		||||
		output = "shields:shield_"..k,
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										17
									
								
								shields/locale/shields.de.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,17 @@
 | 
			
		||||
# textdomain: shields
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### init.lua ###
 | 
			
		||||
 | 
			
		||||
Admin Shield=Adminschild
 | 
			
		||||
Bronze Shield=Bronzeschild
 | 
			
		||||
Cactus Shield=Kaktusschild
 | 
			
		||||
Crystal Shield=Kristallschild
 | 
			
		||||
Nether Shield=Netherschild
 | 
			
		||||
Diamond Shield=Diamantschild
 | 
			
		||||
Enhanced Cactus Shield=verbessert Kaktusschild
 | 
			
		||||
Enhanced Wood Shield=verbessert Holzschild
 | 
			
		||||
Gold Shield=Goldschild
 | 
			
		||||
Mithril Shield=Mithrilschild
 | 
			
		||||
Steel Shield=Stahlschild
 | 
			
		||||
Wooden Shield=Holzschild
 | 
			
		||||
@@ -7,6 +7,7 @@ Admin Shield=Bouclier d'admin
 | 
			
		||||
Bronze Shield=Bouclier en bronze
 | 
			
		||||
Cactus Shield=Bouclier en cactus
 | 
			
		||||
Crystal Shield=Bouclier en cristal
 | 
			
		||||
Nether Shield=Bouclier en nether
 | 
			
		||||
Diamond Shield=Bouclier en diamant
 | 
			
		||||
Enhanced Cactus Shield=Bouclier en cactus amélioré
 | 
			
		||||
Enhanced Wood Shield=Bouclier en bois amélioré
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,7 @@ Admin Shield=
 | 
			
		||||
Bronze Shield=
 | 
			
		||||
Cactus Shield=
 | 
			
		||||
Crystal Shield=
 | 
			
		||||
Nether Shield=
 | 
			
		||||
Diamond Shield=
 | 
			
		||||
Enhanced Cactus Shield=
 | 
			
		||||
Enhanced Wood Shield=
 | 
			
		||||
 
 | 
			
		||||
@@ -8,4 +8,5 @@ shields/textures/shields_shield_gold.png:shield
 | 
			
		||||
shields/textures/shields_shield_diamond.png:shield
 | 
			
		||||
shields/textures/shields_shield_mithril.png:shield
 | 
			
		||||
shields/textures/shields_shield_crystal.png:shield
 | 
			
		||||
shields/textures/shields_shield_nether.png:shield
 | 
			
		||||
shields/textures/shields_shield_admin.png:shield
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								shields/textures/shields_inv_shield_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 468 B  | 
							
								
								
									
										
											BIN
										
									
								
								shields/textures/shields_shield_nether.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 518 B  | 
							
								
								
									
										
											BIN
										
									
								
								shields/textures/shields_shield_nether_preview.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 517 B  |