Added an artifact that attracts creatures, item max health can be changed & items can be made indestructible
This commit is contained in:
@@ -290,7 +290,7 @@ namespace Barotrauma
|
||||
body.CollidesWith = Physics.CollisionWall | Physics.CollisionLevel;
|
||||
|
||||
body.Friction = ToolBox.GetAttributeFloat(element, "friction", 0.3f);
|
||||
body.Restitution = 0.05f;
|
||||
body.Restitution = ToolBox.GetAttributeFloat(element, "restitution", 0.05f);
|
||||
|
||||
body.BodyType = BodyType.Dynamic;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user