Reuse backpack parent on duffel/satchel (#19664)
Reuses ClothingBackpack to simplify duffel/satchel
This commit is contained in:
@@ -1,34 +1,16 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
parent: Clothing
|
parent: ClothingBackpack
|
||||||
id: ClothingBackpackDuffel
|
id: ClothingBackpackDuffel
|
||||||
name: duffel bag
|
name: duffel bag
|
||||||
description: A large duffel bag for holding extra things.
|
description: A large duffel bag for holding extra things.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Clothing/Back/Duffels/duffel.rsi
|
sprite: Clothing/Back/Duffels/duffel.rsi
|
||||||
state: icon
|
|
||||||
- type: Item
|
|
||||||
size: 9999
|
|
||||||
- type: Clothing
|
|
||||||
quickEquip: false
|
|
||||||
slots:
|
|
||||||
- back
|
|
||||||
- type: Storage
|
- type: Storage
|
||||||
capacity: 120
|
capacity: 120
|
||||||
- type: ContainerContainer
|
|
||||||
containers:
|
|
||||||
storagebase: !type:Container
|
|
||||||
ents: []
|
|
||||||
- type: ClothingSpeedModifier
|
- type: ClothingSpeedModifier
|
||||||
walkModifier: 1
|
walkModifier: 1
|
||||||
sprintModifier: 0.9
|
sprintModifier: 0.9
|
||||||
- type: UserInterface
|
|
||||||
interfaces:
|
|
||||||
- key: enum.StorageUiKey.Key
|
|
||||||
type: StorageBoundUserInterface
|
|
||||||
# to prevent bag open/honk spam
|
|
||||||
- type: UseDelay
|
|
||||||
delay: 0.5
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: ClothingBackpackDuffel
|
parent: ClothingBackpackDuffel
|
||||||
|
|||||||
@@ -1,31 +1,11 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
parent: Clothing
|
parent: ClothingBackpack
|
||||||
id: ClothingBackpackSatchel
|
id: ClothingBackpackSatchel
|
||||||
name: satchel
|
name: satchel
|
||||||
description: A trendy looking satchel.
|
description: A trendy looking satchel.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Clothing/Back/Satchels/satchel.rsi
|
sprite: Clothing/Back/Satchels/satchel.rsi
|
||||||
state: icon
|
|
||||||
- type: Item
|
|
||||||
size: 9999
|
|
||||||
- type: Clothing
|
|
||||||
quickEquip: false
|
|
||||||
slots:
|
|
||||||
- back
|
|
||||||
- type: Storage
|
|
||||||
capacity: 100
|
|
||||||
- type: ContainerContainer
|
|
||||||
containers:
|
|
||||||
storagebase: !type:Container
|
|
||||||
ents: []
|
|
||||||
- type: UserInterface
|
|
||||||
interfaces:
|
|
||||||
- key: enum.StorageUiKey.Key
|
|
||||||
type: StorageBoundUserInterface
|
|
||||||
# to prevent bag open/honk spam
|
|
||||||
- type: UseDelay
|
|
||||||
delay: 0.5
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: ClothingBackpackSatchel
|
parent: ClothingBackpackSatchel
|
||||||
|
|||||||
Reference in New Issue
Block a user