From: Boaz1111 <149967078+Boaz1111@users.noreply.github.com> Date: Wed, 29 Nov 2023 22:53:50 +0000 (+0100) Subject: upped the bandolier slots to 14 and made it function like an ammo box (#21903) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4ed0913c7a47fdc32ff7653a0cd9dd84c81f1886;p=space-station-14.git upped the bandolier slots to 14 and made it function like an ammo box (#21903) --- diff --git a/Resources/Prototypes/Entities/Clothing/Belt/base_clothingbelt.yml b/Resources/Prototypes/Entities/Clothing/Belt/base_clothingbelt.yml index b53c08159d..6d94ab454b 100644 --- a/Resources/Prototypes/Entities/Clothing/Belt/base_clothingbelt.yml +++ b/Resources/Prototypes/Entities/Clothing/Belt/base_clothingbelt.yml @@ -34,3 +34,17 @@ interfaces: - key: enum.StorageUiKey.Key type: StorageBoundUserInterface + +- type: entity + abstract: true + parent: ClothingBeltBase + id: ClothingBeltAmmoProviderBase + components: + - type: BallisticAmmoProvider + mayTransfer: true + - type: Item + size: Ginormous + - type: ContainerContainer + containers: + ballistic-ammo: !type:Container + diff --git a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml index 2117c7916a..ebaa8cc123 100644 --- a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml +++ b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml @@ -406,7 +406,7 @@ # Belts without visualizers - type: entity - parent: ClothingBeltStorageBase + parent: ClothingBeltAmmoProviderBase id: ClothingBeltBandolier name: bandolier description: A bandolier for holding shotgun ammunition. @@ -417,10 +417,11 @@ sprite: Clothing/Belt/bandolier.rsi - type: Item size: Huge - - type: Storage + - type: BallisticAmmoProvider whitelist: tags: - ShellShotgun + capacity: 14 - type: entity parent: ClothingBeltBase