Some new items that can be crafted out of Incendium, stairs can be used while wearing a diving suit

This commit is contained in:
Regalis11
2016-01-21 16:58:46 +02:00
parent 97b3d8451c
commit f0d7d2f26d
10 changed files with 73 additions and 6 deletions
+10
View File
@@ -44,6 +44,16 @@ namespace Barotrauma
public Vector2 Size
{
get { return size; }
set
{
if (value == size) return;
Vector2 sizeChange = value - size;
size = value;
position.X -= sizeChange.X * 0.5f;
LimitSize();
}
}
public FireSource(Vector2 worldPosition, Hull spawningHull = null, bool networkEvent=false)