Add AppearanceComponent to BaseFoldable, remove from simple inheritors (#44793)

* add Appearance to BaseFoldable

* simplify Foldable instances

* no wheelchair appearance

* Move foldable.yml to the objects dir, cleanup
This commit is contained in:
Whatstone 2026-07-21 01:58:45 -04:00 • committed by GitHub
parent 2d9eb843d3
commit 689072e629
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 6 additions and 20 deletions

View file

@ -16,7 +16,6 @@
id: ClothingHeadEyeBaseFlippable
abstract: true
components:
- type: Appearance
- type: FlippableClothingVisuals
- type: Foldable
canFoldInsideContainer: true

View file

@ -556,7 +556,6 @@
components:
- type: Clothing
sprite: Clothing/Head/Hats/santahat.rsi
- type: Appearance
- type: HideLayerClothing
layers:
Hair: HEAD
@ -681,7 +680,6 @@
components:
- type: Clothing
sprite: Clothing/Head/Hats/ushanka.rsi
- type: Appearance
- type: RussianAccent
relayAccent: true
- type: Foldable

View file

@ -3,7 +3,6 @@
id: ClothingHeadHeadHatBaseFlippable
abstract: true
components:
- type: Appearance
- type: Foldable
canFoldInsideContainer: true
unfoldVerbText: fold-flip-verb

View file

@ -3,7 +3,6 @@
id: ClothingMaskBandanaBase
abstract: true
components:
- type: Appearance
- type: Foldable
canFoldInsideContainer: true
- type: FoldableClothing

View file

@ -66,7 +66,6 @@
parent: [ClothingOuterStorageBase, BaseFoldable]
id: ClothingOuterStorageFoldableBase
components:
- type: Appearance
- type: Foldable
canFoldInsideContainer: true
unfoldVerbText: fold-zip-verb

View file

@ -25,7 +25,6 @@
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/pop_high.ogg
- type: Appearance
- type: Item
size: Normal
- type: RandomMetadata # No metagaming these, jimbo.

View file

@ -38,20 +38,16 @@
- type: Clickable
- type: InteractionOutline
- type: FultonBeacon
- type: Appearance
- type: GenericVisualizer
visuals:
enum.FoldedVisuals.State:
foldedLayer:
True: { state: folded_extraction }
False: { state: extraction_point }
- type: Sprite
sprite: Objects/Tools/fulton.rsi
drawdepth: SmallObjects
noRot: true
layers:
- state: extraction_point
map: [ "foldedLayer" ]
map: ["unfoldedLayer"]
visible: false
- state: folded_extraction
map: ["foldedLayer"]
- type: entity
id: Fulton

View file

@ -52,7 +52,6 @@
- state: wheelchair_folded
map: ["foldedLayer"]
visible: false
- type: Appearance
- type: Item
size: Ginormous
- type: Damageable

View file

@ -1,9 +1,9 @@
- type: entity
id: BaseFoldable
name: "foldable"
abstract: true
id: BaseFoldable
components:
- type: Foldable
- type: Appearance
- type: GenericVisualizer
visuals:
enum.FoldedVisuals.State:
@ -18,6 +18,5 @@
abstract: true
parent: BaseFoldable
id: BaseDeployFoldable
name: "deploy foldable"
components:
- type: DeployFoldable

View file

@ -335,7 +335,6 @@
visible: false
- type: Item
size: Huge
- type: Appearance
- type: MeleeWeapon
damage:
types: