Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit 5968534

Browse files
Merge branch 'feintstation' of https://github.com/arenaconspiracy/ronstation into feintstation
2 parents fc028a9 + 1e8d12f commit 5968534

1,777 files changed

Lines changed: 31547 additions & 76921 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-docfx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: dotnet restore
2828

2929
- name: Build Project
30-
run: dotnet build --no-restore /p:WarningsAsErrors=nullable
30+
run: dotnet build --no-restore
3131

3232
- name: Build DocFX
3333
uses: nikeee/docfx-action@v1.0.0

.github/workflows/build-map-renderer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: dotnet restore
4343

4444
- name: Build Project
45-
run: dotnet build Content.MapRenderer --configuration Release --no-restore /p:WarningsAsErrors=nullable /m
45+
run: dotnet build Content.MapRenderer --configuration Release --no-restore /m
4646

4747
- name: Run Map Renderer
4848
run: dotnet run --project Content.MapRenderer Dev

.github/workflows/build-test-debug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: dotnet restore
4343

4444
- name: Build Project
45-
run: dotnet build --configuration DebugOpt --no-restore /p:WarningsAsErrors=nullable /m
45+
run: dotnet build --configuration DebugOpt --no-restore /m
4646

4747
- name: Run Content.Tests
4848
run: dotnet test --no-build --configuration DebugOpt Content.Tests/Content.Tests.csproj -- NUnit.ConsoleOut=0

.github/workflows/labeler-needsreview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
on:
44
pull_request_target:
5-
types: [review_requested]
5+
types: [review_requested, opened]
66

77
jobs:
88
add_label:

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17+
- name: Fail if we are attempting to run on the master branch
18+
if: ${{GITHUB.REF_NAME == 'master' && github.repository == 'space-wizards/space-station-14'}}
19+
run: exit 1
20+
1721
- name: Install dependencies
1822
run: sudo apt-get install -y python3-paramiko python3-lxml
1923

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you believe someone is violating the code of conduct, we ask that you report
2727

2828
Original text courtesy of the [Speak Up! project](http://web.archive.org/web/20141109123859/http://speakup.io/coc.html).
2929

30-
## On Comunity Moderation
30+
## On Community Moderation
3131

3232
Deviating from the Code of Conduct on the Github repository may result in moderative actions taken by project Maintainers. This can involve your content being edited or deleted, and may result in a temporary or permanent block from the repository.
3333

Content.Benchmarks/MapLoadBenchmark.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Modified by Ronstation contributor(s), therefore this file is licensed as MIT sublicensed with AGPL-v3.0.
12
using System;
23
using System.Collections.Generic;
34
using System.Linq;
@@ -47,8 +48,7 @@ public async Task Cleanup()
4748
PoolManager.Shutdown();
4849
}
4950

50-
public static readonly string[] MapsSource = { "Empty", "Saltern", "Box", "Bagel", "Dev", "CentComm", "Core", "TestTeg", "Packed", "Omega", "Reach", "Meta", "Marathon", "MeteorArena", "Fland", "Oasis", "Convex", "Saltern2", "Cluster2", "Atlas2", "Feint"};
51-
51+
public static readonly string[] MapsSource = { "Empty", "Saltern", "Box", "Bagel", "Dev", "CentComm", "Core", "TestTeg", "Packed", "Omega", "Reach", "Meta", "Marathon", "MeteorArena", "Fland", "Oasis", "Convex", "Saltern2", "Cluster2", "Atlas2", "Feint"}; // Ronstation edit - Saltern2, Cluster2, Atlas2, Feint
5252
[ParamsSource(nameof(MapsSource))]
5353
public string Map;
5454

Content.Benchmarks/SpawnEquipDeleteBenchmark.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Robust.Shared.Analyzers;
99
using Robust.Shared.GameObjects;
1010
using Robust.Shared.Map;
11+
using Robust.Shared.Prototypes;
1112

1213
namespace Content.Benchmarks;
1314

@@ -18,9 +19,11 @@ namespace Content.Benchmarks;
1819
[Virtual, MemoryDiagnoser]
1920
public class SpawnEquipDeleteBenchmark
2021
{
22+
private static readonly EntProtoId Mob = "MobHuman";
23+
private static readonly ProtoId<StartingGearPrototype> CaptainStartingGear = "CaptainGear";
24+
2125
private TestPair _pair = default!;
2226
private StationSpawningSystem _spawnSys = default!;
23-
private const string Mob = "MobHuman";
2427
private StartingGearPrototype _gear = default!;
2528
private EntityUid _entity;
2629
private EntityCoordinates _coords;
@@ -39,7 +42,7 @@ public async Task SetupAsync()
3942
var mapData = await _pair.CreateTestMap();
4043
_coords = mapData.GridCoords;
4144
_spawnSys = server.System<StationSpawningSystem>();
42-
_gear = server.ProtoMan.Index<StartingGearPrototype>("CaptainGear");
45+
_gear = server.ProtoMan.Index(CaptainStartingGear);
4346
}
4447

4548
[GlobalCleanup]

Content.Client/Access/UI/GroupedAccessLevelChecklist.xaml.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ namespace Content.Client.Access.UI;
1515
[GenerateTypedNameReferences]
1616
public sealed partial class GroupedAccessLevelChecklist : BoxContainer
1717
{
18+
private static readonly ProtoId<AccessGroupPrototype> GeneralAccessGroup = "General";
19+
1820
[Dependency] private readonly IPrototypeManager _protoManager = default!;
1921

2022
private bool _isMonotone;
@@ -63,7 +65,7 @@ private void ArrangeAccessControls()
6365

6466
// Ensure that the 'general' access group is added to handle
6567
// misc. access levels that aren't associated with any group
66-
if (_protoManager.TryIndex<AccessGroupPrototype>("General", out var generalAccessProto))
68+
if (_protoManager.TryIndex(GeneralAccessGroup, out var generalAccessProto))
6769
_groupedAccessLevels.TryAdd(generalAccessProto, new());
6870

6971
// Assign known access levels with their associated groups

Content.Client/Actions/ActionsSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public void TriggerAction(Entity<ActionComponent> action)
211211
else
212212
{
213213
var request = new RequestPerformActionEvent(GetNetEntity(action));
214-
EntityManager.RaisePredictiveEvent(request);
214+
RaisePredictiveEvent(request);
215215
}
216216
}
217217

0 commit comments

Comments
 (0)