mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2025-06-28 06:20:33 +02:00
add nether armor and nether shield (#65)
* add texture files for nether based 3d_armor * add texture files for nether based shield * perpare for nether armor * add nether armor * add translation for nether armor * add translation for nether armor * add nether shield * add nether shield translation * add nether armor texture preview info * add nether shield texture preview info * add nether to settingtypes.txt * add german translation for armor * add german translation for shields * Nether armor stats modified. * Modify Nether Shield Stats * Update inline documentation
This commit is contained in:
@ -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
|
||||
----------------
|
||||
|
@ -370,6 +370,34 @@ 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
|
||||
-- @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_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
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
BIN
shields/textures/shields_inv_shield_nether.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 468 B |
BIN
shields/textures/shields_shield_nether.png
Normal file
BIN
shields/textures/shields_shield_nether.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 518 B |
BIN
shields/textures/shields_shield_nether_preview.png
Normal file
BIN
shields/textures/shields_shield_nether_preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 517 B |
Reference in New Issue
Block a user