Updating translations
This commit is contained in:
parent
952d900255
commit
5352b913ab
45
.gitignore
vendored
Normal file
45
.gitignore
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# ---> Lua
|
||||||
|
# Compiled Lua sources
|
||||||
|
luac.out
|
||||||
|
|
||||||
|
# luarocks build files
|
||||||
|
*.src.rock
|
||||||
|
*.zip
|
||||||
|
*.tar.gz
|
||||||
|
|
||||||
|
# Object files
|
||||||
|
*.o
|
||||||
|
*.os
|
||||||
|
*.ko
|
||||||
|
*.obj
|
||||||
|
*.elf
|
||||||
|
|
||||||
|
# Precompiled Headers
|
||||||
|
*.gch
|
||||||
|
*.pch
|
||||||
|
|
||||||
|
# Libraries
|
||||||
|
*.lib
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
*.lo
|
||||||
|
*.def
|
||||||
|
*.exp
|
||||||
|
|
||||||
|
# Shared objects (inc. Windows DLLs)
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.so.*
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
*.app
|
||||||
|
*.i*86
|
||||||
|
*.x86_64
|
||||||
|
*.hex
|
||||||
|
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
|
16
aa12.lua
16
aa12.lua
@ -1,4 +1,4 @@
|
|||||||
|
local S = minetest.get_translator("rangedweapons")
|
||||||
|
|
||||||
minetest.register_tool("rangedweapons:aa12_r", {
|
minetest.register_tool("rangedweapons:aa12_r", {
|
||||||
stack_max= 1,
|
stack_max= 1,
|
||||||
@ -35,7 +35,19 @@ minetest.register_tool("rangedweapons:aa12_rrr", {
|
|||||||
minetest.register_tool("rangedweapons:aa12", {
|
minetest.register_tool("rangedweapons:aa12", {
|
||||||
stack_max= 1,
|
stack_max= 1,
|
||||||
wield_scale = {x=1.9,y=1.9,z=1.4},
|
wield_scale = {x=1.9,y=1.9,z=1.4},
|
||||||
description = "" ..core.colorize("#35cdff","AA-12\n") ..core.colorize("#FFFFFF", "Ranged damage: 1\n") ..core.colorize("#FFFFFF", "projectiles: 5\n") ..core.colorize("#FFFFFF", "Gun gravity: 4\n") ..core.colorize("#FFFFFF", "accuracy: 40%\n") ..core.colorize("#FFFFFF", "knockback: 5\n") ..core.colorize("#FFFFFF", "Reload delay: 1.5\n") ..core.colorize("#FFFFFF", "Clip size: 20\n") ..core.colorize("#FFFFFF", "Critical chance: 5%\n") ..core.colorize("#FFFFFF", "Critical efficiency: 2.0x\n") ..core.colorize("#FFFFFF", "Ammunition: 12 gauge shell\n") ..core.colorize("#FFFFFF", "Rate of fire: 0.2 (full-auto)\n") ..core.colorize("#FFFFFF", "Gun type: shotgun\n") ..core.colorize("#FFFFFF", "Bullet velocity: 25"),
|
description = "" ..core.colorize("#35cdff","AA-12\n") ..S("Ranged damage: @1\n", 1)
|
||||||
|
.. S("projectiles: @1\n", 5)
|
||||||
|
..S("Gun gravity: @1\n", 4)
|
||||||
|
..S("accuracy: @1%\n", 40)
|
||||||
|
..S("knockback: @1\n", 5)
|
||||||
|
..S("Reload delay: @1\n", 1.5)
|
||||||
|
..S("Clip size: @1\n", 20)
|
||||||
|
..S("Critical chance: @1%\n", 5)
|
||||||
|
..S("Critical efficiency: @1x\n", 2.0)
|
||||||
|
..S("Ammunition: @1 gauge shell\n", 12)
|
||||||
|
..S("Rate of fire: @1 (full-auto)\n", 0.2)
|
||||||
|
..S("Gun type: shotgun\n")
|
||||||
|
..S("Bullet velocity: @1", 25),
|
||||||
range = 0,
|
range = 0,
|
||||||
inventory_image = "rangedweapons_aa12.png",
|
inventory_image = "rangedweapons_aa12.png",
|
||||||
RW_gun_capabilities = {
|
RW_gun_capabilities = {
|
||||||
|
@ -1,5 +1,17 @@
|
|||||||
# textdomain: rangedweapons
|
# textdomain: rangedweapons
|
||||||
|
Ranged damage: @1@n=Урон дальнего боя: @1@n
|
||||||
|
projectiles: @1@n=снаряды: @1@n
|
||||||
|
Gun gravity: @1@n=Гравитация пушки: @1@n
|
||||||
|
accuracy: @1%@n=точность: @1%@n
|
||||||
|
knockback: @1@n=отбрасывание: @1@n
|
||||||
|
Reload delay: @1@n=Задержка перезарядки: @1@n
|
||||||
|
Clip size: @1@n=Размер клипа: @1@n
|
||||||
|
Critical chance: @1%@n=Критический шанс: @1%@n
|
||||||
|
Critical efficiency: @1x@n=Критическая эффективность: @1x@n
|
||||||
|
Ammunition: @1 gauge shell@n=Боеприпасы: @1 калибр@n
|
||||||
|
Rate of fire: @1 (full-auto)@n=Скорострельность: @1 (полностью автоматический)@n
|
||||||
|
Gun type: shotgun@n=Тип оружия: дробовик@n
|
||||||
|
Bullet velocity: @1=Скорость пули: @1
|
||||||
Grenades are prohibited in this area!=Гранаты в этой зоне запрещены!
|
Grenades are prohibited in this area!=Гранаты в этой зоне запрещены!
|
||||||
You've improved your skill with this type of gun!=Вы улучшили свои навыки обращения с этим типом оружия!
|
You've improved your skill with this type of gun!=Вы улучшили свои навыки обращения с этим типом оружия!
|
||||||
throwable weapons are prohibited in this area!=метательное оружие в этой зоне запрещено!
|
throwable weapons are prohibited in this area!=метательное оружие в этой зоне запрещено!
|
||||||
@ -23,5 +35,3 @@ A.Rifle skill degraded!=A. Навык стрельбы из винтовки у
|
|||||||
Revolver/magnum skill degraded!=Навык револьвера/магнума ухудшился!
|
Revolver/magnum skill degraded!=Навык револьвера/магнума ухудшился!
|
||||||
Rifle skill degraded!=Навык стрельбы снизился!
|
Rifle skill degraded!=Навык стрельбы снизился!
|
||||||
Throwing skill degraded!=Навык броска ухудшился!
|
Throwing skill degraded!=Навык броска ухудшился!
|
||||||
|
|
||||||
|
|
||||||
|
37
locale/template.txt
Normal file
37
locale/template.txt
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# textdomain: rangedweapons
|
||||||
|
Ranged damage: @1@n=
|
||||||
|
projectiles: @1@n=
|
||||||
|
Gun gravity: @1@n=
|
||||||
|
accuracy: @1%@n=
|
||||||
|
knockback: @1@n=
|
||||||
|
Reload delay: @1@n=
|
||||||
|
Clip size: @1@n=
|
||||||
|
Critical chance: @1%@n=
|
||||||
|
Critical efficiency: @1x@n=
|
||||||
|
Ammunition: @1 gauge shell@n=
|
||||||
|
Rate of fire: @1 (full-auto)@n=
|
||||||
|
Gun type: shotgun@n=
|
||||||
|
Bullet velocity: @1=
|
||||||
|
Grenades are prohibited in this area!=
|
||||||
|
You've improved your skill with this type of gun!=
|
||||||
|
throwable weapons are prohibited in this area!=
|
||||||
|
Guns are prohibited in this area!=
|
||||||
|
Gun efficiency: increases damage, accuracy and crit chance.=
|
||||||
|
Handgun efficiency:=
|
||||||
|
M.Pistol efficiency:=
|
||||||
|
S.M.G efficiency:=
|
||||||
|
Shotgun efficiency:=
|
||||||
|
Heavy.MG efficiency:=
|
||||||
|
A.rifle efficiency:=
|
||||||
|
Revl./mgn. efficiency:=
|
||||||
|
Rifle efficiency:=
|
||||||
|
Throwing efficiency:=
|
||||||
|
Handgun skill degraded!=
|
||||||
|
Machine Pistol skill degraded!=
|
||||||
|
S.M.G skill degraded!=
|
||||||
|
Shotgun skill degraded!=
|
||||||
|
Heavy.MG skill degraded!=
|
||||||
|
A.Rifle skill degraded!=
|
||||||
|
Revolver/magnum skill degraded!=
|
||||||
|
Rifle skill degraded!=
|
||||||
|
Throwing skill degraded!=
|
1
mod.conf
1
mod.conf
@ -3,6 +3,5 @@ description = A mod that adds guns and throwable weapons
|
|||||||
depends = default, tnt
|
depends = default, tnt
|
||||||
optional_depends = doors, xpanes, vessels, moreores, 3d_armor
|
optional_depends = doors, xpanes, vessels, moreores, 3d_armor
|
||||||
min_minetest_version = 5.8
|
min_minetest_version = 5.8
|
||||||
release = 25331
|
|
||||||
author = Lars
|
author = Lars
|
||||||
title = Ranged Weapons
|
title = Ranged Weapons
|
||||||
|
Loading…
x
Reference in New Issue
Block a user