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:
@@ -0,0 +1,8 @@
|
||||
- type: entity
|
||||
name: clientsideclone
|
||||
id: clientsideclone
|
||||
abstract: true
|
||||
components:
|
||||
- type: Sprite
|
||||
- type: Physics
|
||||
- type: AnimationPlayer
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user