[Add] Pouches (#762)

* Add: Pouches base and sprites

* Add: Micro-resprite, pouches in secdrobe

* Minus suffix
This commit is contained in:
keslik
2024-11-02 00:38:07 +03:00
committed by GitHub
parent 571ee28b23
commit 32f1ea4554
19 changed files with 326 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
ent-ClothingPouchMedical = медицинский подсумок
.desc = Прочный и вместительный подсумок, который предоставляет быстрый доступ к медикаментам. Белый крест призывает вас помогать окружающим.
ent-ClothingPouchGrenade = гранатный подсумок
.desc = Подсумок для переноски гранат, который надёжно защищает содержимое от погодных условий. Не очень актуально в космосе.
ent-ClothingPouchMagazine = подсумок для магазинов
.desc = Рассчитан на 4 винтовочных магазина, но способен переносить любые необходимые виды.
ent-ClothingPouchHandcuffHolder = чехол для наручников
.desc = Износостойкий чехол для переноски стяжек или наручников. Арестуй их всех!
ent-ClothingPouchCartridgeBelt = поясной патронташ
.desc = Складной патронташ для патронов пятидесятого калибра.

View File

@@ -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

View File

@@ -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

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

View File

@@ -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"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Keslik",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

View File

@@ -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"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Keslik",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Keslik",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
}
]
}