Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Ammo-nation #1025

Merged
merged 18 commits into from
Feb 6, 2025
1 change: 1 addition & 0 deletions Resources/Locale/en-US/armor/armor-examine.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ armor-damage-type-heat = Heat
armor-damage-type-radiation = Radiation
armor-damage-type-caustic = Caustic
armor-damage-type-stun = Stunic
armor-damage-type-armor-piercing = Punching
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Необходимо обеспечить согласованность переводов

Перевод "Punching" должен соответствовать переводу в файле damage-types.ftl для сохранения единообразия терминологии.

Предлагаемое изменение:

-armor-damage-type-armor-piercing = Punching
+armor-damage-type-armor-piercing = Armor-piercing
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
armor-damage-type-armor-piercing = Punching
armor-damage-type-armor-piercing = Armor-piercing

armor-damage-type-bloodloss = Bloodloss
armor-damage-type-asphyxiation = Asphyxiation
armor-damage-type-cellular = Cellular
Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/en-US/damage/damage-types.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ damage-type-holy = Holy

#backmen
damage-type-stun = Stun
damage-type-armor-piercing = Punching
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Несоответствие в переводе типа урона

Перевод "Punching" не соответствует концепции бронебойного урона (armor-piercing). Рекомендуется использовать более точный термин.

Предлагаемое изменение:

-damage-type-armor-piercing = Punching
+damage-type-armor-piercing = Armor-piercing
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
damage-type-armor-piercing = Punching
damage-type-armor-piercing = Armor-piercing

4 changes: 1 addition & 3 deletions Resources/Locale/ru-RU/_backmen/energydome/energydome.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ energy-dome-on-examine-is-on-message = Энергетический барьер
energy-dome-on-examine-is-off-message = Энергетический барьер [color=darkred]выключен[/color].
energy-dome-verb-toggle = Включить энергетический барьер

research-technology-energy_barriers = Энергетические барьеры

