From 2ff2b0d33dbe466daf33e5be562427bb76b2ef02 Mon Sep 17 00:00:00 2001 From: PowerKAT1 <53919050+PowerKAT1@users.noreply.github.com> Date: Sun, 3 Nov 2024 00:44:05 +0300 Subject: [PATCH] =?UTF-8?q?M41-A=20=D0=A4=D0=B8=D0=BA=D1=81=20(#317)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * m41-A Фикс Патронов * m41-A Фикс Патронов * m41-A Фикс Патронов * m41-A Фикс Патронов --- .../guns/ammunition/magazines/M41-A_mag.ftl | 20 +- .../objects/weapons/guns/rifles/M41-A.ftl | 4 +- .../Guns/Ammunition/Magazines/M41-A_mag.yml | 180 +++++++++--------- .../Objects/Weapons/Guns/Rifles/M41-A.yml | 92 ++++----- 4 files changed, 148 insertions(+), 148 deletions(-) diff --git a/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/ammunition/magazines/M41-A_mag.ftl b/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/ammunition/magazines/M41-A_mag.ftl index 49a5d32b0f8..1a5e35fc248 100644 --- a/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/ammunition/magazines/M41-A_mag.ftl +++ b/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/ammunition/magazines/M41-A_mag.ftl @@ -1,10 +1,10 @@ -ent-LPPBaseMagazineRifleM41A = Магазин для M41-A (.20 винтовочные) - .desc = { ent-BaseItem.desc } -ent-LPPBaseMagazineRifleM41AFull = Магазин для M41-A (.20 винтовочные Боевые) - .desc = { ent-LPPBaseMagazineRifleM41A.desc } -ent-LPPBaseMagazineRifleM41APractice = Магазин для M41-A (.20 винтовочные Учебные) - .desc = { ent-LPPBaseMagazineRifleM41A.desc } -ent-LPPBaseMagazineRifleM41ARubber = Магазин для M41-A (.20 винтовочные Резиновые) - .desc = { ent-LPPBaseMagazineRifleM41A.desc } -ent-LPPBaseMagazineRifleM41AUranium = Магазин для M41-A (.20 винтовочные Урановые) - .desc = { ent-LPPBaseMagazineRifleM41A.desc } +ent-LPPBaseMagazineRifleM41A = Магазин для M41-A (.30 винтовочные) + .desc = { ent-BaseItem.desc } +ent-LPPBaseMagazineRifleM41AFull = Магазин для M41-A (.30 винтовочные Боевые) + .desc = { ent-LPPBaseMagazineRifleM41A.desc } +ent-LPPBaseMagazineRifleM41APractice = Магазин для M41-A (.30 винтовочные Учебные) + .desc = { ent-LPPBaseMagazineRifleM41A.desc } +ent-LPPBaseMagazineRifleM41ARubber = Магазин для M41-A (.30 винтовочные Резиновые) + .desc = { ent-LPPBaseMagazineRifleM41A.desc } +ent-LPPBaseMagazineRifleM41AUranium = Магазин для M41-A (.30 винтовочные Урановые) + .desc = { ent-LPPBaseMagazineRifleM41A.desc } diff --git a/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/rifles/M41-A.ftl b/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/rifles/M41-A.ftl index 99ef022398f..31cd5bbc407 100644 --- a/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/rifles/M41-A.ftl +++ b/Resources/Locale/ru-RU/ss14-ru/prototypes/_lostparadise/entities/objects/weapons/guns/rifles/M41-A.ftl @@ -1,2 +1,2 @@ -ent-LPPWeaponRifleM41 = М41-А - .desc = Старая винтовка, использовавшаяся во времена колониальной экспансии. Использует винтовочные патроны 20-го калибра. +ent-LPPWeaponRifleM41 = М41-А + .desc = Старая винтовка, использовавшаяся во времена колониальной экспансии. Использует винтовочные патроны 30-го калибра. diff --git a/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Ammunition/Magazines/M41-A_mag.yml b/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Ammunition/Magazines/M41-A_mag.yml index e322a59355c..9ef76425b9e 100644 --- a/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Ammunition/Magazines/M41-A_mag.yml +++ b/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Ammunition/Magazines/M41-A_mag.yml @@ -1,90 +1,90 @@ -- type: entity - id: LPPBaseMagazineRifleM41A - name: "magazine M41-A (.20 rifle)" - parent: BaseItem - abstract: true - components: - - type: Tag - tags: - - MagazineRifleM41A - - type: Item - size: Small - - type: BallisticAmmoProvider - mayTransfer: true - whitelist: - tags: - - CartridgeRifle - capacity: 99 - - type: ContainerContainer - containers: - ballistic-ammo: !type:Container - - type: Sprite - sprite: _LostParadise/Objects/Weapons/Guns/Ammunition/Magazine/M41-A_mag.rsi - layers: - - state: base - map: ["enum.GunVisualLayers.Base"] - - state: mag-1 - map: ["enum.GunVisualLayers.Mag"] - - type: MagazineVisuals - magState: mag - steps: 5 - zeroVisible: false - - type: Appearance - -# Magazines -- type: entity - id: LPPBaseMagazineRifleM41AFull - name: "magazine M41-A (.20 rifle)" - parent: LPPBaseMagazineRifleM41A - components: - - type: BallisticAmmoProvider - proto: CartridgeRifle - - type: Sprite - layers: - - state: red - map: ["enum.GunVisualLayers.Base"] - - state: mag-1 - map: ["enum.GunVisualLayers.Mag"] - -- type: entity - id: LPPBaseMagazineRifleM41APractice - name: "magazine M41-A (.20 rifle practice)" - parent: LPPBaseMagazineRifleM41A - components: - - type: BallisticAmmoProvider - proto: CartridgeRiflePractice - - type: Sprite - layers: - - state: practice - map: ["enum.GunVisualLayers.Base"] - - state: mag-1 - map: ["enum.GunVisualLayers.Mag"] - -- type: entity - id: LPPBaseMagazineRifleM41ARubber - name: "magazine M41-A (.20 rifle rubber)" - parent: LPPBaseMagazineRifleM41A - components: - - type: BallisticAmmoProvider - proto: CartridgeRifleRubber - - type: Sprite - layers: - - state: rubber - map: ["enum.GunVisualLayers.Base"] - - state: mag-1 - map: ["enum.GunVisualLayers.Mag"] - - -- type: entity - id: LPPBaseMagazineRifleM41AUranium - name: "magazine (.20 rifle uranium)" - parent: LPPBaseMagazineRifleM41A - components: - - type: BallisticAmmoProvider - proto: CartridgeRifleUranium - - type: Sprite - layers: - - state: uranium - map: ["enum.GunVisualLayers.Base"] - - state: mag-1 - map: ["enum.GunVisualLayers.Mag"] +- type: entity + id: LPPBaseMagazineRifleM41A + name: "magazine M41-A (.30 rifle)" + parent: BaseItem + abstract: true + components: + - type: Tag + tags: + - MagazineRifleM41A + - type: Item + size: Small + - type: BallisticAmmoProvider + mayTransfer: true + whitelist: + tags: + - CartridgeRifle + capacity: 99 + - type: ContainerContainer + containers: + ballistic-ammo: !type:Container + - type: Sprite + sprite: _LostParadise/Objects/Weapons/Guns/Ammunition/Magazine/M41-A_mag.rsi + layers: + - state: base + map: ["enum.GunVisualLayers.Base"] + - state: mag-1 + map: ["enum.GunVisualLayers.Mag"] + - type: MagazineVisuals + magState: mag + steps: 5 + zeroVisible: false + - type: Appearance + +# Magazines +- type: entity + id: LPPBaseMagazineRifleM41AFull + name: "magazine M41-A (.30 rifle)" + parent: LPPBaseMagazineRifleM41A + components: + - type: BallisticAmmoProvider + proto: CartridgeRifle + - type: Sprite + layers: + - state: red + map: ["enum.GunVisualLayers.Base"] + - state: mag-1 + map: ["enum.GunVisualLayers.Mag"] + +- type: entity + id: LPPBaseMagazineRifleM41APractice + name: "magazine M41-A (.30 rifle practice)" + parent: LPPBaseMagazineRifleM41A + components: + - type: BallisticAmmoProvider + proto: CartridgeRiflePractice + - type: Sprite + layers: + - state: practice + map: ["enum.GunVisualLayers.Base"] + - state: mag-1 + map: ["enum.GunVisualLayers.Mag"] + +- type: entity + id: LPPBaseMagazineRifleM41ARubber + name: "magazine M41-A (.30 rifle rubber)" + parent: LPPBaseMagazineRifleM41A + components: + - type: BallisticAmmoProvider + proto: CartridgeRifleRubber + - type: Sprite + layers: + - state: rubber + map: ["enum.GunVisualLayers.Base"] + - state: mag-1 + map: ["enum.GunVisualLayers.Mag"] + + +- type: entity + id: LPPBaseMagazineRifleM41AUranium + name: "magazine (.30 rifle uranium)" + parent: LPPBaseMagazineRifleM41A + components: + - type: BallisticAmmoProvider + proto: CartridgeRifleUranium + - type: Sprite + layers: + - state: uranium + map: ["enum.GunVisualLayers.Base"] + - state: mag-1 + map: ["enum.GunVisualLayers.Mag"] diff --git a/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Rifles/M41-A.yml b/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Rifles/M41-A.yml index 9e22855f388..5ae493fc9f7 100644 --- a/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Rifles/M41-A.yml +++ b/Resources/Prototypes/_LostParadise/Entities/Objects/Weapons/Guns/Rifles/M41-A.yml @@ -1,47 +1,47 @@ -- type: entity - name: M41-A - parent: BaseWeaponRifle - id: LPPWeaponRifleM41 - description: An old rifle used during the colonial expansion. Uses .20 rifle ammo. - components: - - type: Sprite - sprite: _LostParadise/Objects/Weapons/Guns/Rifles/M41-A.rsi - layers: - - state: base - map: ["enum.GunVisualLayers.Base"] - - state: mag-0 - map: ["enum.GunVisualLayers.Mag"] - - type: Gun - fireRate: 7 - soundGunshot: - path: /Audio/_LostParadise/Weapons/Guns/Gunshots/M41-A.ogg - - type: ChamberMagazineAmmoProvider - soundRack: - path: /Audio/Weapons/Guns/Cock/ltrifle_cock.ogg - - type: ItemSlots - slots: - gun_magazine: - name: Magazine - startingItem: LPPBaseMagazineRifleM41AFull - insertSound: /Audio/Weapons/Guns/MagIn/ltrifle_magin.ogg - ejectSound: /Audio/Weapons/Guns/MagOut/ltrifle_magout.ogg - priority: 2 - whitelist: - tags: - - MagazineRifleM41A - gun_chamber: - name: Chamber - startingItem: CartridgeLightRifle - priority: 1 - whitelist: - tags: - - CartridgeLightRifle - - type: ContainerContainer - containers: - gun_magazine: !type:ContainerSlot - gun_chamber: !type:ContainerSlot - - type: MagazineVisuals - magState: mag - steps: 1 - zeroVisible: true +- type: entity + name: M41-A + parent: BaseWeaponRifle + id: LPPWeaponRifleM41 + description: An old rifle used during the colonial expansion. Uses .30 rifle ammo. + components: + - type: Sprite + sprite: _LostParadise/Objects/Weapons/Guns/Rifles/M41-A.rsi + layers: + - state: base + map: ["enum.GunVisualLayers.Base"] + - state: mag-0 + map: ["enum.GunVisualLayers.Mag"] + - type: Gun + fireRate: 7 + soundGunshot: + path: /Audio/_LostParadise/Weapons/Guns/Gunshots/M41-A.ogg + - type: ChamberMagazineAmmoProvider + soundRack: + path: /Audio/Weapons/Guns/Cock/ltrifle_cock.ogg + - type: ItemSlots + slots: + gun_magazine: + name: Magazine + startingItem: LPPBaseMagazineRifleM41AFull + insertSound: /Audio/Weapons/Guns/MagIn/ltrifle_magin.ogg + ejectSound: /Audio/Weapons/Guns/MagOut/ltrifle_magout.ogg + priority: 2 + whitelist: + tags: + - MagazineRifleM41A + gun_chamber: + name: Chamber + startingItem: CartridgeLightRifle + priority: 1 + whitelist: + tags: + - CartridgeLightRifle + - type: ContainerContainer + containers: + gun_magazine: !type:ContainerSlot + gun_chamber: !type:ContainerSlot + - type: MagazineVisuals + magState: mag + steps: 1 + zeroVisible: true - type: Appearance \ No newline at end of file