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:
@@ -238,12 +238,27 @@ namespace Content.Server.GameTicking
|
|||||||
|
|
||||||
if (lateJoin && !silent)
|
if (lateJoin && !silent)
|
||||||
{
|
{
|
||||||
_chatSystem.DispatchStationAnnouncement(station,
|
if (jobPrototype.JoinNotifyCrew)
|
||||||
Loc.GetString("latejoin-arrival-announcement",
|
{
|
||||||
("character", MetaData(mob).EntityName),
|
_chatSystem.DispatchStationAnnouncement(station,
|
||||||
("job", CultureInfo.CurrentCulture.TextInfo.ToTitleCase(jobName))),
|
Loc.GetString("latejoin-arrival-announcement-special",
|
||||||
Loc.GetString("latejoin-arrival-sender"),
|
("character", MetaData(mob).EntityName),
|
||||||
playDefaultSound: false);
|
("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}"))
|
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
|
# Displayed in chat to admins when a player leaves
|
||||||
player-leave-message = Player {$name} left.
|
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-arrival-sender = Station
|
||||||
latejoin-arrivals-direction = A shuttle transferring you to your station will arrive shortly.
|
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}.
|
latejoin-arrivals-direction-time = A shuttle transferring you to your station will arrive in {$time}.
|
||||||
|
|||||||
Reference in New Issue
Block a user