uplink-energy-dome-name = Энергетический барьер
uplink-energy-dome-desc = Генератор щита, защищающий владельца от лазеров и пуль, но не позволяющий самому использовать оружие дальнего боя. Использует батареи.
uplink-energy-dome-desc = Генератор щита, защищающий владельца от лазеров и пуль, но не позволяющий самому использовать оружие дальнего боя. Использует батареи.
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/_backmen/technologys/security.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
research-technology-armorpiercingammo = Бронебойные боеприпасы
research-technology-energy_barriers = Энергетические барьеры
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/armor/armor-examine.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ armor-damage-type-heat = Высокотемпературный
armor-damage-type-radiation = Радиационный
armor-damage-type-caustic = Кислотный
armor-damage-type-stun = Оглушающий
armor-damage-type-armor-piercing = Пробивающий
armor-damage-type-bloodloss = От кровопотери
armor-damage-type-asphyxiation = От удушения
armor-damage-type-cellular = Клеточный
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ ent-WeaponEarthGovLaserPistol = лазерный пистолет правите
ent-WeaponRifleMaDeuce = М60 MaDeuce
.desc = M60 - это крупногабаритная переносная машина для человека, обеспечивающая устойчивую и точную подавляющую огневую мощь за счет мобильности и управляемости. Часто встречается там, где их предпочтительная тактика быстрой, мобильной агрессии плохо подходит.
.suffix = Адмем
ent-BaseMagazineHeavyRifle50 = магазин (.60 крупнокалиберный)
.desc = { ent-BaseItem.desc }
ent-MagazineHeavyRifleMaDeuse = магазин (.60 крупнокалиберный)
.desc = { ent-BaseMagazineHeavyRifle50.desc }
ent-WeaponPistolACP14 = ACP-14
.desc = ACP-14 производства Earth Armories. Надежное боковое оружие, заряжаемое патронами .35 авто.
.suffix = Пистолет
Expand All @@ -30,10 +26,6 @@ ent-WeaponPistolVP78 = боевой пистолет VP-78
ent-WeaponPistolDEagle = Пустынный Орел
.desc = "Магнум" под патрон 45-го калибра, который наносит серьезный удар. На этом выгравировано: "Мир благодаря превосходящей огневой мощи".
.suffix = Пистолет
ent-MagazineMagnumPistolAP = пистолетный магазин (.45 магнум AP)
.desc = { ent-MagazineMagnumPistol.desc }
ent-MagazineMagnumPistol = пистолетный магазин (.45 магнум)
.desc = { ent-BaseItem.desc }
ent-WeaponPistolG22 = G-22
.desc = Популярное полицейское огнестрельное оружие в наши дни. Патрон .35 авто.
.suffix = Пистолет
Expand Down Expand Up @@ -82,12 +74,6 @@ ent-WeaponSubMachineGunSkorpion = Скорпион VZ-61
ent-WeaponSubMachineGunMP38 = MP-38
.desc = MP-38 - старый и дешевый пистолет-пулемет, используемый повстанцами, он обладает хорошими характеристиками на больших дистанциях в компактном корпусе, хотя и страдает из-за низкой для своего класса скорострельности.
.suffix = Пистолет-пулемёт
ent-MagazinePistolBoxSubMachineGun = Коробчатый магазин SMG (.35 авто)
.desc = { ent-BaseItem.desc }
ent-MagazinePistolDrumSubMachineGun = Барабанный магазин SMG (.35 авто)
.desc = { ent-BaseItem.desc }
ent-MagazinePistolTopSubMachineGun = Магазин SMG, установленный сверху (.35 авто)
.desc = { ent-BaseItem.desc }
ent-WeaponSubMachineGunUzi = Узи
.desc = Дешевая, надежная конструкция и производство делают этот вездесущий пистолет-пулемет полезным, несмотря на возраст. Переведите переключатель огня в режим "Авто" для достижения максимальной огневой мощи. Используйте два, если вы действительно хотите поджарить ветчину.
.suffix = Пистолет-пулемёт
Expand All @@ -112,8 +98,6 @@ ent-WeaponShotgunZauer = Зауэр
ent-WeaponRifleBR64 = BR-64
.desc = San Cristo Arms BR-64 - основная боевая винтовка Корпуса морской пехоты. Он известен своей стабильной способностью хорошо работать на большинстве дистанций и убойной силой на близком расстоянии. В основном им пользуются люди, которые предпочитают круглую форму побольше средней.
.suffix = Винтовка
ent-MagazineHeavyRifleBR64 = винтовочный магазин (.62 винтовка)
.desc = Стандартные тяжелые магазины земного типа.
ent-BaseCartridgeRifleHeavy = патрон (.62 винтовочный)
.desc = { ent-BaseCartridge.desc }
ent-CartridgeRifleHeavy = патрон (.62 винтовочный)
Expand All @@ -123,8 +107,6 @@ ent-BulletHeavy62 = Пуля (.62 винтовочный)
ent-WeaponRifleSR127 = Затворная винтовка Bauer SR-127
.desc = Bauer SR-127 - это стандартная винтовка с затвором, используемая Объединенным правительством Земли. Известен своей точностью на дальних дистанциях и используется стрелками, несмотря на свой возраст и отсутствие IFF. У него несъемный прицел. Использует магазины 60-го калибра, защищающие от материалов."
.suffix = Винтовка
ent-MagazineAntiMaterielRifleSR = магазин для винтовки (.60 крупнокалиберный)
.desc = Стандартные тяжелые магазины земного типа.
ent-WeaponLauncherGL70 = GL-79
.desc = GL-70 - это стандартный гранатомет, используемый армией Земли для зачистки территорий и проведения крупных взрывов.
.suffix = Гранатомёт
Expand Down Expand Up @@ -164,32 +146,18 @@ ent-WeaponShotguntrenchgun4034 = Тренчган L-4034
ent-WeaponRifleDragunov = Драгунов
.desc = Полуавтоматическая снайперская винтовка, известная своей меткостью, полностью предназначена для стрельбы на дальние дистанции.
.suffix = Винтовка
ent-MagazineRifleLightSniper = магазин для винтовки (7,62 винтовка)
.desc = Стандартный тяжёлый магазин типа USSP.
ent-BaseCartridgeRifleLightSniper = патрон (7,62 винтовка)
.desc = { ent-BaseCartridge.desc }
ent-CartridgeRifleLight762 = патрон (7,62 винтовка)
.desc = { ent-BaseCartridgeRifleLightSniper.desc }
ent-BulletLight762 = пуля (7,62 винтовка)
.desc = { ent-BaseBullet.desc }
ent-WeaponLightMachineGunRPD = RPD
.desc = Дешёвый и надёжный пулемёт, иногда более известный как 'RPD'. Несмотря на отсутствие точек крепления, кроме подствольного, остаётся популярным продуктом на черном рынке благодаря своей низкой стоимости, большой ёмкости и повышенному калибру патронов.
.suffix = Пулемёт
ent-WeaponLightMachineGunMG42 = MG-42
.desc = Пулемёт ОПЗ периода Второй мировой войны. Разработан фирмой Metall-und Lackwarenfabrik Johannes Großfuß в 1942 году. После войны поставки данного пулемета возобновили в 2342 году.
.suffix = Пулемёт
ent-MagazineHeavyMachineGunDrum = Барабанный магазин (.25 безгильзовый)
.desc = { ent-BaseItem.desc }
ent-WeaponLightMachineGunMG60 = MG-60
.desc = Универсальный пулемёт MG-60 фирмы Raummetall — стандартное ГПМГ армии EarthGov. Хотя обычно устанавливается на транспортные средства, иногда используется пехотой для блокирования проходов, подавления противников или, в редких случаях, для стрельбы на ходу.
.suffix = Пулемёт
ent-WeaponRifleM41 = M-41
.desc = M-41 — это крупнокалиберный переносной пулемёт, обеспечивающий устойчивый, точный подавляющий огонь за счёт ухудшенной подвижности и управляемости. Часто используется там, где предпочтительная тактика быстрого, мобильного наступления не подходит.
.suffix = Пулемёт
ent-MagazineHeavyRifleV41 = магазин (.20 винтовочный)
.desc = { ent-BaseMagazineHeavyRifle50.desc }
ent-MagazineLightMachineGunDrum = Барабанный магазин (.20 винтовочный)
.desc = { ent-BaseItem.desc }
ent-WeaponShotgun12 = Спас-12
.desc = Дробовик, используемый морским корпусом EarthGov. Используется для ближнего боя, когда нужно что-то более подходящее для близкой дистанции, чем у большинства людей, или как странный запасной пистолет на спине для чрезвычайных ситуаций. Использует гильзы калибра 50.
.suffix = Дробовик
Expand All @@ -213,8 +181,6 @@ ent-ParticlesFireNRF = струя реактивного пламени
ent-ParticlesFireNRFHELL = струя реактивного пламени
.desc = Очень горячо!
.suffix = Адское Пламя
ent-MagazineBoxRifleLightSniper = пакет патронов (7,62 винтовка)
ent-MagazineBoxHeavyRifle = коробка патронов (.62 винтовочный)
ent-CartridgeAntitank = Патрон (14,5 Противотанковая)
ent-WeaponSniperPtrd-m = ПТРД-М
.desc = Переносная противотанковая винтовка Драгунова модифицированя. Стреляет аналоговыми бронебойными снарядами калибра 14,5 мм. Использует противотанковые боеприпасы
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Cargo/cargo_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
sprite: Clothing/OuterClothing/Armor/bulletproof.rsi
state: icon
product: CrateSecurityArmor
cost: 725
cost: 925
category: cargoproduct-category-name-security
group: market

