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

Merge upstream 5 29 2024 #10

Merged
merged 122 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
4043f1b
Initial Port
VMSolidus Apr 25, 2024
158b8d9
Should fix test fail
VMSolidus Apr 25, 2024
7527bdd
Edge with Experimental Supermatter Engine
VMSolidus Apr 26, 2024
4089288
Update edge.yml
VMSolidus Apr 26, 2024
a9d8b6b
New edge by Colintel
VMSolidus Apr 26, 2024
bf337fe
Update edge.yml
VMSolidus Apr 26, 2024
07d94cb
Update edge.yml
VMSolidus Apr 26, 2024
4212fbb
Physics based air throws
VMSolidus Apr 29, 2024
bddb87b
Update base_structureclosets.yml
VMSolidus Apr 29, 2024
162c284
Updates for review
VMSolidus Apr 29, 2024
3374757
Hello, this is an asymptote. Divide by zero must be an exit condition.
VMSolidus Apr 29, 2024
3dc71fb
Adding the clamp back in
VMSolidus Apr 29, 2024
0b428dc
better sound looping
VMSolidus Apr 30, 2024
b3c503c
I found another small optimization
VMSolidus May 1, 2024
68e0510
Another one
VMSolidus May 1, 2024
6099c11
guh
VMSolidus May 3, 2024
89d58ed
Psionic Refactor pt 1
VMSolidus May 3, 2024
afaedd2
Last bit
VMSolidus May 3, 2024
1566ee5
Last one missed
VMSolidus May 3, 2024
c832f5f
I accidentally sent the DeltaV legacy version of these
VMSolidus May 3, 2024
185a63b
Update edge.yml
VMSolidus May 4, 2024
9e7aa5d
New Cvar
VMSolidus May 4, 2024
3d03262
Update comments for documentation
VMSolidus May 4, 2024
67fdaff
Apply suggestions from code review
VMSolidus May 6, 2024
79e9664
Update supermatter
VMSolidus May 10, 2024
827bdb2
Finishing Mind Swap rework
VMSolidus May 14, 2024
22f405b
Noospheric Zap updating
VMSolidus May 14, 2024
54e7521
Merge branch 'master' into Psionic-Power-Refactor
VMSolidus May 14, 2024
f50f9df
Almost done
VMSolidus May 15, 2024
834e0eb
guh
VMSolidus May 15, 2024
372671e
More migrations
VMSolidus May 15, 2024
f3bc3d8
Final migrations
VMSolidus May 15, 2024
303d1b3
Last set of migrations
VMSolidus May 15, 2024
62163f0
Update PsionicsSystem.cs
VMSolidus May 15, 2024
83ea6ac
Almost got it, one last bug to squash
VMSolidus May 15, 2024
c569e2e
slightly more acccurate but still not quite right
VMSolidus May 15, 2024
851beba
Update PyrokinesisPowerSystem.cs
VMSolidus May 15, 2024
0597405
removing some errant instances of potentialpsionic
VMSolidus May 15, 2024
f96847f
Revert "removing some errant instances of potentialpsionic"
VMSolidus May 15, 2024
0e11da6
Final power update
VMSolidus May 15, 2024
d177e55
Update psionicPowers.yml
VMSolidus May 15, 2024
685fc5f
Update psionic.ftl
VMSolidus May 15, 2024
0d37ceb
some more small tweaks
VMSolidus May 15, 2024
324082a
Update PotentialPsionicComponent.cs
VMSolidus May 15, 2024
952b7e2
Update Content.Server/Psionics/Abilities/PsionicAbilitiesSystem.cs
VMSolidus May 15, 2024
1a1c62a
Update PsionicAbilitiesSystem.cs
VMSolidus May 15, 2024
d53708c
Merge branch 'Psionic-Power-Refactor' of https://github.com/VMSolidus…
VMSolidus May 15, 2024
e4f387d
remove downstream comments
VMSolidus May 15, 2024
f5bf4d5
Giving pyrokinesis back to ifrit, and setting up base caster stat bon…
VMSolidus May 15, 2024
626f2a5
Update familiars.yml
VMSolidus May 15, 2024
6cc4704
MORE
VMSolidus May 16, 2024
54ca8ce
Update AtmosphereSystem.HighPressureDelta.cs
VMSolidus May 16, 2024
7500efd
guh, last push
VMSolidus May 16, 2024
3440636
Merge branch 'Simple-Station:master' into Atmos-optimization-test
VMSolidus May 16, 2024
7470ba7
Fix for objects getting stuck on walls, new CVar for more expensive a…
VMSolidus May 16, 2024
b328725
Update animals.yml
VMSolidus May 16, 2024
f7e2f70
Fix tiny mobs boiling themselves to death
VMSolidus May 16, 2024
c591bc3
Merge branch 'master' into Psionic-Power-Refactor
VMSolidus May 28, 2024
d041011
1984'ing GlobalRollforward (#423)
VMSolidus May 28, 2024
7876728
Listening Post Earlier Start (#409)
VMSolidus May 28, 2024
68c8a5e
Automatic Changelog Update (#409)
SimpleStation14 May 28, 2024
4123236
Mirror: Add Prometheus stats for admin count (#323)
SimpleStation14 May 28, 2024
4567016
Merge branch 'master' into Psionic-Power-Refactor
VMSolidus May 28, 2024
16fa1ca
Walls/Windows Resprites! (#402)
FoxxoTrystan May 28, 2024
84163c9
Radio Resprites! (#404)
FoxxoTrystan May 29, 2024
53d221f
Merge branch 'master' into Atmos-optimization-test
VMSolidus May 29, 2024
068ee52
Automatic Changelog Update (#402)
SimpleStation14 May 29, 2024
08c8a73
Automatic Changelog Update (#404)
SimpleStation14 May 29, 2024
67df38e
Mirror: Change Syndie Monkey Price 8-6 TC (#243)
SimpleStation14 May 29, 2024
8629041
Mirror: Updated the TEG page (#260)
SimpleStation14 May 29, 2024
b7583b3
Mirror: Red Neck Gaiter (#214)
SimpleStation14 May 29, 2024
6657aea
Mirror: Add PVS command permissions (#207)
SimpleStation14 May 29, 2024
159ebe4
Mirror: fix admin verb to set unspawned ballisic ammo count (#375)
SimpleStation14 May 29, 2024
af3d935
Glorious Tools! (#407)
FoxxoTrystan May 29, 2024
470c75b
Mirror: new book - Tales of a Tired Janitor (#278)
SimpleStation14 May 29, 2024
c21bdce
Automatic Changelog Update (#407)
SimpleStation14 May 29, 2024
4fdfd6f
Add More Suggested VSCode Extensions (#414)
DEATHB4DEFEAT May 29, 2024
a22601c
Mirror: Obsolete `Logger` cleanup for `EntitySystem`s part 2 (#237)
SimpleStation14 May 29, 2024
a8242a3
Mirror: CargoConsoleMenu localization (#127)
SimpleStation14 May 29, 2024
9c08775
Updates spawners with new content (#86)
SimpleStation14 May 29, 2024
3584a4e
Update PsionicRegenerationPowerSystem.cs
VMSolidus May 29, 2024
15fc457
Merge branch 'VMSolidus-Psionic-Power-Refactor'
VMSolidus May 29, 2024
d439c5a
Revert "Merge branch 'VMSolidus-Psionic-Power-Refactor'"
VMSolidus May 29, 2024
3f44f9d
Update PsionicRegenerationPowerSystem.cs
VMSolidus May 29, 2024
0984fde
Merge branch 'master' into Psionic-Power-Refactor
VMSolidus May 29, 2024
462e91c
aaaaaaaaa
VMSolidus May 29, 2024
6fafc34
Merge branch 'Psionic-Power-Refactor' of https://github.com/VMSolidus…
VMSolidus May 29, 2024
c4db831
Update PsionicRegenerationPowerSystem.cs
VMSolidus May 29, 2024
cefe228
fun pvs fixes
VMSolidus May 29, 2024
8223dca
Mirror: Fixes store purchase events and adds support to raise a direc…
SimpleStation14 May 29, 2024
2affb3e
Mirror: Adds logging for refunds (#275)
SimpleStation14 May 29, 2024
28a7f19
Mirror: Fix artifact report guidebook info (#268)
SimpleStation14 May 29, 2024
2ca6be7
Mirror: More good looking inventory part 2.2 (instruments version) (#…
SimpleStation14 May 29, 2024
2bbf7ad
Mirror: Syringes that spawn with content start in inject mode (#129)
SimpleStation14 May 29, 2024
4e8c3ca
Mirror: Fix vox custom sprites (#186)
SimpleStation14 May 29, 2024
3b2a19d
Mirror: Code cleanup: Purge calls to obsolete EntityCoordinates metho…
SimpleStation14 May 29, 2024
eba2d1d
Merge branch 'master' into Atmos-optimization-test
VMSolidus May 29, 2024
a58b815
Mirror: Snore is a trait now (#299)
SimpleStation14 May 29, 2024
3bf69bf
Mirror: Sanitize "ig" (#298)
SimpleStation14 May 29, 2024
ef7f58f
Mirror: Fix placement mode on chairs (#183)
SimpleStation14 May 29, 2024
6ca11bd
Mirror: Fix mice steering (#134)
SimpleStation14 May 29, 2024
2fb4c5e
Mirror: Create DeviceNetworkJammerComponent & System as a general way…
SimpleStation14 May 29, 2024
3898d09
Mirror: Irish Coffee Recipe Tweak (#302)
SimpleStation14 May 29, 2024
75106b3
Mirror: Adds craftable ducky slippers (#261)
SimpleStation14 May 29, 2024
ec3986b
Mirror: Fix anomaly decay logs (#227)
SimpleStation14 May 29, 2024
4e8365c
Mirror: Use entity queries in ambient sound & power receiver systems …
SimpleStation14 May 29, 2024
5c2cff0
Mirror: Fix wire layout inheritance. (#284)
SimpleStation14 May 29, 2024
b61bdca
Mirror: Per-department wire layouts (#285)
SimpleStation14 May 29, 2024
23c0e98
Mirror: Run `fixgridatmos` for cargo & emergency shuttle (#361)
SimpleStation14 May 29, 2024
1b0a746
Merge upstream from EE
VMSolidus May 29, 2024
c3657a9
Merge branch 'master' into Merge-upstream-5-29-2024
VMSolidus May 29, 2024
bcc8e33
Update Submodule
VMSolidus May 29, 2024
bd35b92
Merge branch 'Merge-upstream-5-29-2024' of https://github.com/VMSolid…
VMSolidus May 29, 2024
c2f4c1c
changing IDs is bad but eh
VMSolidus May 29, 2024
84e4d10
Merge branch 'Simple-Station:master' into Psionic-Power-Refactor
VMSolidus May 29, 2024
e6fcde6
Psychic refactor
VMSolidus May 29, 2024
858fac4
Psychic refactor
VMSolidus May 29, 2024
eebe035
update supermatter
VMSolidus May 29, 2024
208656f
update space wind
VMSolidus May 29, 2024
369bf0a
Update research_director.yml
VMSolidus May 29, 2024
441c5db
Update DispelPowerSystem.cs
VMSolidus May 29, 2024
1da4c07
Update familiars.yml
VMSolidus May 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build-docfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
dotnet-version: 8.0.100

- name: Install dependencies
run: dotnet restore
Expand Down
8 changes: 7 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"recommendations": [
"ms-dotnettools.csharp",
"editorconfig.editorconfig"
"editorconfig.editorconfig",
"aaron-bond.better-comments",
"tamasfe.even-better-toml",
"slava0135.robust-yaml",
"slevesque.shader",
"macabeus.vscode-fluent",
"redhat.vscode-yaml"
]
}
2 changes: 2 additions & 0 deletions Content.Client/Atmos/Overlays/AtmosDebugOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ private void DrawTooltip(DrawingHandleScreen handle, Vector2 pos, AtmosDebugOver
handle.DrawString(_font, pos, $"Map: {data.MapAtmosphere}");
pos += offset;
handle.DrawString(_font, pos, $"NoGrid: {data.NoGrid}");
pos += offset;
handle.DrawString(_font, pos, $"Immutable: {data.Immutable}");
}

private void GetGrids(MapId mapId, Box2Rotated box)
Expand Down
5 changes: 3 additions & 2 deletions Content.Client/CardboardBox/CardboardBoxSystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Numerics;
using System.Numerics;
using Content.Shared.CardboardBox;
using Content.Shared.CardboardBox.Components;
using Content.Shared.Examine;
Expand All @@ -11,6 +11,7 @@ public sealed class CardboardBoxSystem : SharedCardboardBoxSystem
{
[Dependency] private readonly EntityLookupSystem _entityLookup = default!;
[Dependency] private readonly TransformSystem _transform = default!;
[Dependency] private readonly ExamineSystemShared _examine = default!;

public override void Initialize()
{
Expand Down Expand Up @@ -55,7 +56,7 @@ private void OnBoxEffect(PlayBoxEffectMessage msg)
foreach (var mob in mobMoverEntities)
{
var mapPos = _transform.GetMapCoordinates(mob);
if (!ExamineSystemShared.InRangeUnOccluded(sourcePos, mapPos, box.Distance, null))
if (!_examine.InRangeUnOccluded(sourcePos, mapPos, box.Distance, null))
continue;

var ent = Spawn(box.Effect, mapPos);
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Cargo/UI/CargoConsoleMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void PopulateProducts()
if (search.Length == 0 && _category == null ||
search.Length != 0 && prototype.Name.ToLowerInvariant().Contains(search) ||
search.Length != 0 && prototype.Description.ToLowerInvariant().Contains(search) ||
search.Length == 0 && _category != null && prototype.Category.Equals(_category))
search.Length == 0 && _category != null && Loc.GetString(prototype.Category).Equals(_category))
{
var button = new CargoProductRow
{
Expand Down Expand Up @@ -122,7 +122,7 @@ public void PopulateCategories()

foreach (var prototype in ProductPrototypes)
{
if (!_categoryStrings.Contains(prototype.Category))
if (!_categoryStrings.Contains(Loc.GetString(prototype.Category)))
{
_categoryStrings.Add(Loc.GetString(prototype.Category));
}
Expand Down
3 changes: 2 additions & 1 deletion Content.Client/Construction/ConstructionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public sealed class ConstructionSystem : SharedConstructionSystem
[Dependency] private readonly IPlayerManager _playerManager = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly SharedInteractionSystem _interactionSystem = default!;
[Dependency] private readonly SharedTransformSystem _transformSystem = default!;
[Dependency] private readonly PopupSystem _popupSystem = default!;

private readonly Dictionary<int, EntityUid> _ghosts = new();
Expand Down Expand Up @@ -195,7 +196,7 @@ public bool TrySpawnGhost(
return false;

// This InRangeUnobstructed should probably be replaced with "is there something blocking us in that tile?"
var predicate = GetPredicate(prototype.CanBuildInImpassable, loc.ToMap(EntityManager));
var predicate = GetPredicate(prototype.CanBuildInImpassable, loc.ToMap(EntityManager, _transformSystem));
if (!_interactionSystem.InRangeUnobstructed(user, loc, 20f, predicate: predicate))
return false;

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/ContextMenu/UI/EntityMenuUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private bool HandleOpenEntityMenu(in PointerInputCmdHandler.PointerInputCmdArgs
if (_combatMode.IsInCombatMode(args.Session?.AttachedEntity))
return false;

var coords = args.Coordinates.ToMap(_entityManager);
var coords = args.Coordinates.ToMap(_entityManager, _xform);

if (_verbSystem.TryGetEntityMenuEntities(coords, out var entities))
OpenRootMenu(entities);
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Gameplay/GameplayStateBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private bool HandleInspect(ICommonSession? session, EntityCoordinates coords, En

public IEnumerable<EntityUid> GetClickableEntities(EntityCoordinates coordinates)
{
return GetClickableEntities(coordinates.ToMap(_entityManager));
return GetClickableEntities(coordinates.ToMap(_entityManager, _entitySystemManager.GetEntitySystem<SharedTransformSystem>()));
}

public IEnumerable<EntityUid> GetClickableEntities(MapCoordinates coordinates)
Expand Down
10 changes: 7 additions & 3 deletions Content.Client/NPC/PathfindingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public sealed class PathfindingSystem : SharedPathfindingSystem
[Dependency] private readonly IResourceCache _cache = default!;
[Dependency] private readonly NPCSteeringSystem _steering = default!;
[Dependency] private readonly MapSystem _mapSystem = default!;
[Dependency] private readonly SharedTransformSystem _transformSystem = default!;

public PathfindingDebugMode Modes
{
Expand All @@ -39,7 +40,7 @@ public PathfindingDebugMode Modes
}
else if (!overlayManager.HasOverlay<PathfindingOverlay>())
{
overlayManager.AddOverlay(new PathfindingOverlay(EntityManager, _eyeManager, _inputManager, _mapManager, _cache, this, _mapSystem));
overlayManager.AddOverlay(new PathfindingOverlay(EntityManager, _eyeManager, _inputManager, _mapManager, _cache, this, _mapSystem, _transformSystem));
}

if ((value & PathfindingDebugMode.Steering) != 0x0)
Expand Down Expand Up @@ -140,6 +141,7 @@ public sealed class PathfindingOverlay : Overlay
private readonly IMapManager _mapManager;
private readonly PathfindingSystem _system;
private readonly MapSystem _mapSystem;
private readonly SharedTransformSystem _transformSystem;

public override OverlaySpace Space => OverlaySpace.ScreenSpace | OverlaySpace.WorldSpace;

Expand All @@ -153,14 +155,16 @@ public PathfindingOverlay(
IMapManager mapManager,
IResourceCache cache,
PathfindingSystem system,
MapSystem mapSystem)
MapSystem mapSystem,
SharedTransformSystem transformSystem)
{
_entManager = entManager;
_eyeManager = eyeManager;
_inputManager = inputManager;
_mapManager = mapManager;
_system = system;
_mapSystem = mapSystem;
_transformSystem = transformSystem;
_font = new VectorFont(cache.GetResource<FontResource>("/Fonts/NotoSans/NotoSans-Regular.ttf"), 10);
}

Expand Down Expand Up @@ -480,7 +484,7 @@ private void DrawWorld(OverlayDrawArgs args, DrawingHandleWorld worldHandle)
if (neighborPoly.NetEntity != poly.GraphUid)
{
color = Color.Green;
var neighborMap = _entManager.GetCoordinates(neighborPoly).ToMap(_entManager);
var neighborMap = _entManager.GetCoordinates(neighborPoly).ToMap(_entManager, _transformSystem);

if (neighborMap.MapId != args.MapId)
continue;
Expand Down
11 changes: 8 additions & 3 deletions Content.Client/Popups/PopupOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public sealed class PopupOverlay : Overlay
private readonly IUserInterfaceManager _uiManager;
private readonly PopupSystem _popup;
private readonly PopupUIController _controller;

private readonly ExamineSystemShared _examine;
private readonly SharedTransformSystem _transform;
private readonly ShaderInstance _shader;

public override OverlaySpace Space => OverlaySpace.ScreenSpace;
Expand All @@ -33,12 +34,16 @@ public PopupOverlay(
IPrototypeManager protoManager,
IUserInterfaceManager uiManager,
PopupUIController controller,
ExamineSystemShared examine,
SharedTransformSystem transform,
PopupSystem popup)
{
_configManager = configManager;
_entManager = entManager;
_playerMgr = playerMgr;
_uiManager = uiManager;
_examine = examine;
_transform = transform;
_popup = popup;
_controller = controller;

Expand Down Expand Up @@ -73,15 +78,15 @@ private void DrawWorld(DrawingHandleScreen worldHandle, OverlayDrawArgs args, fl

foreach (var popup in _popup.WorldLabels)
{
var mapPos = popup.InitialPos.ToMap(_entManager);
var mapPos = popup.InitialPos.ToMap(_entManager, _transform);

if (mapPos.MapId != args.MapId)
continue;

var distance = (mapPos.Position - args.WorldBounds.Center).Length();

// Should handle fade here too wyci.
if (!args.WorldBounds.Contains(mapPos.Position) || !ExamineSystemShared.InRangeUnOccluded(viewPos, mapPos, distance,
if (!args.WorldBounds.Contains(mapPos.Position) || !_examine.InRangeUnOccluded(viewPos, mapPos, distance,
e => e == popup.InitialPos.EntityId || e == ourEntity, entMan: _entManager))
continue;

Expand Down
5 changes: 5 additions & 0 deletions Content.Client/Popups/PopupSystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Linq;
using Content.Shared.Examine;
using Content.Shared.GameTicking;
using Content.Shared.Popups;
using Robust.Client.Graphics;
Expand Down Expand Up @@ -26,6 +27,8 @@ public sealed class PopupSystem : SharedPopupSystem
[Dependency] private readonly IGameTiming _timing = default!;
[Dependency] private readonly IUserInterfaceManager _uiManager = default!;
[Dependency] private readonly IReplayRecordingManager _replayRecording = default!;
[Dependency] private readonly ExamineSystemShared _examine = default!;
[Dependency] private readonly SharedTransformSystem _transform = default!;

public IReadOnlyList<WorldPopupLabel> WorldLabels => _aliveWorldLabels;
public IReadOnlyList<CursorPopupLabel> CursorLabels => _aliveCursorLabels;
Expand All @@ -51,6 +54,8 @@ public override void Initialize()
_prototype,
_uiManager,
_uiManager.GetUIController<PopupUIController>(),
_examine,
_transform,
this));
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
using Robust.Client.GameObjects;
using Robust.Client.UserInterface;
using Content.Client.Psionics.UI;
using Content.Client.UserInterface.Fragments;
using Content.Shared.CartridgeLoader.Cartridges;
using Content.Shared.CartridgeLoader;

namespace Content.Client.Nyanotrasen.CartridgeLoader.Cartridges;
namespace Content.Client.Psionics.GlimmerMonitor;

public sealed partial class GlimmerMonitorUi : UIFragment
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<cartridges:GlimmerMonitorUiFragment xmlns:cartridges="clr-namespace:Content.Client.Nyanotrasen.CartridgeLoader.Cartridges"
<cartridges:GlimmerMonitorUiFragment xmlns:cartridges="clr-namespace:Content.Client.Psionics.GlimmerMonitor"
xmlns="https://spacestation14.io" Margin="1 0 2 0">
<PanelContainer StyleClasses="BackgroundDark"></PanelContainer>
<BoxContainer Name="SettingsBox" Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="False">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System.Linq;
using System.Numerics;
using Content.Client.Nyanotrasen.UserInterface;
using Content.Client.Psionics.UI;
using Robust.Client.AutoGenerated;
using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;

namespace Content.Client.Nyanotrasen.CartridgeLoader.Cartridges;
namespace Content.Client.Psionics.GlimmerMonitor;

[GenerateTypedNameReferences]
public sealed partial class GlimmerMonitorUiFragment : BoxContainer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Content.Shared.Abilities.Psionics;
using Content.Shared.Psionics.Abilities;
using Content.Client.Chat.Managers;
using Robust.Client.Player;

namespace Content.Client.Nyanotrasen.Chat
namespace Content.Client.Psionics.Chat
{
public sealed class PsionicChatUpdateSystem : EntitySystem
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Robust.Client.ResourceManagement;
using Robust.Client.UserInterface;

namespace Content.Client.Nyanotrasen.UserInterface;
namespace Content.Client.Psionics.UI;

public sealed class GlimmerGraph : Control
{
Expand Down
5 changes: 4 additions & 1 deletion Content.Client/Radiation/Overlays/RadiationPulseOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ private void RadiationQuery(IEye? currentEye)

private bool PulseQualifies(EntityUid pulseEntity, MapCoordinates currentEyeLoc)
{
return _entityManager.GetComponent<TransformComponent>(pulseEntity).MapID == currentEyeLoc.MapId && _entityManager.GetComponent<TransformComponent>(pulseEntity).Coordinates.InRange(_entityManager, EntityCoordinates.FromMap(_entityManager, _entityManager.GetComponent<TransformComponent>(pulseEntity).ParentUid, currentEyeLoc), MaxDist);
var transformComponent = _entityManager.GetComponent<TransformComponent>(pulseEntity);
var transformSystem = _entityManager.System<SharedTransformSystem>();
return transformComponent.MapID == currentEyeLoc.MapId
&& transformComponent.Coordinates.InRange(_entityManager, transformSystem, EntityCoordinates.FromMap(transformComponent.ParentUid, currentEyeLoc, transformSystem, _entityManager), MaxDist);
}

private sealed record RadiationShaderInstance(MapCoordinates CurrentMapCoords, float Range, TimeSpan Start, float Duration)
Expand Down
3 changes: 2 additions & 1 deletion Content.Client/Sandbox/SandboxSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public sealed class SandboxSystem : SharedSandboxSystem
[Dependency] private readonly IMapManager _map = default!;
[Dependency] private readonly IPlacementManager _placement = default!;
[Dependency] private readonly ContentEyeSystem _contentEye = default!;
[Dependency] private readonly SharedTransformSystem _transform = default!;

private bool _sandboxEnabled;
public bool SandboxAllowed { get; private set; }
Expand Down Expand Up @@ -108,7 +109,7 @@ public bool Copy(ICommonSession? session, EntityCoordinates coords, EntityUid ui
}

// Try copy tile.
if (!_map.TryFindGridAt(coords.ToMap(EntityManager), out _, out var grid) || !grid.TryGetTileRef(coords, out var tileRef))
if (!_map.TryFindGridAt(coords.ToMap(EntityManager, _transform), out _, out var grid) || !grid.TryGetTileRef(coords, out var tileRef))
return false;

if (_placement.Eraser)
Expand Down
11 changes: 5 additions & 6 deletions Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using Content.Shared.Examine;
using Content.Shared.Input;
using Content.Shared.Radio;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Input;
using Robust.Client.Player;
Expand All @@ -37,7 +36,7 @@
using Robust.Shared.Replays;
using Robust.Shared.Timing;
using Robust.Shared.Utility;
using Content.Client.Nyanotrasen.Chat; //Nyano - Summary: chat namespace.
using Content.Client.Psionics.Chat;

namespace Content.Client.UserInterface.Systems.Chat;

Expand All @@ -61,7 +60,7 @@ public sealed class ChatUIController : UIController
[UISystemDependency] private readonly GhostSystem? _ghost = default;
[UISystemDependency] private readonly TypingIndicatorSystem? _typingIndicator = default;
[UISystemDependency] private readonly ChatSystem? _chatSys = default;
[UISystemDependency] private readonly PsionicChatUpdateSystem? _psionic = default!; //Nyano - Summary: makes the psionic chat available.
[UISystemDependency] private readonly PsionicChatUpdateSystem? _psionic = default!; //EE - Summary: makes the psionic chat available.

[ValidatePrototypeId<ColorPalettePrototype>]
private const string ChatNamePalette = "ChatNames";
Expand All @@ -82,7 +81,7 @@ public sealed class ChatUIController : UIController
{SharedChatSystem.AdminPrefix, ChatSelectChannel.Admin},
{SharedChatSystem.RadioCommonPrefix, ChatSelectChannel.Radio},
{SharedChatSystem.DeadPrefix, ChatSelectChannel.Dead},
{SharedChatSystem.TelepathicPrefix, ChatSelectChannel.Telepathic} //Nyano - Summary: adds the telepathic prefix =.
{SharedChatSystem.TelepathicPrefix, ChatSelectChannel.Telepathic} //EE - Summary: adds the telepathic prefix =.
};

public static readonly Dictionary<ChatSelectChannel, char> ChannelPrefixes = new()
Expand All @@ -96,7 +95,7 @@ public sealed class ChatUIController : UIController
{ChatSelectChannel.Admin, SharedChatSystem.AdminPrefix},
{ChatSelectChannel.Radio, SharedChatSystem.RadioCommonPrefix},
{ChatSelectChannel.Dead, SharedChatSystem.DeadPrefix},
{ChatSelectChannel.Telepathic, SharedChatSystem.TelepathicPrefix } //Nyano - Summary: associates telepathic with =.
{ChatSelectChannel.Telepathic, SharedChatSystem.TelepathicPrefix } //EE - Summary: associates telepathic with =.
};

/// <summary>
Expand Down Expand Up @@ -627,7 +626,7 @@ private void UpdateQueuedSpeechBubbles(FrameEventArgs delta)

var otherPos = EntityManager.GetComponent<TransformComponent>(ent).MapPosition;

if (occluded && !ExamineSystemShared.InRangeUnOccluded(
if (occluded && !_examine.InRangeUnOccluded(
playerPos,
otherPos, 0f,
(ent, player), predicate))
Expand Down
Loading
Loading