Drinking glasses now break.

- Adds DamageOnLandComponent
- Adds DamageOtherOnHitComponent
- Drinking glasses break on throw.
- Drinking glasses damage others when thrown.
- Glass shards also damage others when thrown.
This commit is contained in:
Vera Aguilera Puerto
2020-12-21 13:22:16 +01:00
parent 5fb82ea581
commit 3b1677ff79
5 changed files with 92 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ namespace Content.Server.GameObjects.Components.Projectiles
/// <summary>
/// User who threw the item.
/// </summary>
public IEntity User;
public IEntity User { get; set; }
void ICollideBehavior.CollideWith(IEntity entity)
{