(6401d5d4b) The medic should now drag only unconcious targets into safety before applying treatment. Increase the VitalityThreshold and reduce the distance factor. Add a couple new dialogs.
This commit is contained in:
@@ -551,6 +551,18 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
foreach (MapEntity e in MapEntity.mapEntityList)
|
||||
{
|
||||
if (Vector2.Distance(e.Position, HiddenSubPosition) > 20000)
|
||||
{
|
||||
//move disabled items (wires, items inside containers) inside the sub
|
||||
if (e is Item item && item.body != null && !item.body.Enabled)
|
||||
{
|
||||
item.SetTransform(ConvertUnits.ToSimUnits(HiddenSubPosition), 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (MapEntity e in MapEntity.mapEntityList)
|
||||
{
|
||||
if (Vector2.Distance(e.Position, HiddenSubPosition) > 20000)
|
||||
|
||||
Reference in New Issue
Block a user