1
0
зеркало из https://github.com/minetest-mods/3d_armor.git synced 2025-11-10 08:55:26 +01:00

Merge remote-tracking branch 'upstream/master'

Этот коммит содержится в:
2021-03-06 16:49:10 +01:00
родитель 2b535ee887 31aa979215
Коммит bda0db7c04
74 изменённых файлов: 1729 добавлений и 2811 удалений

Просмотреть файл

@@ -1,8 +1,7 @@
-- support for i18n
local S = armor_i18n.gettext
local S = minetest.get_translator(minetest.get_current_modname())
local disable_sounds = minetest.settings:get_bool("shields_disable_sounds")
local use_moreores = minetest.get_modpath("moreores")
local function play_sound_effect(player, name)
if not disable_sounds and player then
local pos = player:get_pos()
@@ -18,8 +17,6 @@ end
if minetest.global_exists("armor") and armor.elements then
table.insert(armor.elements, "shield")
local mult = armor.config.level_multiplier or 1
armor.config.level_multiplier = mult * 0.9
end
-- Regisiter Shields
@@ -69,6 +66,11 @@ if armor.materials.wood then
{"default:steel_ingot"},
},
})
minetest.register_craft({
type = "fuel",
recipe = "shields:shield_wood",
burntime = 8,
})
end
if armor.materials.cactus then
@@ -108,6 +110,11 @@ if armor.materials.cactus then
{"default:steel_ingot"},
},
})
minetest.register_craft({
type = "fuel",
recipe = "shields:shield_cactus",
burntime = 16,
})
end
if armor.materials.steel then

16
shields/locale/shields.fr.tr Обычный файл
Просмотреть файл

@@ -0,0 +1,16 @@
# textdomain: shields
### init.lua ###
Admin Shield=Bouclier d'admin
Bronze Shield=Bouclier en bronze
Cactus Shield=Bouclier en cactus
Crystal Shield=Bouclier en cristal
Diamond Shield=Bouclier en diamant
Enhanced Cactus Shield=Bouclier en cactus amélioré
Enhanced Wood Shield=Bouclier en bois amélioré
Gold Shield=Bouclier en or
Mithril Shield=Bouclier en mithril
Steel Shield=Bouclier en acier
Wooden Shield=Bouclier en bois

16
shields/locale/template.txt Обычный файл
Просмотреть файл

@@ -0,0 +1,16 @@
# textdomain: shields
### init.lua ###
Admin Shield=
Bronze Shield=
Cactus Shield=
Crystal Shield=
Diamond Shield=
Enhanced Cactus Shield=
Enhanced Wood Shield=
Gold Shield=
Mithril Shield=
Steel Shield=
Wooden Shield=

3
shields/mod.conf Обычный файл
Просмотреть файл

@@ -0,0 +1,3 @@
name = shields
depends = default, 3d_armor
description = Adds visible shields to 3d armor.

Двоичные данные
shields/textures/shields_inv_shield_wood.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1.8 KiB

После

Ширина:  |  Высота:  |  Размер: 1.8 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 13 KiB

После

Ширина:  |  Высота:  |  Размер: 13 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 6.9 KiB

После

Ширина:  |  Высота:  |  Размер: 6.9 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1.2 KiB

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB