Refactors throw events, makes cream pies ECS (#4500)

This commit is contained in:
Vera Aguilera Puerto
2021-08-21 09:18:23 +02:00
committed by GitHub
parent 140682f92b
commit ea4ce1c6fc
19 changed files with 287 additions and 260 deletions

View File

@@ -299,16 +299,18 @@
description: get creampied, honk!!
abstract: true
components:
- type: Projectile
deleteOnCollide: false # CreamPie component handles this.
- type: CreamPie
- type: ThrownItem
- type: Sprite
netsync: false
sprite: Objects/Consumable/Food/pie.rsi
state: icon
- type: SolutionContainer
contents:
reagents:
- ReagentId: Nutriment
Quantity: 8
- type: Projectile
deleteOnCollide: false # CreamPie component handles this.
- type: CreamPie
- type: ThrownItem
- type: Sprite
sprite: Objects/Consumable/Food/Baked/pie.rsi
netsync: false
layers:
- state: tin
- state: plain
- type: SolutionContainer
contents:
reagents:
- ReagentId: Nutriment
Quantity: 8