v1.4.4.1 (Blood in the Water Update)

This commit is contained in:
Regalis11
2024-04-24 18:09:05 +03:00
parent 89b91d1c3e
commit ff1b8951a7
397 changed files with 15250 additions and 6479 deletions
@@ -185,6 +185,19 @@ namespace Barotrauma
}
}
public static void OnItemMarkedForRelocation()
{
DisplayHint($"onitemmarkedforrelocation".ToIdentifier());
}
public static void OnItemMarkedForDeconstruction(Character character)
{
if (character == Character.Controlled)
{
DisplayHint($"onitemmarkedfordeconstruction".ToIdentifier());
}
}
private static void CheckIsInteracting()
{
if (!CanDisplayHints()) { return; }
@@ -582,6 +595,24 @@ namespace Barotrauma
{
DisplayHint("onballastflorainfected".ToIdentifier());
}
if (order.Identifier == "deconstructitems" &&
Item.DeconstructItems.None())
{
DisplayHint("ondeconstructorder".ToIdentifier());
}
}
public static void OnSetOrder(Character character, Order order)
{
if (!CanDisplayHints()) { return; }
if (character == null || order == null) { return; }
if (order.OrderGiver == Character.Controlled &&
order.Identifier == "deconstructitems" &&
Item.DeconstructItems.None())
{
DisplayHint("ondeconstructorder".ToIdentifier());
}
}
private static void CheckIfDivingGearOutOfOxygen()
@@ -719,7 +750,7 @@ namespace Barotrauma
HintsIgnoredThisRound.Add(hintIdentifier);
ActiveHintMessageBox = new GUIMessageBox(hintIdentifier, text, icon);
ActiveHintMessageBox = new GUIMessageBox(hintIdentifier, TextManager.ParseInputTypes(text), icon);
if (iconColor.HasValue) { ActiveHintMessageBox.IconColor = iconColor.Value; }
OnUpdate = onUpdate;