Make boots with storage use itemslot (#22186)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
1
Resources/Locale/en-US/clothing/boots.ftl
Normal file
1
Resources/Locale/en-US/clothing/boots.ftl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
clothing-military-boots-sidearm = Sidearm
|
||||||
@@ -3,16 +3,18 @@
|
|||||||
parent: ClothingShoesBootsCombat
|
parent: ClothingShoesBootsCombat
|
||||||
suffix: Filled
|
suffix: Filled
|
||||||
components:
|
components:
|
||||||
- type: StorageFill
|
- type: ContainerFill
|
||||||
contents:
|
containers:
|
||||||
- id: CombatKnife
|
item:
|
||||||
|
- CombatKnife
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: ClothingShoesBootsMercFilled
|
id: ClothingShoesBootsMercFilled
|
||||||
parent: ClothingShoesBootsMerc
|
parent: ClothingShoesBootsMerc
|
||||||
suffix: Filled
|
suffix: Filled
|
||||||
components:
|
components:
|
||||||
- type: StorageFill
|
- type: ContainerFill
|
||||||
contents:
|
containers:
|
||||||
- id: KukriKnife
|
item:
|
||||||
|
- KukriKnife
|
||||||
|
|
||||||
|
|||||||
@@ -35,20 +35,18 @@
|
|||||||
- id: MaterialCloth1
|
- id: MaterialCloth1
|
||||||
amount: 1
|
amount: 1
|
||||||
|
|
||||||
|
# stuff common to all military boots
|
||||||
- type: entity
|
- type: entity
|
||||||
abstract: true
|
abstract: true
|
||||||
parent: ClothingShoesBase
|
parent: [ClothingShoesBase, ClothingSlotBase]
|
||||||
id: ClothingShoesStorageBase
|
id: ClothingShoesMilitaryBase
|
||||||
components:
|
components:
|
||||||
- type: Storage
|
- type: Matchbox
|
||||||
grid:
|
- type: ItemSlots
|
||||||
- 0,0,0,1
|
slots:
|
||||||
maxItemSize: Normal
|
item:
|
||||||
- type: ContainerContainer
|
name: clothing-military-boots-sidearm
|
||||||
containers:
|
whitelist:
|
||||||
storagebase: !type:Container
|
tags:
|
||||||
ents: []
|
- Knife
|
||||||
- type: UserInterface
|
- Sidearm
|
||||||
interfaces:
|
|
||||||
- key: enum.StorageUiKey.Key
|
|
||||||
type: StorageBoundUserInterface
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
- type: Matchbox
|
- type: Matchbox
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: ClothingShoesStorageBase
|
parent: ClothingShoesMilitaryBase
|
||||||
id: ClothingShoesBootsJack
|
id: ClothingShoesBootsJack
|
||||||
name: jackboots
|
name: jackboots
|
||||||
description: Nanotrasen-issue Security combat boots for combat scenarios or combat situations. All combat, all the time.
|
description: Nanotrasen-issue Security combat boots for combat scenarios or combat situations. All combat, all the time.
|
||||||
@@ -20,12 +20,6 @@
|
|||||||
sprite: Clothing/Shoes/Boots/jackboots.rsi
|
sprite: Clothing/Shoes/Boots/jackboots.rsi
|
||||||
- type: Clothing
|
- type: Clothing
|
||||||
sprite: Clothing/Shoes/Boots/jackboots.rsi
|
sprite: Clothing/Shoes/Boots/jackboots.rsi
|
||||||
- type: Matchbox
|
|
||||||
- type: Storage
|
|
||||||
whitelist:
|
|
||||||
tags:
|
|
||||||
- Knife
|
|
||||||
- Sidearm
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: ClothingShoesBaseButcherable
|
parent: ClothingShoesBaseButcherable
|
||||||
@@ -51,7 +45,7 @@
|
|||||||
sprite: Clothing/Shoes/Boots/performer.rsi
|
sprite: Clothing/Shoes/Boots/performer.rsi
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: ClothingShoesStorageBase
|
parent: ClothingShoesMilitaryBase
|
||||||
id: ClothingShoesBootsCombat
|
id: ClothingShoesBootsCombat
|
||||||
name: combat boots
|
name: combat boots
|
||||||
description: Robust combat boots for combat scenarios or combat situations. All combat, all the time.
|
description: Robust combat boots for combat scenarios or combat situations. All combat, all the time.
|
||||||
@@ -60,15 +54,9 @@
|
|||||||
sprite: Clothing/Shoes/Boots/combatboots.rsi
|
sprite: Clothing/Shoes/Boots/combatboots.rsi
|
||||||
- type: Clothing
|
- type: Clothing
|
||||||
sprite: Clothing/Shoes/Boots/combatboots.rsi
|
sprite: Clothing/Shoes/Boots/combatboots.rsi
|
||||||
- type: Matchbox
|
|
||||||
- type: Storage
|
|
||||||
whitelist:
|
|
||||||
tags:
|
|
||||||
- Knife
|
|
||||||
- Sidearm
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: ClothingShoesStorageBase
|
parent: ClothingShoesMilitaryBase
|
||||||
id: ClothingShoesBootsMerc
|
id: ClothingShoesBootsMerc
|
||||||
name: mercenary boots
|
name: mercenary boots
|
||||||
description: Boots that have gone through many conflicts and that have proven their combat reliability.
|
description: Boots that have gone through many conflicts and that have proven their combat reliability.
|
||||||
@@ -77,12 +65,6 @@
|
|||||||
sprite: Clothing/Shoes/Boots/mercboots.rsi
|
sprite: Clothing/Shoes/Boots/mercboots.rsi
|
||||||
- type: Clothing
|
- type: Clothing
|
||||||
sprite: Clothing/Shoes/Boots/mercboots.rsi
|
sprite: Clothing/Shoes/Boots/mercboots.rsi
|
||||||
- type: Matchbox
|
|
||||||
- type: Storage
|
|
||||||
whitelist:
|
|
||||||
tags:
|
|
||||||
- Knife
|
|
||||||
- Sidearm
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: ClothingShoesBaseButcherable
|
parent: ClothingShoesBaseButcherable
|
||||||
|
|||||||
@@ -18,3 +18,14 @@
|
|||||||
components:
|
components:
|
||||||
- type: Geiger
|
- type: Geiger
|
||||||
attachedToSuit: true
|
attachedToSuit: true
|
||||||
|
|
||||||
|
# for clothing that has a single item slot to insert and alt click out.
|
||||||
|
# inheritors add a whitelisted slot named item
|
||||||
|
- type: entity
|
||||||
|
abstract: true
|
||||||
|
id: ClothingSlotBase
|
||||||
|
components:
|
||||||
|
- type: ItemSlots
|
||||||
|
- type: ContainerContainer
|
||||||
|
containers:
|
||||||
|
item: !type:ContainerSlot
|
||||||
|
|||||||
Reference in New Issue
Block a user