Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream5 #234

Merged
merged 204 commits into from
Jan 14, 2025
Merged
Changes from 1 commit
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
4b34dd6
Amber Station - Fixed evac shuttle screens (#34071)
southbridge-fur Dec 26, 2024
52d39aa
bagel update (#34073)
Emisse Dec 26, 2024
bf727b0
Reinforced tables require welding to construct/deconstruct (#33992)
ArtisticRoomba Dec 26, 2024
fab5dd1
Automatic changelog update
PJBot Dec 26, 2024
34e9979
Arrivals blacklist for bluespace lockers and QSIs (#34072)
crazybrain23 Dec 27, 2024
ca0596e
Automatic changelog update
PJBot Dec 27, 2024
860052c
Fix popup on handcuffing for person being handcuffed (#33639)
Plykiya Dec 27, 2024
9acce42
Automatic changelog update
PJBot Dec 27, 2024
97dd551
Ignore audio entities in SpawnAndDeleteEntityCountTest (#34021)
ElectroJr Dec 28, 2024
d92ed75
Fix wagging action name and desc (#34089)
lzk228 Dec 28, 2024
a21d809
Removed Power Monitoring Computer boards from research and lathe reci…
Alpaccalypse Dec 28, 2024
b24ab38
Automatic changelog update
PJBot Dec 28, 2024
616d341
Traitor can no longer get multiple objectives to save/help/kill the s…
psykana Dec 28, 2024
1b478d4
Automatic changelog update
PJBot Dec 28, 2024
01980cb
Removes weh.txt from Textures/Parallaxes (#34097)
PursuitInAshes Dec 28, 2024
6c46515
UI improvements for holopads (#34055)
chromiumboy Dec 28, 2024
4155440
Automatic changelog update
PJBot Dec 28, 2024
3f84b04
Update Credits (#34109)
github-actions[bot] Dec 29, 2024
5d0d371
Added support so that smile can use hats (#33924)
zHonys Dec 29, 2024
9f9553b
Automatic changelog update
PJBot Dec 29, 2024
bfb256f
Add a guaranteed cotton pizza to pizza crates (#33997)
ewokswagger Dec 29, 2024
4bb68c4
Automatic changelog update
PJBot Dec 29, 2024
2c41ed0
Corrected Cotton Dough Recipe (#33988)
Booblesnoot42 Dec 29, 2024
e07609b
New cotton baguette, crostini, chevre-chaud, bagel, and croissant foo…
ArtisticRoomba Dec 29, 2024
a7ca552
Automatic changelog update
PJBot Dec 29, 2024
d6a9fe1
Rolling joints no longer requires a filter (#34106)
IamVelcroboy Dec 29, 2024
da8bb99
Automatic changelog update
PJBot Dec 29, 2024
072b973
fix interdimensional teleporter desc (#34108)
lzk228 Dec 29, 2024
c2ffc25
Adds kitchen/botany-locked maints airlock (#34116)
IamVelcroboy Dec 29, 2024
608b433
Added ID entry for captain on Bagel (#34120)
DylanWhittingham Dec 29, 2024
4acfec8
Amber Station Overhaul (#34113)
southbridge-fur Dec 30, 2024
3fb7ee4
Box Station - Dechristmassified (#34135)
southbridge-fur Dec 30, 2024
def73da
Marathon Station - Dechristmassified (#34136)
southbridge-fur Dec 30, 2024
a1c8ac3
Loop Station Decal and maints additions (#34103)
TytosB Dec 30, 2024
ff08fb3
Rename cryobed yml file (#34134)
Booblesnoot42 Dec 30, 2024
b31a183
Cog update (not very merry) (#34144)
Spessmann Dec 31, 2024
494cb18
bagel update (#34145)
Emisse Dec 31, 2024
94422e2
Add hair pulato (#34117)
DreamlyJack Dec 31, 2024
b51f750
Automatic changelog update
PJBot Dec 31, 2024
c1c4b1c
Holopad UI tweak for incoming calls (#34137)
chromiumboy Dec 31, 2024
8545c3a
Holopads no longer log broadcasted speech and emotes in the chat (#34…
chromiumboy Dec 31, 2024
dc90fab
Automatic changelog update
PJBot Dec 31, 2024
9158d76
Fixes borgs not being able to check their laws in crit (#34133)
PopGamer45 Dec 31, 2024
b69212b
Add contraband parent to laser gun safe (#34132)
crazybrain23 Dec 31, 2024
bdea33d
Automatic changelog update
PJBot Dec 31, 2024
adaa584
Add Holopad Circuit Board to A/V Communication Technology (#34150)
amatwiedle Dec 31, 2024
cba500c
Automatic changelog update
PJBot Dec 31, 2024
ad0d790
Fix disposal signal routers sprites (#34139)
justdie12 Dec 31, 2024
59b86d4
Automatic changelog update
PJBot Dec 31, 2024
b080c6f
Meta station overhaul (#33506)
Nox38 Dec 31, 2024
ed2d784
Standardize shotgun ammo in storagefills (#34156)
ArtisticRoomba Dec 31, 2024
c5e3f86
Automatic changelog update
PJBot Dec 31, 2024
fe8eee6
meta update (#34158)
Emisse Jan 1, 2025
10d94ad
Amber Station Adjustments (#34126)
southbridge-fur Jan 1, 2025
588e8c1
Fix friendly vent spiders (#34153)
Booblesnoot42 Jan 1, 2025
6b95494
Removed UseDelay component from RCD (#34149)
Booblesnoot42 Jan 1, 2025
88d1304
Automatic changelog update
PJBot Jan 1, 2025
2828441
Decrease hp for rusted walls (#34043)
lzk228 Jan 1, 2025
5afa961
Automatic changelog update
PJBot Jan 1, 2025
4f2d609
FIX: Thief beacon doubled steal targets (#33750)
ReeZer2 Jan 1, 2025
863dfcd
Automatic changelog update
PJBot Jan 1, 2025
b5f8343
remove nukemass song (#34066)
Errant-4 Jan 1, 2025
7261b86
Automatic changelog update
PJBot Jan 1, 2025
1a632b2
Corrected all ghost role names to title case. (#34155)
Alpaccalypse Jan 1, 2025
2e888c2
Packed Update (Remove Christmas & New Evac) (#34168)
spanky-spanky Jan 1, 2025
1bda739
Omega Update (Remove Christmas) (#34174)
spanky-spanky Jan 2, 2025
f4e60ff
Renamed "Irish Car Bomb" drink to "Irish Slammer" (#34107)
Alpaccalypse Jan 2, 2025
1391449
Automatic changelog update
PJBot Jan 2, 2025
df487ea
Bugfix for the AI player's eye getting stuck when their broadcast is …
chromiumboy Jan 2, 2025
59a87ef
Speech is relayed by holopad holograms (#33978)
chromiumboy Jan 2, 2025
6f9d61f
Make JPEG a PNG (#34176)
Aeshus Jan 2, 2025
083d812
Removed Undesirable Ion Storm Verbs (#34175)
Aeshus Jan 2, 2025
9af4e63
added basic admin logs for PDA notekeeper notes (#34118)
DylanWhittingham Jan 2, 2025
64a5473
Automatic changelog update
PJBot Jan 2, 2025
1a5be80
Sprites defined for all non-generic computer boards. Added new syndic…
Alpaccalypse Jan 2, 2025
39ee853
Added pricegun sound (#34119)
DylanWhittingham Jan 2, 2025
65a463e
Automatic changelog update
PJBot Jan 2, 2025
ecdcc9f
Separate Tables n' Counters (#32673)
ps3moira Jan 2, 2025
34960c5
Automatic changelog update
PJBot Jan 2, 2025
21351df
Add Chameleon PDA (#30514)
SlamBamActionman Jan 2, 2025
c98a4b9
Automatic changelog update
PJBot Jan 2, 2025
edaf0a3
Add some ion storm actions to replace removed ones (#34180)
FairlySadPanda Jan 2, 2025
a13076b
Automatic changelog update
PJBot Jan 2, 2025
a033abb
Amber Station and Science Spawner Tweaks (#34187)
southbridge-fur Jan 3, 2025
55ad6a7
Core update (#34201)
UbaserB Jan 3, 2025
03b34f0
Elkridge Depot (The station formerly known as Cell) (#34085)
Deerstop Jan 3, 2025
53a9e09
Add Elkridge Depot into Map Rotation (#34206)
Deerstop Jan 4, 2025
983cfa8
Automatic changelog update
PJBot Jan 4, 2025
357d365
Packed Update (#34208)
spanky-spanky Jan 4, 2025
b2b3b22
Apply forensics when loading with an ammo box (#32280)
themias Jan 4, 2025
41bcdd7
Automatic changelog update
PJBot Jan 4, 2025
9532b61
Update Credits (#34220)
github-actions[bot] Jan 5, 2025
0639a49
Fix rainbow lizard plushie inhands (#34128)
ArtisticRoomba Jan 5, 2025
0aebc76
wielding refactor/fixes (#32188)
deltanedas Jan 5, 2025
6f16291
Automatic changelog update
PJBot Jan 5, 2025
a55dc4d
Lobby chat width and custom lobby titles (#33783)
Errant-4 Jan 5, 2025
c536094
Automatic changelog update
PJBot Jan 5, 2025
6b674e7
Adds bullet collision to station lights (#34070)
SpaceRox1244 Jan 5, 2025
eecdd82
Automatic changelog update
PJBot Jan 5, 2025
87d1ed9
Oasis Update (#34245)
IProduceWidgets Jan 6, 2025
8083f88
Amber Station - Minor Fixes (#34246)
southbridge-fur Jan 6, 2025
ea99542
Make station anchor hitbox less insufferable (#34217)
ArtisticRoomba Jan 6, 2025
4882ba2
Automatic changelog update
PJBot Jan 6, 2025
b6599d3
Remove kessler and zombeteors gamemodes from the secret pool (#34051)
ArtisticRoomba Jan 7, 2025
02d89d9
Automatic changelog update
PJBot Jan 7, 2025
43db40c
Added distinct ad and bye chatter to Dr. Gibb vending (#34182)
Alpaccalypse Jan 7, 2025
2d78b6c
Implement approved rule changes (#34233)
nikthechampiongr Jan 7, 2025
b4e2a36
Special reagents now appear in the guidebook (#34265)
Alpaccalypse Jan 7, 2025
aa458a2
Automatic changelog update
PJBot Jan 7, 2025
4a3d3ef
Implement approved rule changes (#34233)
nikthechampiongr Jan 7, 2025
af75c1a
Fix compilation errors in tests from update (#34272)
PJB3005 Jan 7, 2025
483ac50
Fix portable scrubber appearing powered on spawn (#34274)
Tayrtahn Jan 7, 2025
3238c2e
[HOTFIX] Fix chameleon PDAs renaming IDs (#34249)
SlamBamActionman Jan 7, 2025
e0163fb
[HOTFIX] Fix Meta station power (#34256)
ArtisticRoomba Jan 7, 2025
45e0b9e
merge stable to master (#34279)
slarticodefast Jan 7, 2025
90b4669
Update vessel_warning.ogg (#34263)
Pangogie Jan 8, 2025
23f0b30
Add bleating accent to goats (#34273)
Tayrtahn Jan 8, 2025
4d26ea6
Automatic changelog update
PJBot Jan 8, 2025
0109246
Happy New Year (#34288)
Piras314 Jan 8, 2025
8945ac3
Amber Station - Balance Improvements (#34294)
southbridge-fur Jan 8, 2025
c1aaf64
Fixed Loop Station's southern solar array unlinked airlocks (#34296)
flymo5678 Jan 8, 2025
904d75c
Fix empty lines in adminwho with stealthmins. (#34122)
c4llv07e Jan 8, 2025
60e1c6f
Automatic changelog update
PJBot Jan 8, 2025
ba9eed7
Added missing cameras to Loop Station (#34308)
flymo5678 Jan 8, 2025
e0b2d00
Amber Station - Fixes and Warm Lights (#34324)
southbridge-fur Jan 9, 2025
fdbb3c8
Automatic changelog update
PJBot Jan 9, 2025
0498498
change locking to use ComplexInteraction (#34326)
deltanedas Jan 9, 2025
66810ef
Automatic changelog update
PJBot Jan 9, 2025
36cbd07
Drink titles and soda vendor consistency (#34178)
Alpaccalypse Jan 9, 2025
abf7f62
Automatic changelog update
PJBot Jan 9, 2025
dd28f17
Fix access configurator debug assert (#34330)
ScarKy0 Jan 10, 2025
b42a015
Renamed water melon juice to watermelon juice (#34341)
Alpaccalypse Jan 10, 2025
193f224
[Maps] Pilgrim update #9 (#2914)
Ko4ergaVibeman Jan 10, 2025
0b1ed3e
Fix battery charging stopping just short of being full (#34028)
Errant-4 Jan 10, 2025
edbc861
Add copy threshold button to air alarms (#34346)
southbridge-fur Jan 10, 2025
ac2eb88
Automatic changelog update
PJBot Jan 10, 2025
0bc1715
Oasis updoot the dimmining (#34347)
IProduceWidgets Jan 10, 2025
243654e
[Maps] fix Cute Installation (#2915)
OneYaHoy Jan 10, 2025
869ecb2
Fland Station - Dirt Fix (#34352)
southbridge-fur Jan 10, 2025
4b1b4c0
Omega Station - Dirt Fix (#34353)
southbridge-fur Jan 10, 2025
ad59eea
Marathon Station - Dirt Fix (#34354)
southbridge-fur Jan 10, 2025
915234a
Cog Station - Dirt Fix (#34355)
southbridge-fur Jan 10, 2025
65655e7
Box Station - Dirt Fix (#34356)
southbridge-fur Jan 10, 2025
1c2fcf0
Bagel Station - Dirt Fix (#34357)
southbridge-fur Jan 10, 2025
dff9abf
Packed Station - Dirt Fix (#34351)
southbridge-fur Jan 10, 2025
7fa8499
Pearl Holopad Update (#2916)
RinidOps Jan 10, 2025
7ae7821
Replace some sound PlayEntity with PlayPvs (#34317)
ElectroJr Jan 10, 2025
87e18b9
Fixed Forensic Gloves to be Security Contraband (#34193)
Coolsurf6 Jan 10, 2025
fa720a0
Automatic changelog update
PJBot Jan 10, 2025
d1f6531
add large instruments to the cargo request computer (#34240)
TeenSarlacc Jan 10, 2025
0cd2d82
Automatic changelog update
PJBot Jan 10, 2025
fbe6168
Fix crayon losing durability on stamped paper (#34202)
themias Jan 10, 2025
45d47da
Automatic changelog update
PJBot Jan 10, 2025
7dc245f
[Maps] fix Cute Installation (#2917)
OneYaHoy Jan 10, 2025
1ab1580
Update locale from 2024-12-20 (#2913)
lzk228 Jan 10, 2025
f06ea5d
Adds a border to Oppenhopper poster (#34219)
Spessmann Jan 10, 2025
bbb551a
Trim trailing newlines from examine messages (#33381)
SpaceManiac Jan 10, 2025
fdc0853
Add a popup message when ghost Boo action does nothing (#34369)
Tayrtahn Jan 10, 2025
5deab7d
fix ghost_component.ftl locale grammar (#34372)
ArtisticRoomba Jan 11, 2025
a95b4c1
Sprites reverts (#2918)
SonicHDC Jan 11, 2025
e301f52
Automatic changelog update
IanComradeBot Jan 11, 2025
c6e4d19
Let ghosts sometimes make certain devices say creepy things (#34368)
Tayrtahn Jan 11, 2025
10b778f
Automatic changelog update
PJBot Jan 11, 2025
3439b77
Add directional escape pod sign (#34367)
minus1over12 Jan 11, 2025
51eb319
[Maps] fix Cute Installation (#2919)
OneYaHoy Jan 11, 2025
cfb2317
Make indestructible tiles not breakable by explosions (#34339)
poklj Jan 11, 2025
458d3ff
Automatic changelog update
PJBot Jan 11, 2025
2fcfc82
Arachnid stomach organ yaml fix (#34298)
0x6273 Jan 11, 2025
d5ce3e8
Automatic changelog update
PJBot Jan 11, 2025
afd5ce3
Bended radiator (#34251)
justdie12 Jan 11, 2025
6be4fba
Automatic changelog update
PJBot Jan 11, 2025
1c315ba
Remove Entity<T> data-fields (#34083)
ElectroJr Jan 11, 2025
3da3543
Update submodule, .NET 9 (#34320)
PJB3005 Jan 11, 2025
46d58bf
Role Types (#33420)
Errant-4 Jan 11, 2025
e271a5a
Automatic changelog update
PJBot Jan 11, 2025
ea0b04a
Update Credits (#34389)
github-actions[bot] Jan 12, 2025
d9e4ed2
Elkridge Depot Improvements (#34377)
Deerstop Jan 12, 2025
9af9fbf
[MAPS] Paper New Year Good Bye. (#2920)
XsenonDash Jan 12, 2025
9ad69fc
[Maps] Change Corvax maps directory (#2921)
Ko4ergaPunk Jan 12, 2025
924f64e
Fix force-feeding Loc strings not using target's gender (#34276)
Tayrtahn Jan 12, 2025
8f4c49a
HOTFIX Tweaked air alarm default settings for nitrogen breathing crew…
Errant-4 Jan 12, 2025
83ce982
#33571 Bomb defusal lockers always should have tools (#34394)
Kontinentaldrift Jan 12, 2025
7b8d51c
Automatic changelog update
PJBot Jan 12, 2025
6c09b97
Merge remote-tracking branch 'wizards/master' into upstream-sync
Morb0 Jan 12, 2025
ccff52a
[HOTFIX] fix holopads with multiple ai cores dying (#34289)
deltanedas Jan 12, 2025
e830cce
merge stable into master (#34398)
slarticodefast Jan 12, 2025
f85f80e
Reduce Panic Bunker Minimum Playtime to 2 hours (#34401)
crazybrain23 Jan 12, 2025
57442fc
(Stable -> Master) Reduce Panic Bunker Minimum Playtime to 2 hours (#…
VasilisThePikachu Jan 12, 2025
3c00278
Update interfaces to dotnet 9
Morb0 Jan 12, 2025
e5effcd
Fix upstream
Morb0 Jan 12, 2025
1effc05
[Maps] Cute Installation update #1 (#2922)
OneYaHoy Jan 12, 2025
96d913b
Add IPIntel API support. (#33339)
VasilisThePikachu Jan 12, 2025
9cc76d9
Automatic changelog update
PJBot Jan 12, 2025
f8f0dcb
Merge remote-tracking branch 'wizards/master' into upstream-sync
Morb0 Jan 12, 2025
0b72d7d
Replace ELKridge lawyer with IAA
Morb0 Jan 12, 2025
8f72906
Merge pull request #2924 from space-syndicate/upstream-sync
Morb0 Jan 12, 2025
f910609
Merge remote-tracking branch 'corvax/master' into HEAD
FireNameFN Jan 12, 2025
846f4c7
[Maps] Pilgrim Hotfix #3 (#2926)
Ko4ergaPunk Jan 13, 2025
df3c7b0
[Maps] Gelta update (#2923)
Zna1kin Jan 13, 2025
2ab9114
[Maps] Glacier update (#2929)
NotSoDana Jan 13, 2025
5e0c70b
Merge remote-tracking branch 'corvax/master' into Upstream5
FireNameFN Jan 14, 2025
192848c
Revert "Merge remote-tracking branch 'corvax/master' into Upstream5"
FireNameFN Jan 14, 2025
07ecbef
PDA fix
FireNameFN Jan 14, 2025
9315850
Merge remote-tracking branch 'next-origin/master' into Upstream5
FireNameFN Jan 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
UI improvements for holopads (#34055)
* Initial commit

* Minor update
chromiumboy authored Dec 28, 2024
commit 6c465153abfafda2f5582d1853038c5d0bc3a567
31 changes: 21 additions & 10 deletions Content.Client/Holopad/HolopadWindow.xaml
Original file line number Diff line number Diff line change
@@ -27,7 +27,11 @@
<!-- Header text -->
<BoxContainer MinHeight="60" Orientation="Vertical" VerticalAlignment="Center">
<Label Name="CallStatusText" Margin="10 5 10 0" ReservesSpace="False"/>
<RichTextLabel Name="CallerIdText" HorizontalAlignment="Center" Margin="0 0 0 0" ReservesSpace="False"/>
<BoxContainer Name="CallerIdContainer" Orientation="Vertical" ReservesSpace="False">
<RichTextLabel Name="CallerIdText" HorizontalAlignment="Center" Margin="0 0 0 0"/>
<Label Text="{Loc 'holopad-window-relay-label'}" Margin="10 5 10 0" ReservesSpace="False"/>
<RichTextLabel Name="HolopadIdText" HorizontalAlignment="Center" Margin="0 0 0 10"/>
</BoxContainer>
</BoxContainer>

<!-- Controls (the answer call button is absent when the phone is not ringing) -->
@@ -68,18 +72,25 @@
<PanelContainer Name="HolopadContactListHeaderPanel">
<Label Text="{Loc 'holopad-window-select-contact-from-list'}" HorizontalAlignment="Center" Margin="0 3 0 3"/>
</PanelContainer>

<PanelContainer Name="HolopadContactListPanel">
<ScrollContainer HorizontalExpand="True" VerticalExpand="True" Margin="8, 8, 8, 8" MinHeight="256">
<BoxContainer Orientation="Vertical">

<!-- Contact filter -->
<LineEdit Name="SearchLineEdit" HorizontalExpand="True" Margin="4, 4, 4, 0"
PlaceHolder="{Loc holopad-window-filter-line-placeholder}" />

<!-- If there is no data yet, this will be displayed -->
<BoxContainer Name="FetchingAvailableHolopadsContainer" HorizontalAlignment="Center" HorizontalExpand="True" VerticalExpand="True" ReservesSpace="False">
<Label Text="{Loc 'holopad-window-fetching-contacts-list'}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</BoxContainer>
<ScrollContainer HorizontalExpand="True" VerticalExpand="True" Margin="8, 8, 8, 8" MinHeight="256">

<!-- Container for the contacts -->
<BoxContainer Name="ContactsList" Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True" Margin="10 0 10 0"/>
</ScrollContainer>
<!-- If there is no data yet, this will be displayed -->
<BoxContainer Name="FetchingAvailableHolopadsContainer" HorizontalAlignment="Center" HorizontalExpand="True" VerticalExpand="True" ReservesSpace="False">
<Label Text="{Loc 'holopad-window-fetching-contacts-list'}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</BoxContainer>

<!-- Container for the contacts -->
<BoxContainer Name="ContactsList" Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True" Margin="10 0 10 0"/>
</ScrollContainer>
</BoxContainer>
</PanelContainer>
</BoxContainer>

12 changes: 9 additions & 3 deletions Content.Client/Holopad/HolopadWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -171,8 +171,10 @@ public void UpdateState(Dictionary<NetEntity, string> holopads)

// Caller ID text
var callerId = _telephoneSystem.GetFormattedCallerIdForEntity(telephone.LastCallerId.Item1, telephone.LastCallerId.Item2, Color.LightGray, "Default", 11);
var holoapdId = _telephoneSystem.GetFormattedDeviceIdForEntity(telephone.LastCallerId.Item3, Color.LightGray, "Default", 11);

CallerIdText.SetMessage(FormattedMessage.FromMarkupOrThrow(callerId));
HolopadIdText.SetMessage(FormattedMessage.FromMarkupOrThrow(holoapdId));
LockOutIdText.SetMessage(FormattedMessage.FromMarkupOrThrow(callerId));

// Sort holopads alphabetically
@@ -236,10 +238,13 @@ private void UpdateAppearance()
// Make / update required children
foreach (var child in ContactsList.Children)
{
if (child is not HolopadContactButton)
if (child is not HolopadContactButton contactButton)
continue;

var contactButton = (HolopadContactButton)child;
var passesFilter = string.IsNullOrEmpty(SearchLineEdit.Text) ||
contactButton.Text?.Contains(SearchLineEdit.Text, StringComparison.CurrentCultureIgnoreCase) == true;

contactButton.Visible = passesFilter;
contactButton.Disabled = (_currentState != TelephoneState.Idle || lockButtons);
}

@@ -290,7 +295,7 @@ private void UpdateAppearance()
FetchingAvailableHolopadsContainer.Visible = (ContactsList.ChildCount == 0);
ActiveCallControlsContainer.Visible = (_currentState != TelephoneState.Idle || _currentUiKey == HolopadUiKey.AiRequestWindow);
CallPlacementControlsContainer.Visible = !ActiveCallControlsContainer.Visible;
CallerIdText.Visible = (_currentState == TelephoneState.Ringing);
CallerIdContainer.Visible = (_currentState == TelephoneState.Ringing);
AnswerCallButton.Visible = (_currentState == TelephoneState.Ringing);
}

@@ -316,6 +321,7 @@ public HolopadContactButton()
HorizontalExpand = true;
SetHeight = 32;
Margin = new Thickness(0f, 1f, 0f, 1f);
ReservesSpace = false;
}

public void UpdateValues(NetEntity netEntity, string label)
5 changes: 3 additions & 2 deletions Content.Server/Telephone/TelephoneSystem.cs
Original file line number Diff line number Diff line change
@@ -151,7 +151,7 @@ public override void Update(float frameTime)

break;

// Try to hang up if their has been no recent in-call activity
// Try to hang up if there has been no recent in-call activity
case TelephoneState.InCall:
if (_timing.CurTime > telephone.StateStartTime + TimeSpan.FromSeconds(telephone.IdlingTimeout))
EndTelephoneCalls(entity);
@@ -214,7 +214,8 @@ private bool TryCallTelephone(Entity<TelephoneComponent> source, Entity<Telephon
source.Comp.LinkedTelephones.Add(receiver);
source.Comp.Muted = options?.MuteSource == true;

receiver.Comp.LastCallerId = GetNameAndJobOfCallingEntity(user); // This will be networked when the state changes
var callerInfo = GetNameAndJobOfCallingEntity(user);
receiver.Comp.LastCallerId = (callerInfo.Item1, callerInfo.Item2, Name(source)); // This will be networked when the state changes
receiver.Comp.LinkedTelephones.Add(source);
receiver.Comp.Muted = options?.MuteReceiver == true;

17 changes: 17 additions & 0 deletions Content.Shared/Telephone/SharedTelephoneSystem.cs
Original file line number Diff line number Diff line change
@@ -36,4 +36,21 @@ public string GetFormattedCallerIdForEntity(string? presumedName, string? presum

return callerId;
}

public string GetFormattedDeviceIdForEntity(string? deviceName, Color fontColor, string fontType = "Default", int fontSize = 12)
{
if (deviceName == null)
{
return Loc.GetString("chat-telephone-unknown-device",
("color", fontColor),
("fontType", fontType),
("fontSize", fontSize));
}

return Loc.GetString("chat-telephone-device-id",
("deviceName", deviceName),
("color", fontColor),
("fontType", fontType),
("fontSize", fontSize));
}
}
3 changes: 2 additions & 1 deletion Content.Shared/Telephone/TelephoneComponent.cs
Original file line number Diff line number Diff line change
@@ -127,9 +127,10 @@ public sealed partial class TelephoneComponent : Component

/// <summary>
/// The presumed name and/or job of the last person to call this telephone
/// and the name of the device that they used to do so
/// </summary>
[ViewVariables, AutoNetworkedField]
public (string?, string?) LastCallerId;
public (string?, string?, string?) LastCallerId;
}

#region: Telephone events
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/holopad/holopad.ftl
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ holopad-window-options = [color=darkgray][font size=10][italic]Please select an
# Call status
holopad-window-no-calls-in-progress = No holo-calls in progress
holopad-window-incoming-call = Incoming holo-call from:
holopad-window-relay-label = Originating at:
holopad-window-outgoing-call = Attempting to establish a connection...
holopad-window-call-in-progress = Holo-call in progress
holopad-window-call-ending = Disconnecting...
@@ -28,6 +29,7 @@ holopad-window-access-denied = Access denied
holopad-window-select-contact-from-list = Select a contact to initiate a holo-call
holopad-window-fetching-contacts-list = No holopads are currently contactable
holopad-window-contact-label = {CAPITALIZE($label)}
holopad-window-filter-line-placeholder = Search for a contact

# Flavor
holopad-window-flavor-left = ⚠ Do not enter while projector is active
4 changes: 3 additions & 1 deletion Resources/Locale/en-US/telephone/telephone.ftl
Original file line number Diff line number Diff line change
@@ -5,4 +5,6 @@ chat-telephone-message-wrap-bold = [color={$color}][bold]{$name}[/bold] {$verb},
# Caller ID
chat-telephone-unknown-caller = [color={$color}][font={$fontType} size={$fontSize}][bolditalic]Unknown caller[/bolditalic][/font][/color]
chat-telephone-caller-id-with-job = [color={$color}][font={$fontType} size={$fontSize}][bold]{CAPITALIZE($callerName)} ({CAPITALIZE($callerJob)})[/bold][/font][/color]
chat-telephone-caller-id-without-job = [color={$color}][font={$fontType} size={$fontSize}][bold]{CAPITALIZE($callerName)}[/bold][/font][/color]
chat-telephone-caller-id-without-job = [color={$color}][font={$fontType} size={$fontSize}][bold]{CAPITALIZE($callerName)}[/bold][/font][/color]
chat-telephone-unknown-device = [color={$color}][font={$fontType} size={$fontSize}][bolditalic]Unknown device[/bolditalic][/font][/color]
chat-telephone-device-id = [color={$color}][font={$fontType} size={$fontSize}][bold]{CAPITALIZE($deviceName)}[/bold][/font][/color]