Adds PopupMessage to being hugged [Fix #7644] (#7698)

This commit is contained in:
Júlio César Ueti
2022-04-23 20:43:11 -03:00
committed by GitHub
parent 94bd2b7c94
commit f5eead4ba9
9 changed files with 20 additions and 9 deletions

View File

@@ -51,10 +51,10 @@ namespace Content.Server.Interaction.Components;
public float SuccessChance = 1.0f; // Always succeed, unless specified otherwise on the yaml prototype.
/// <summary>
/// Will the popup message be perceived by entities not involved in the interaction?
/// If set, shows a message to all surrounding players but NOT the current player.
/// </summary>
[DataField("popupPerceivedByOthers")]
public bool PopupPerceivedByOthers = false;
[DataField("messagePerceivedByOthers")]
public string? MessagePerceivedByOthers;
/// <summary>
/// Will the sound effect be perceived by entities not involved in the interaction?