Special latejoin message for captain (#31991)
* Special latejoin message for captain * fix gender in locale * remove this for now * shame * not really shame * change * do that
This commit is contained in:
@@ -237,14 +237,29 @@ namespace Content.Server.GameTicking
|
||||
_mind.TransferTo(newMind, mob);
|
||||
|
||||
if (lateJoin && !silent)
|
||||
{
|
||||
if (jobPrototype.JoinNotifyCrew)
|
||||
{
|
||||
_chatSystem.DispatchStationAnnouncement(station,
|
||||
Loc.GetString("latejoin-arrival-announcement-special",
|
||||
("character", MetaData(mob).EntityName),
|
||||
("entity", mob),
|
||||
("job", CultureInfo.CurrentCulture.TextInfo.ToTitleCase(jobName))),
|
||||
Loc.GetString("latejoin-arrival-sender"),
|
||||
playDefaultSound: false,
|
||||
colorOverride: Color.Gold);
|
||||
}
|
||||
else
|
||||
{
|
||||
_chatSystem.DispatchStationAnnouncement(station,
|
||||
Loc.GetString("latejoin-arrival-announcement",
|
||||
("character", MetaData(mob).EntityName),
|
||||
("entity", mob),
|
||||
("job", CultureInfo.CurrentCulture.TextInfo.ToTitleCase(jobName))),
|
||||
Loc.GetString("latejoin-arrival-sender"),
|
||||
playDefaultSound: false);
|
||||
}
|
||||
}
|
||||
|
||||
if (player.UserId == new Guid("{e887eb93-f503-4b65-95b6-2f282c014192}"))
|
||||
{
|
||||
|
||||
@@ -33,7 +33,8 @@ player-first-join-message = Player {$name} joined for the first time.
|
||||
# Displayed in chat to admins when a player leaves
|
||||
player-leave-message = Player {$name} left.
|
||||
|
||||
latejoin-arrival-announcement = {$character} ({$job}) has arrived at the station!
|
||||
latejoin-arrival-announcement = {$character} ({$job}) { CONJUGATE-HAVE($entity) } arrived at the station!
|
||||
latejoin-arrival-announcement-special = {$job} {$character} on deck!
|
||||
latejoin-arrival-sender = Station
|
||||
latejoin-arrivals-direction = A shuttle transferring you to your station will arrive shortly.
|
||||
latejoin-arrivals-direction-time = A shuttle transferring you to your station will arrive in {$time}.
|
||||
|
||||
Reference in New Issue
Block a user