Makes sabre sheathe use ItemSlots (#22792)

* added item slot

* fixed filled

* localized verbs

* github check was acting up
This commit is contained in:
Guilherme Ornel
2023-12-21 19:16:42 -03:00
committed by Debug
parent 99d079adf5
commit e2eb8a3df4
3 changed files with 17 additions and 10 deletions

View File

@@ -0,0 +1,2 @@
sheath-insert-verb = Sheathe
sheath-eject-verb = Unsheathe

View File

@@ -114,9 +114,10 @@
parent: ClothingBeltSheath
suffix: Filled
components:
- type: StorageFill
contents:
- id: CaptainSabre
- type: ContainerFill
containers:
item:
- CaptainSabre
- type: entity
id: ClothingBeltMilitaryWebbingGrenadeFilled

View File

@@ -399,7 +399,7 @@
- type: Appearance
- type: entity
parent: ClothingBeltStorageBase
parent: [ClothingBeltBase, ClothingSlotBase]
id: ClothingBeltSheath
name: sabre sheath
description: An ornate sheath designed to hold an officer's blade.
@@ -409,11 +409,15 @@
state: sheath
- type: Clothing
sprite: Clothing/Belt/sheath.rsi
- type: Storage
capacity: 15
whitelist:
tags:
- CaptainSabre
- type: ItemSlots
slots:
item:
name: Sabre
insertVerbText: sheath-insert-verb
ejectVerbText: sheath-eject-verb
whitelist:
tags:
- CaptainSabre
- type: ItemMapper
mapLayers:
sheath-sabre:
@@ -421,7 +425,7 @@
tags:
- CaptainSabre
- type: Appearance
# Belts without visualizers
- type: entity