Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ac5a9da
Added Binoculars to Salvage Table
LukeZurg22 Nov 11, 2025
cb9d48b
Added Fentanyl to Punk Loot Table
LukeZurg22 Nov 11, 2025
c86475a
Added Fent to Zombie Loot Table
LukeZurg22 Nov 11, 2025
3a6959d
Added "Morsmorde" by Crazy Donkey to Jukebox (borrow screws from your…
LukeZurg22 Nov 11, 2025
c056a27
Added 0.01u Romerol to Rotten Meat
LukeZurg22 Nov 11, 2025
368847d
Added new Necropporozidonosol Recipe `3 Left4Zed, 2 Romerol (grind ro…
LukeZurg22 Nov 11, 2025
92e8c25
Added MedMeson Combination Medical-Hud and Meson Goggles Wearable Hea…
LukeZurg22 Nov 11, 2025
903aefa
Buffed Ion-Plasma Cell Charge In Return For Being Unable to Be Recharged
LukeZurg22 Nov 11, 2025
ecab0ee
Added New Expedition & Jukebox Music Entry (Planet X Marks the Spot)
LukeZurg22 Nov 11, 2025
2e4d879
Added Expedition Track "The Devil You Know (Instrumental) by Blues Sa…
LukeZurg22 Nov 11, 2025
6252fff
Added Resident Evil 2 OST - Front Police Hall to Jukebox
LukeZurg22 Nov 11, 2025
17beca2
Moved Guidebook References to Null
LukeZurg22 Nov 11, 2025
885a9ad
Added Null Sector Guidebook (Currently Unused)
LukeZurg22 Nov 11, 2025
164bc34
Added The Devil You Know Expedition Track to Lobby Music
LukeZurg22 Nov 11, 2025
972de83
Tuned Impenetrable Blast Doors to be Unhackable
LukeZurg22 Nov 11, 2025
538a982
Fixed Missing or Changed Prototypes for lark_relay.yml and mysterious…
LukeZurg22 Nov 11, 2025
e5c9ba2
Set Strange Signal suffix to [DANGER]
LukeZurg22 Nov 11, 2025
066c28c
Added Pressure Plate (Unused)
LukeZurg22 Nov 12, 2025
680a376
Updated DEV_RESEARCH_GRAPH.pdn
LukeZurg22 Nov 14, 2025
2817844
Corrected damaged_ai.yml Commentation
LukeZurg22 Nov 14, 2025
bcea07a
Added Non-Infectious Zombies
LukeZurg22 Nov 14, 2025
7a94838
Tuned tiny fans (nondirectional) to be Anchorable, Pullable, Destruct…
LukeZurg22 Nov 14, 2025
999b1d3
Tune Craftable atmos_fans.yml to Cost 100 Steel
LukeZurg22 Nov 14, 2025
dd8e991
Ported Wizden Spider Web System
TheShuEd Jun 17, 2025
4ff24b9
- Ported (Partially) Wizden Turf System Update [Wizden]
LukeZurg22 Nov 14, 2025
5421d2f
Moving Decal Definitions
LukeZurg22 Nov 14, 2025
7675947
Finished Adding Searchable Letter Decals
LukeZurg22 Nov 14, 2025
fc097b7
Fixed Intro in Guidebook
LukeZurg22 Nov 14, 2025
c915456
Added Null Guidebook to Contractor Loadout
LukeZurg22 Nov 14, 2025
f3e5d2f
Partially-Ported Server Profile Optimizations
LukeZurg22 Nov 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
2 changes: 1 addition & 1 deletion Content.Client/Mapping/MappingState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ private bool HandlePick(ICommonSession? session, EntityCoordinates coords, Entit

if (_mapMan.TryFindGridAt(mapPos, out var gridUid, out var grid) &&
_entityManager.System<SharedMapSystem>().TryGetTileRef(gridUid, grid, coords, out var tileRef) &&
_allPrototypesDict.TryGetValue(tileRef.GetContentTileDefinition(), out button))
_allPrototypesDict.TryGetValue(_entityManager.System<TurfSystem>().GetContentTileDefinition(tileRef), out button))
{
OnSelected(button);
return true;
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Abilities/Mime/MimePowersSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using Content.Shared.Maps;
using Content.Shared.Paper;
using Content.Shared.Physics;
using Content.Shared.Speech.Muting;
using Robust.Shared.Containers;
using Robust.Shared.Map;
using Robust.Shared.Timing;
using Content.Shared.Speech.Muting;

namespace Content.Server.Abilities.Mime
{
Expand Down Expand Up @@ -82,7 +82,7 @@ private void OnInvisibleWall(EntityUid uid, MimePowersComponent component, Invis
// Get the tile in front of the mime
var offsetValue = xform.LocalRotation.ToWorldVec();
var coords = xform.Coordinates.Offset(offsetValue).SnapToGrid(EntityManager, _mapMan);
var tile = coords.GetTileRef(EntityManager, _mapMan);
var tile = _turf.GetTileRef(coords);
if (tile == null)
return;

Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Administration/Commands/VariantizeCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace Content.Server.Administration.Commands;
public sealed class VariantizeCommand : IConsoleCommand
{
[Dependency] private readonly IEntityManager _entManager = default!;
[Dependency] private readonly ITileDefinitionManager _tileDefManager = default!;

public string Command => "variantize";

Expand Down Expand Up @@ -40,10 +39,11 @@ public void Execute(IConsoleShell shell, string argStr, string[] args)

var mapsSystem = _entManager.System<SharedMapSystem>();
var tileSystem = _entManager.System<TileSystem>();
var turfSystem = _entManager.System<TurfSystem>();

foreach (var tile in mapsSystem.GetAllTiles(euid.Value, gridComp))
{
var def = tile.GetContentTileDefinition(_tileDefManager);
var def = turfSystem.GetContentTileDefinition(tile);
var newTile = new Tile(tile.Tile.TypeId, tile.Tile.Flags, tileSystem.PickVariant(def));
mapsSystem.SetTile(euid.Value, gridComp, tile.GridIndices, newTile);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public sealed partial class AtmosAlarmableComponent : Component
public HashSet<string> SyncWithTags { get; private set; } = new();

[DataField("monitorAlertTypes")]
public HashSet<AtmosMonitorThresholdType>? MonitorAlertTypes { get; private set; }
public AtmosMonitorThresholdTypeFlags MonitorAlertTypes { get; private set; }

/// <summary>
/// If this device should receive only. If it can only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public sealed partial class AtmosMonitorComponent : Component
public AtmosAlarmType LastAlarmState = AtmosAlarmType.Normal;

[DataField("trippedThresholds")]
public HashSet<AtmosMonitorThresholdType> TrippedThresholds = new();
public AtmosMonitorThresholdTypeFlags TrippedThresholds;

/// <summary>
/// Registered devices in this atmos monitor. Alerts will be sent directly
Expand Down
6 changes: 2 additions & 4 deletions Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Content.Server.DeviceNetwork;
using Content.Server.DeviceNetwork.Components;
using Content.Server.DeviceNetwork.Systems;
using Content.Server.Power.Components;
using Content.Shared.Atmos.Monitor;
using Content.Shared.DeviceNetwork;
using Content.Shared.Power;
Expand All @@ -13,7 +12,6 @@
using Robust.Server.GameObjects;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;

namespace Content.Server.Atmos.Monitor.Systems;

Expand Down Expand Up @@ -110,9 +108,9 @@ private void OnPacketRecv(EntityUid uid, AtmosAlarmableComponent component, Devi
break;
}

if (args.Data.TryGetValue(AlertTypes, out HashSet<AtmosMonitorThresholdType>? types) && component.MonitorAlertTypes != null)
if (args.Data.TryGetValue(AlertTypes, out AtmosMonitorThresholdTypeFlags types) && component.MonitorAlertTypes != AtmosMonitorThresholdTypeFlags.None)
{
isValid = types.Any(type => component.MonitorAlertTypes.Contains(type));
isValid = (types & component.MonitorAlertTypes) != 0;
}

if (!component.NetworkAlarmStates.ContainsKey(args.SenderAddress))
Expand Down
23 changes: 11 additions & 12 deletions Content.Server/Atmos/Monitor/Systems/AtmosMonitoringSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Content.Server.Atmos.Piping.EntitySystems;
using Content.Server.DeviceNetwork;
using Content.Server.DeviceNetwork.Systems;
using Content.Server.NodeContainer;
using Content.Server.NodeContainer.EntitySystems;
using Content.Server.NodeContainer.Nodes;
using Content.Server.Power.Components;
Expand Down Expand Up @@ -206,7 +205,7 @@ private void OnFireEvent(EntityUid uid, AtmosMonitorComponent component, ref Til
if (component.MonitorFire
&& component.LastAlarmState != AtmosAlarmType.Danger)
{
component.TrippedThresholds.Add(AtmosMonitorThresholdType.Temperature);
component.TrippedThresholds |= AtmosMonitorThresholdTypeFlags.Temperature;
Alert(uid, AtmosAlarmType.Danger, null, component); // technically???
}

Expand All @@ -217,7 +216,7 @@ private void OnFireEvent(EntityUid uid, AtmosMonitorComponent component, ref Til
&& component.TemperatureThreshold.CheckThreshold(args.Temperature, out var temperatureState)
&& temperatureState > component.LastAlarmState)
{
component.TrippedThresholds.Add(AtmosMonitorThresholdType.Temperature);
component.TrippedThresholds |= AtmosMonitorThresholdTypeFlags.Temperature;
Alert(uid, AtmosAlarmType.Danger, null, component);
}
}
Expand Down Expand Up @@ -258,19 +257,19 @@ private void UpdateState(EntityUid uid, GasMixture? air, AtmosMonitorComponent?
if (!Resolve(uid, ref monitor)) return;

var state = AtmosAlarmType.Normal;
HashSet<AtmosMonitorThresholdType> alarmTypes = new(monitor.TrippedThresholds);
var alarmTypes = monitor.TrippedThresholds;

if (monitor.TemperatureThreshold != null
&& monitor.TemperatureThreshold.CheckThreshold(air.Temperature, out var temperatureState))
{
if (temperatureState > state)
{
state = temperatureState;
alarmTypes.Add(AtmosMonitorThresholdType.Temperature);
alarmTypes |= AtmosMonitorThresholdTypeFlags.Temperature;
}
else if (temperatureState == AtmosAlarmType.Normal)
{
alarmTypes.Remove(AtmosMonitorThresholdType.Temperature);
alarmTypes &= ~AtmosMonitorThresholdTypeFlags.Temperature;
}
}

Expand All @@ -281,11 +280,11 @@ private void UpdateState(EntityUid uid, GasMixture? air, AtmosMonitorComponent?
if (pressureState > state)
{
state = pressureState;
alarmTypes.Add(AtmosMonitorThresholdType.Pressure);
alarmTypes |= AtmosMonitorThresholdTypeFlags.Pressure;
}
else if (pressureState == AtmosAlarmType.Normal)
{
alarmTypes.Remove(AtmosMonitorThresholdType.Pressure);
alarmTypes &= ~AtmosMonitorThresholdTypeFlags.Pressure;
}
}

Expand All @@ -305,17 +304,17 @@ private void UpdateState(EntityUid uid, GasMixture? air, AtmosMonitorComponent?

if (tripped)
{
alarmTypes.Add(AtmosMonitorThresholdType.Gas);
alarmTypes |= AtmosMonitorThresholdTypeFlags.Gas;
}
else
{
alarmTypes.Remove(AtmosMonitorThresholdType.Gas);
alarmTypes &= ~AtmosMonitorThresholdTypeFlags.Gas;
}
}

// if the state of the current air doesn't match the last alarm state,
// we update the state
if (state != monitor.LastAlarmState || !alarmTypes.SetEquals(monitor.TrippedThresholds))
if (state != monitor.LastAlarmState || alarmTypes != monitor.TrippedThresholds)
{
Alert(uid, state, alarmTypes, monitor);
}
Expand All @@ -326,7 +325,7 @@ private void UpdateState(EntityUid uid, GasMixture? air, AtmosMonitorComponent?
/// </summary>
/// <param name="state">The alarm state to set this monitor to.</param>
/// <param name="alarms">The alarms that caused this alarm state.</param>
public void Alert(EntityUid uid, AtmosAlarmType state, HashSet<AtmosMonitorThresholdType>? alarms = null, AtmosMonitorComponent? monitor = null)
public void Alert(EntityUid uid, AtmosAlarmType state, AtmosMonitorThresholdTypeFlags? alarms = null, AtmosMonitorComponent? monitor = null)
{
if (!Resolve(uid, ref monitor))
return;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Audio/ContentAudioSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Content.Server.Audio;
public sealed class ContentAudioSystem : SharedContentAudioSystem
{
[ValidatePrototypeId<SoundCollectionPrototype>]
private const string LobbyMusicCollection = "MonoLobbyMusic"; // Mono
private const string LobbyMusicCollection = "NullLobbyMusic"; // Null Sector

[Dependency] private readonly AudioSystem _serverAudio = default!;
[Dependency] private readonly IRobustRandom _robustRandom = default!;
Expand Down
Loading
Loading