Janitor trashbag upgrade + FANCY ANIMATIONS (#3058)

* Janitor trashbag upgrade + FANCY ANIMATIONS

* Review, Bug fixes and Sounds
- Fixed hand-pickup animation playing if the entity originated from inside a container (e.g. bag on the ground) or from inside ourselves (e.g. something in our own inventory)

* Fix/Change. Just log if AnimateEntityPickup is called with an entity that has no SpriteComponent.

* More explicit log message. Error log.

* Merge. Fix.
This commit is contained in:
Remie Richards
2021-02-03 22:07:13 +00:00
committed by GitHub
parent 861271ea44
commit d45835e863
21 changed files with 309 additions and 23 deletions

View File

@@ -0,0 +1,8 @@
- type: entity
name: clientsideclone
id: clientsideclone
abstract: true
components:
- type: Sprite
- type: Physics
- type: AnimationPlayer

View File

@@ -152,18 +152,7 @@
components:
- type: Sprite
sprite: Objects/Consumable/Trash/tastybread.rsi
- type: entity
name: trash bag
parent: TrashBase
id: TrashBag
components:
- type: Sprite
sprite: Objects/Consumable/Trash/trashbag.rsi
- type: Storage
capacity: 125
- type: entity
name: tray (trash)

View File

@@ -234,3 +234,18 @@
reagents:
- ReagentId: chem.SpaceCleaner
Quantity: 100
- type: entity
name: trash bag
id: TrashBag
parent: BaseItem
components:
- type: Sprite
sprite: Objects/Specific/Janitorial/trashbag.rsi
state: icon
- type: Storage
capacity: 125
quickInsert: true
areaInsert: true
storageSoundCollection: trashBagRustle

View File

@@ -6,3 +6,10 @@
- /Audio/Effects/rustle3.ogg
- /Audio/Effects/rustle4.ogg
- /Audio/Effects/rustle5.ogg
- type: soundCollection
id: trashBagRustle
files:
- /Audio/Effects/trashbag1.ogg
- /Audio/Effects/trashbag2.ogg
- /Audio/Effects/trashbag3.ogg