Expand Down
10 changes: 5 additions & 5 deletions Resources/Prototypes/Catalog/Fills/Boxes/ammunition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
components:
- type: StorageFill
contents:
- id: MagazineLightRifle
- id: MagazineRifleLight762x39
amount: 4

- type: entity
Expand Down Expand Up @@ -99,7 +99,7 @@
components:
- type: StorageFill
contents:
- id: MagazinePistol
- id: MagazinePistol9x17
amount: 4

- type: entity
Expand All @@ -121,7 +121,7 @@
components:
- type: StorageFill
contents:
- id: MagazinePistolHighCapacity
- id: MagazinePistol57x28Extd
amount: 4

- type: entity
Expand All @@ -143,7 +143,7 @@
components:
- type: StorageFill
contents:
- id: MagazinePistolSubMachineGun
- id: MagazinePistolSubMachineGun9x17
amount: 3

- type: entity
Expand Down Expand Up @@ -211,7 +211,7 @@
components:
- type: StorageFill
contents:
- id: MagazineRifle
- id: MagazineRifle556UEG
amount: 4

- type: entity
Expand Down
6 changes: 3 additions & 3 deletions Resources/Prototypes/Catalog/Fills/Crates/armory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
contents:
- id: WeaponSubMachineGunMP5
amount: 2
- id: MagazinePistolSubMachineGun
- id: MagazinePistolSubMachineGun9x17
amount: 4

- type: entity
Expand Down Expand Up @@ -65,9 +65,9 @@
components:
- type: StorageFill
contents:
- id: WeaponPistolACP14
- id: WeaponPistolG22
amount: 2
- id: MagazinePistol
- id: MagazinePistol9x17
amount: 4

- type: entity
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Fills/Crates/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
- id: WeaponPistolCHIMP
prob: 0.001
orGroup: Weapons
- id: WeaponSniperMosin
- id: WeaponSniperMosinNew
prob: 0.01
orGroup: Weapons
- id: WeaponMakeshiftLaser
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Fills/Lockers/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
- id: ClothingShoesBootsCombatFilled
- id: ToolboxSyndicateFilled
- id: BalloonSyn
- id: WeaponSniperMosin
- id: WeaponSniperMosinNew
weight: 2

