From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Sun, 11 Aug 2024 09:16:46 +0000 (-0700) Subject: EntityTables for sec belts and webbing (#30900) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b6d04f884c23fbdfded4be64c96114ae48b18f83;p=space-station-14.git EntityTables for sec belts and webbing (#30900) * EntityTables for sec belts and webbing * update name --------- Co-authored-by: plykiya --- diff --git a/Resources/Prototypes/Catalog/Fills/Items/belt.yml b/Resources/Prototypes/Catalog/Fills/Items/belt.yml index 6915f321c9..d905350cde 100644 --- a/Resources/Prototypes/Catalog/Fills/Items/belt.yml +++ b/Resources/Prototypes/Catalog/Fills/Items/belt.yml @@ -41,31 +41,35 @@ - id: GasAnalyzer - id: trayScanner +- type: entityTable + id: BeltSecurityEntityTable + table: !type:AllSelector + children: + - id: Stunbaton + - id: GrenadeFlashBang + - id: TearGasGrenade + - id: Handcuffs + - id: Handcuffs + - type: entity id: ClothingBeltSecurityFilled parent: ClothingBeltSecurity suffix: Filled components: - - type: StorageFill - contents: - - id: GrenadeFlashBang - - id: TearGasGrenade - - id: Stunbaton - - id: Handcuffs - - id: Handcuffs + - type: EntityTableContainerFill + containers: + storagebase: !type:NestedSelector + tableId: BeltSecurityEntityTable - type: entity id: ClothingBeltSecurityWebbingFilled parent: ClothingBeltSecurityWebbing suffix: Filled components: - - type: StorageFill - contents: - - id: GrenadeFlashBang - - id: TearGasGrenade - - id: Stunbaton - - id: Handcuffs - - id: Handcuffs + - type: EntityTableContainerFill + containers: + storagebase: !type:NestedSelector + tableId: BeltSecurityEntityTable - type: entity id: ClothingBeltJanitorFilled