User feedback for when you miss throwing something in disposals (#11426)
* user feedback for when you miss throwing something in disposals * Update missed message Co-authored-by: theashtronaut <112137107+theashtronaut@users.noreply.github.com> * Update Content.Server/Disposal/Unit/EntitySystems/DisposalUnitSystem.cs Co-authored-by: Kara <lunarautomaton6@gmail.com> * missing nullable check Co-authored-by: theashtronaut <112137107+theashtronaut@users.noreply.github.com> Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -285,6 +285,8 @@ namespace Content.Server.Disposal.Unit.EntitySystems
|
||||
_robustRandom.NextDouble() > 0.75 ||
|
||||
!component.Container.Insert(args.Thrown))
|
||||
{
|
||||
if (args.User.HasValue)
|
||||
_popupSystem.PopupEntity(Loc.GetString("disposal-unit-thrown-missed"), args.Thrown, Filter.Pvs(args.User.Value));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,3 +17,6 @@ disposal-eject-verb-get-data-text = Eject contents
|
||||
|
||||
## No hands
|
||||
disposal-unit-no-hands = You don't have hands!
|
||||
|
||||
## missed
|
||||
disposal-unit-thrown-missed = Missed!
|
||||
Reference in New Issue
Block a user