- type: entityTable
Expand Down
7 changes: 7 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
id: GunSafePistolMk58
name: mk58 safe
categories: [ HideSpawnMenu ]
components:
- type: StorageFill
contents:
Expand All @@ -198,6 +199,7 @@
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
id: GunSafeRifleLecter
name: lecter safe
categories: [ HideSpawnMenu ]
components:
- type: StorageFill
contents:
Expand All @@ -210,6 +212,7 @@
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
id: GunSafeSubMachineGunDrozd
name: drozd safe
categories: [ HideSpawnMenu ]
components:
- type: StorageFill
contents:
Expand All @@ -222,6 +225,7 @@
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
id: GunSafeShotgunEnforcer
name: enforcer safe
categories: [ HideSpawnMenu ]
components:
- type: StorageFill
contents:
Expand All @@ -234,6 +238,7 @@
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
id: GunSafeShotgunKammerer
name: kammerer safe
categories: [ HideSpawnMenu ]
components:
- type: StorageFill
contents:
Expand All @@ -247,6 +252,7 @@
suffix: Wt550
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
name: wt550 safe
categories: [ HideSpawnMenu ]
components:
- type: StorageFill
contents:
Expand All @@ -259,6 +265,7 @@
parent: [GunSafeBaseSecure, BaseRestrictedContraband]
id: GunSafeLaserCarbine
name: laser safe
categories: [ HideSpawnMenu ]
components:
- type: StorageFill
contents:
Expand Down
6 changes: 3 additions & 3 deletions Resources/Prototypes/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
name: uplink-pistol-magazine-name
description: uplink-pistol-magazine-desc
icon: { sprite: /Textures/Objects/Weapons/Guns/Ammunition/Magazine/Pistol/pistol_mag.rsi, state: red-icon }
productEntity: MagazinePistol
productEntity: MagazinePistol9x17 #backmen-ammonation
cost:
Telecrystal: 1
categories:
Expand All @@ -479,7 +479,7 @@
name: uplink-pistol-magazine-c20r-name
description: uplink-pistol-magazine-c20r-desc
icon: { sprite: /Textures/Objects/Weapons/Guns/Ammunition/Magazine/Pistol/smg_mag.rsi, state: red-icon }
productEntity: MagazinePistolSubMachineGun
productEntity: MagazinePistolSubMachineGun9x17 #backmen-ammonation
cost:
Telecrystal: 2
categories:
Expand Down Expand Up @@ -525,7 +525,7 @@
id: UplinkHristovAmmo
name: uplink-sniper-ammo-name
description: uplink-sniper-ammo-desc
productEntity: MagazineBoxAntiMateriel
productEntity: MagazinePacketHeavyRifle50BMG #backmen-ammonation
cost:
Telecrystal: 2
categories:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
Blunt: 0.5
Slash: 0.5
Piercing: 0.6
ArmorPiercing: 0.8
Heat: 0.5
- type: ExplosionResistance
damageCoefficient: 0.65
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
Blunt: 0.7
Slash: 0.7
Piercing: 0.4
ArmorPiercing: 0.8
Heat: 0.7
Stun: 0.6

- type: entity
parent: ClothingOuterCoatDetectiveLoadout
Expand All @@ -32,7 +34,9 @@
Blunt: 0.8
Slash: 0.8
Piercing: 0.6
ArmorPiercing: 0.9
Heat: 0.9
Stun: 0.6

- type: entity
parent: ClothingOuterCoatWarden
Expand All @@ -50,7 +54,9 @@
Blunt: 0.8
Slash: 0.8
Piercing: 0.4
ArmorPiercing: 0.8
Heat: 0.8
Stun: 0.6

- type: entity
parent: ClothingOuterStorageBase
Expand All @@ -68,7 +74,9 @@
Blunt: 0.8
Slash: 0.8
Piercing: 0.6
ArmorPiercing: 0.9
Heat: 0.9
Stun: 0.6

- type: entity
parent: ClothingOuterStorageBase
Expand Down Expand Up @@ -101,7 +109,9 @@
Blunt: 0.5
Slash: 0.5
Piercing: 0.6
ArmorPiercing: 0.7
Heat: 0.5
Stun: 0.6

- type: entity
parent: ClothingOuterStorageBase
Expand All @@ -119,3 +129,4 @@
Blunt: 0.9
Slash: 0.9
Piercing: 0.8
ArmorPiercing: 0.99
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
Blunt: 0.7
Slash: 0.7
Piercing: 0.6
ArmorPiercing: 0.9
Heat: 0.05
Cold: 0.1
Shock: 0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
- SupermatterGrenade
- WhiteholeGrenade
- HotPotato
- WeaponSniperMosin
- WeaponSniperMosinNew
- SpeedLoaderMagnumAP
rareChance: 0.2
prototypes:
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Damage/groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Blunt
- Slash
- Piercing
- ArmorPiercing #backmen-Armoures

- type: damageGroup
id: Burn
Expand Down
Loading
Loading