diff --git a/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/clothing/pouches/pouches.ftl b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/clothing/pouches/pouches.ftl new file mode 100644 index 0000000000..c0e2e5a49a --- /dev/null +++ b/Resources/Locale/ru-RU/ss14-ru/prototypes/entities/clothing/pouches/pouches.ftl @@ -0,0 +1,10 @@ +ent-ClothingPouchMedical = медицинский подсумок + .desc = Прочный и вместительный подсумок, который предоставляет быстрый доступ к медикаментам. Белый крест призывает вас помогать окружающим. +ent-ClothingPouchGrenade = гранатный подсумок + .desc = Подсумок для переноски гранат, который надёжно защищает содержимое от погодных условий. Не очень актуально в космосе. +ent-ClothingPouchMagazine = подсумок для магазинов + .desc = Рассчитан на 4 винтовочных магазина, но способен переносить любые необходимые виды. +ent-ClothingPouchHandcuffHolder = чехол для наручников + .desc = Износостойкий чехол для переноски стяжек или наручников. Арестуй их всех! +ent-ClothingPouchCartridgeBelt = поясной патронташ + .desc = Складной патронташ для патронов пятидесятого калибра. diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/secdrobe.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/secdrobe.yml index bbb485afd5..a9b01ba045 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/secdrobe.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/secdrobe.yml @@ -4,6 +4,11 @@ ClothingBackpackSecurity: 4 ClothingBackpackSatchelSecurity: 4 ClothingBackpackDuffelSecurity: 4 + ClothingPouchHandcuffHolder: 4 + ClothingPouchMedical: 3 + ClothingPouchCartridgeBelt: 3 + ClothingPouchMagazine: 2 + ClothingPouchGrenade: 2 ClothingHeadHatBeret: 4 ClothingHeadHatSecsoft: 4 ClothingHeadBandRed: 4 diff --git a/Resources/Prototypes/Entities/Clothing/Pouches/base_clothingpouch.yml b/Resources/Prototypes/Entities/Clothing/Pouches/base_clothingpouch.yml new file mode 100644 index 0000000000..5c845561ae --- /dev/null +++ b/Resources/Prototypes/Entities/Clothing/Pouches/base_clothingpouch.yml @@ -0,0 +1,57 @@ +- type: entity # WD feature + abstract: true + parent: Clothing + id: ClothingPouchBase + components: + - type: Sprite + state: icon + - type: Item + size: Normal + - type: Clothing + slots: [pocket, belt] + quickEquip: false + - type: PhysicalComposition + materialComposition: + Cloth: 35 + - type: StaticPrice + price: 200 + - type: EmitSoundOnPickup + sound: + path: /Audio/White/Web/walk1.ogg + +- type: entity + abstract: true + parent: ClothingPouchBase + id: ClothingPouchStorageBase + components: + - type: Storage + maxItemSize: Small + defaultStorageOrientation: Horizontal + grid: + - 0,0,3,1 + - type: Item + size: Normal + shape: + - 0, 0, 1, 2 + - type: ContainerContainer + containers: + storagebase: !type:Container + ents: [] + - type: UserInterface + interfaces: + enum.StorageUiKey.Key: + type: StorageBoundUserInterface + +- type: entity + abstract: true + parent: ClothingPouchBase + id: ClothingPouchAmmoProviderBase + components: + - type: BallisticAmmoProvider + mayTransfer: true + - type: Item + size: Ginormous + - type: ContainerContainer + containers: + ballistic-ammo: !type:Container + diff --git a/Resources/Prototypes/Entities/Clothing/Pouches/pouches.yml b/Resources/Prototypes/Entities/Clothing/Pouches/pouches.yml new file mode 100644 index 0000000000..ebc399e942 --- /dev/null +++ b/Resources/Prototypes/Entities/Clothing/Pouches/pouches.yml @@ -0,0 +1,169 @@ +- type: entity # WD feature + parent: ClothingPouchStorageBase + id: ClothingPouchMedical + name: medical pouch + description: Medical pouch. + components: + - type: Sprite + sprite: Clothing/Pouches/medical.rsi + - type: Clothing + sprite: Clothing/Pouches/medical.rsi + - type: Storage + grid: + - 0,0,1,4 + whitelist: + tags: + - Brutepack + - Bloodpack + - Gauze + - Ointment + - CigPack + - PillCanister + - DiscreteHealthAnalyzer + components: + - Hypospray + - Injector + - Pill + - Patch + - Healing + - type: StaticPrice + price: 250 + - type: Appearance + +- type: entity + parent: ClothingPouchStorageBase + id: ClothingPouchGrenade + name: grenade pouch + description: Grenade pouch. + components: + - type: Sprite + sprite: Clothing/Pouches/grenade.rsi + - type: Clothing + sprite: Clothing/Pouches/grenade.rsi + - type: Storage + defaultStorageOrientation: Vertical + grid: + - 0,0,2,1 + whitelist: + components: + - FlashOnTrigger + - SmokeOnTrigger + - ClusterGrenade + - ExplodeOnTrigger + - type: StaticPrice + price: 125 + - type: Appearance + +- type: entity + parent: ClothingPouchStorageBase + id: ClothingPouchMagazine + name: magazine pouch + description: Magazine pouch. + components: + - type: Sprite + sprite: Clothing/Pouches/magazine.rsi + - type: Clothing + sprite: Clothing/Pouches/magazine.rsi + - type: Storage + defaultStorageOrientation: Vertical + grid: + - 0,0,3,1 + whitelist: + tags: + - MagazinePistol + - MagazineMagnum + - MagazineHeavyRifle + - MagazineCaselessRifle + - MagazineLightRifle + - MagazinePistolHighCapacity + - MagazinePistolCaselessRifle + - MagazineRifle + - MagazinePistolSubMachineGunTopMounted + - MagazineShotgun + - MagazineMagnumSubMachineGun + - MagazinePistolSubMachineGun + - Cartridge + - type: Appearance + +- type: entity + parent: ClothingPouchStorageBase + id: ClothingPouchHandcuffHolder + name: handcuff holder + description: Handcuff holder. + components: + - type: EmitSoundOnPickup + sound: + path: /Audio/White/Object/Tools/Key/pickup.ogg + - type: EmitSoundOnDrop + sound: + path: /Audio/White/Object/Tools/Key/drop.ogg + - type: EmitSoundOnLand + sound: + path: /Audio/White/Object/Tools/Key/drop.ogg + - type: Sprite + sprite: Clothing/Pouches/handcuff_holder.rsi + layers: + - state: icon + - map: [ "enum.StorageContainerVisualLayers.Fill" ] + visible: false + - type: Clothing + sprite: Clothing/Pouches/handcuff_holder.rsi + - type: Storage + grid: + - 0,0,2,2 + whitelist: + components: + - Handcuff + - type: StorageContainerVisuals + maxFillLevels: 1 + fillBaseName: fill- + - type: StaticPrice + price: 110 + - type: Appearance + +- type: entity + parent: BaseItem + id: ClothingPouchCartridgeBelt + name: cartridge belt + description: Cartridge belt. + components: + - type: EmitSoundOnPickup + sound: + path: /Audio/White/Items/handling/component_pickup.ogg + - type: EmitSoundOnDrop + sound: + path: /Audio/White/Items/handling/component_drop.ogg + - type: EmitSoundOnLand + sound: + path: /Audio/White/Items/handling/component_drop.ogg + - type: BallisticAmmoProvider + mayTransfer: true + whitelist: + tags: + - ShellShotgun + capacity: 12 + soundRack: + path: /Audio/White/Gun/Modules/insertmodule.ogg + - type: Item + size: Small + - type: ContainerContainer + containers: + ballistic-ammo: !type:Container + - type: Sprite + sprite: Clothing/Pouches/cartridge_belt.rsi + layers: + - state: base + map: ["enum.GunVisualLayers.Base"] + - state: mag-1 + map: ["enum.GunVisualLayers.Mag"] + - type: MagazineVisuals + magState: mag + steps: 5 + zeroVisible: false + - type: Clothing + sprite: Clothing/Pouches/cartridge_belt.rsi + slots: [pocket, belt] + quickEquip: false + - type: StaticPrice + price: 150 + - type: Appearance diff --git a/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/base.png b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/base.png new file mode 100644 index 0000000000..b8294fae23 Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/base.png differ diff --git a/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-1.png b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-1.png new file mode 100644 index 0000000000..2c31b35f66 Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-1.png differ diff --git a/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-2.png b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-2.png new file mode 100644 index 0000000000..c4b7a73160 Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-2.png differ diff --git a/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-3.png b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-3.png new file mode 100644 index 0000000000..f1a2105559 Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-3.png differ diff --git a/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-4.png b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-4.png new file mode 100644 index 0000000000..9415063fff Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/mag-4.png differ diff --git a/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/meta.json b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/meta.json new file mode 100644 index 0000000000..21e8020409 --- /dev/null +++ b/Resources/Textures/Clothing/Pouches/cartridge_belt.rsi/meta.json @@ -0,0 +1,26 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Made by Keslik", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "base" + }, + { + "name": "mag-1" + }, + { + "name": "mag-2" + }, + { + "name": "mag-3" + }, + { + "name": "mag-4" + } + ] + } diff --git a/Resources/Textures/Clothing/Pouches/grenade.rsi/icon.png b/Resources/Textures/Clothing/Pouches/grenade.rsi/icon.png new file mode 100644 index 0000000000..8ad34a3961 Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/grenade.rsi/icon.png differ diff --git a/Resources/Textures/Clothing/Pouches/grenade.rsi/meta.json b/Resources/Textures/Clothing/Pouches/grenade.rsi/meta.json new file mode 100644 index 0000000000..21471c4507 --- /dev/null +++ b/Resources/Textures/Clothing/Pouches/grenade.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Made by Keslik", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + } + ] + } diff --git a/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/fill-1.png b/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/fill-1.png new file mode 100644 index 0000000000..951b8f2629 Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/fill-1.png differ diff --git a/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/icon.png b/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/icon.png new file mode 100644 index 0000000000..9556088eaf Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/icon.png differ diff --git a/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/meta.json b/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/meta.json new file mode 100644 index 0000000000..f17bc2de6b --- /dev/null +++ b/Resources/Textures/Clothing/Pouches/handcuff_holder.rsi/meta.json @@ -0,0 +1,17 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Made by Keslik", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + }, + { + "name": "fill-1" + } + ] + } diff --git a/Resources/Textures/Clothing/Pouches/magazine.rsi/icon.png b/Resources/Textures/Clothing/Pouches/magazine.rsi/icon.png new file mode 100644 index 0000000000..632dde4e5e Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/magazine.rsi/icon.png differ diff --git a/Resources/Textures/Clothing/Pouches/magazine.rsi/meta.json b/Resources/Textures/Clothing/Pouches/magazine.rsi/meta.json new file mode 100644 index 0000000000..21471c4507 --- /dev/null +++ b/Resources/Textures/Clothing/Pouches/magazine.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Made by Keslik", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + } + ] + } diff --git a/Resources/Textures/Clothing/Pouches/medical.rsi/icon.png b/Resources/Textures/Clothing/Pouches/medical.rsi/icon.png new file mode 100644 index 0000000000..c60a97b55b Binary files /dev/null and b/Resources/Textures/Clothing/Pouches/medical.rsi/icon.png differ diff --git a/Resources/Textures/Clothing/Pouches/medical.rsi/meta.json b/Resources/Textures/Clothing/Pouches/medical.rsi/meta.json new file mode 100644 index 0000000000..21471c4507 --- /dev/null +++ b/Resources/Textures/Clothing/Pouches/medical.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Made by Keslik", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + } + ] + }