Skip to content

Commit

Permalink
Roboisseur no longer sends messages in the chat (DeltaV-Station#1222)
Browse files Browse the repository at this point in the history
Webedit ops

Signed-off-by: Null <[email protected]>
  • Loading branch information
NullWanderer authored May 18, 2024
1 parent 94d3fda commit 0976829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/DeltaV/NPC/Roboisseur/RoboisseurSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public override void Update(float frameTime)
}
else if (CheckTier(roboisseur.DesiredPrototype.ID, roboisseur) > 2)
message = Loc.GetString(_random.Pick(roboisseur.DemandMessagesTier2), ("item", roboisseur.DesiredPrototype.Name));
_chat.TrySendInGameICMessage(roboisseur.Owner, message, InGameICChatType.Speak, false);
_chat.TrySendInGameICMessage(roboisseur.Owner, message, InGameICChatType.Speak, true);
}

if (roboisseur.Accumulator >= roboisseur.ResetTime.TotalSeconds)
Expand Down Expand Up @@ -99,7 +99,7 @@ private void OnInteractHand(EntityUid uid, RoboisseurComponent component, Intera
if (CheckTier(component.DesiredPrototype.ID, component) > 1)
message = Loc.GetString(_random.Pick(component.DemandMessagesTier2), ("item", component.DesiredPrototype.Name));

_chat.TrySendInGameICMessage(component.Owner, message, InGameICChatType.Speak, false);
_chat.TrySendInGameICMessage(component.Owner, message, InGameICChatType.Speak, true);
}

private void OnInteractUsing(EntityUid uid, RoboisseurComponent component, InteractUsingEvent args)
Expand Down

0 comments on commit 0976829

Please sign in to comment.