Skip to content

Commit

Permalink
the great rename (Goob-Station#689)
Browse files Browse the repository at this point in the history
* the great rename

* namespace ig due to shitcode

* __Goob fix

* another one
  • Loading branch information
Piras314 authored Sep 25, 2024
1 parent b0eb149 commit 4ba2c0d
Show file tree
Hide file tree
Showing 2,174 changed files with 690 additions and 671 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
using Content.Client.Goobstation.UserInterface.Systems.Ghost.Controls;
using Content.Client._Goobstation.UserInterface.Systems.Ghost.Controls;

namespace Content.Client.UserInterface.Systems.Ghost.Widgets;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Content.Shared.Goobstation.ChronoLegionnaire.Components;
using Content.Shared._Goobstation.ChronoLegionnaire.Components;
using Robust.Client.Graphics;
using Robust.Client.Player;
using Robust.Shared.Enums;
using Robust.Shared.Prototypes;

namespace Content.Client.Goobstation.ChronoLegionnaire;
namespace Content.Client._Goobstation.ChronoLegionnaire;

public sealed class StasisOverlay : Overlay
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Content.Shared.Goobstation.ChronoLegionnaire.Components;
using Content.Shared._Goobstation.ChronoLegionnaire.Components;
using Robust.Client.Graphics;
using Robust.Client.Player;
using Robust.Shared.Player;

namespace Content.Client.Goobstation.ChronoLegionnaire;
namespace Content.Client._Goobstation.ChronoLegionnaire;

public sealed class StasisOverlaySystem : EntitySystem
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Content.Shared._Goobstation.ChronoLegionnaire;

namespace Content.Client._Goobstation.ChronoLegionnaire;

public sealed class TimelineDisruptorSystem : SharedTimelineDisruptorSystem
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void OnStartup(Entity<HereticCombatMarkComponent> ent, ref ComponentStar
return;
}

var rsi = new SpriteSpecifier.Rsi(new ResPath("Goobstation/Heretic/combat_marks.rsi"), ent.Comp.Path.ToLower());
var rsi = new SpriteSpecifier.Rsi(new ResPath("_Goobstation/Heretic/combat_marks.rsi"), ent.Comp.Path.ToLower());
var layer = sprite.AddLayer(rsi);

sprite.LayerMapSet(0, layer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Robust.Shared.Timing;
using Robust.Shared.Utility;

namespace Content.Client.Goobstation.UserInterface.Systems.Ghost.Controls
namespace Content.Client._Goobstation.UserInterface.Systems.Ghost.Controls
{
[GenerateTypedNameReferences]
public sealed partial class GhostBarRulesWindow : DefaultWindow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private void AddAntagVerbs(GetVerbsEvent<Verb> args)
{
Text = Loc.GetString("admin-verb-text-make-changeling"),
Category = VerbCategory.Antag,
Icon = new SpriteSpecifier.Rsi(new ResPath("/Textures/Goobstation/Changeling/changeling_abilities.rsi"), "transform"),
Icon = new SpriteSpecifier.Rsi(new ResPath("/Textures/_Goobstation/Changeling/changeling_abilities.rsi"), "transform"),
Act = () =>
{
_antag.ForceMakeAntag<ChangelingRuleComponent>(targetPlayer, "Changeling");
Expand All @@ -172,7 +172,7 @@ private void AddAntagVerbs(GetVerbsEvent<Verb> args)
{
Text = Loc.GetString("admin-verb-make-heretic"),
Category = VerbCategory.Antag,
Icon = new SpriteSpecifier.Rsi(new ResPath("/Textures/Goobstation/Heretic/Blades/blade_blade.rsi"), "icon"),
Icon = new SpriteSpecifier.Rsi(new ResPath("/Textures/_Goobstation/Heretic/Blades/blade_blade.rsi"), "icon"),
Act = () =>
{
_antag.ForceMakeAntag<HereticRuleComponent>(targetPlayer, "Heretic");
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Bible/BibleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using Content.Shared.Mobs.Systems;
using Content.Shared.Popups;
using Content.Shared.Timing;
using Content.Shared.Goobstation.Religion;
using Content.Shared._Goobstation.Religion;
using Content.Shared.Verbs;
using Robust.Shared.Audio;
using Robust.Shared.Audio.Systems;
Expand Down

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion Content.Server/Objectives/Systems/KeepAliveCondition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Content.Shared.Roles.Jobs;
using Robust.Shared.Random;
using System.Linq;
using Content.Server.Goobstation.Objectives.Components;
using Content.Server._Goobstation.Objectives.Components;

namespace Content.Server.Objectives.Systems;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Content.Server.GameTicking.Rules;
using Content.Server.Goobstation.Objectives.Components;
using Content.Server._Goobstation.Objectives.Components;
using Content.Server.Objectives.Components;
using Content.Server.Shuttles.Systems;
using Content.Shared.CCVar;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Prayer/PrayerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Content.Shared.Popups;
using Content.Shared.Chat;
using Content.Shared.Prayer;
using Content.Shared.Goobstation.Religion;
using Content.Shared._Goobstation.Religion;
using Content.Shared.Verbs;
using Robust.Server.GameObjects;
using Robust.Shared.Player;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Robust.Shared.Audio;

namespace Content.Server.Goobstation.BluespaceCrystal;
namespace Content.Server._Goobstation.BluespaceCrystal;

/// <summary>
/// Randomly teleports entity when triggered.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Content.Server.Implants;


namespace Content.Server.Goobstation.BluespaceCrystal;
namespace Content.Server._Goobstation.BluespaceCrystal;

public sealed partial class BluespaceCrystalSystem : EntitySystem
{
Expand All @@ -32,4 +32,4 @@ private void OnUseInHand(EntityUid uid, BluespaceCrystalComponent component, Use
var toDel = _stack.Split((EntityUid) uid, 1, Transform(uid).Coordinates);
QueueDel(toDel);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Content.Server.Goobstation.ChronoLegionnaire.Components;
namespace Content.Server._Goobstation.ChronoLegionnaire.Components;

/// <summary>
/// Marks gun entity that will return in owner hand or belt when thrown
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Content.Server.Goobstation.ChronoLegionnaire;
namespace Content.Server._Goobstation.ChronoLegionnaire;

/// <summary>
/// Marks projectiles that will apply stasis on hit
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Content.Shared._Goobstation.ChronoLegionnaire;

namespace Content.Server._Goobstation.ChronoLegionnaire;

public sealed class StasisBlinkProviderSystem : SharedStasisBlinkProviderSystem
{
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Content.Server.Goobstation.ChronoLegionnaire.Components;
using Content.Shared.Goobstation.ChronoLegionnaire.Components;
using Content.Server._Goobstation.ChronoLegionnaire.Components;
using Content.Shared._Goobstation.ChronoLegionnaire.Components;
using Content.Shared.Interaction.Events;
using Content.Shared.Inventory;
using Content.Shared.Throwing;

namespace Content.Server.Goobstation.ChronoLegionnaire;
namespace Content.Server._Goobstation.ChronoLegionnaire;

public sealed partial class StasisGunSystem : EntitySystem
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Robust.Shared.Physics.Dynamics.Joints;
using Robust.Shared.Physics.Events;

namespace Content.Server.Goobstation.ChronoLegionnaire;
namespace Content.Server._Goobstation.ChronoLegionnaire;

[UsedImplicitly]
public sealed class StasisOnCollideSystem : EntitySystem
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Content.Shared._Goobstation.ChronoLegionnaire;

namespace Content.Server._Goobstation.ChronoLegionnaire;

public sealed class StasisSystem : SharedStasisSystem
{
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Content.Server.Storage.Components;
using Content.Shared.Containers.ItemSlots;
using Content.Shared.Goobstation.ChronoLegionnaire;
using Content.Shared.Goobstation.ChronoLegionnaire.Components;
using Content.Shared._Goobstation.ChronoLegionnaire;
using Content.Shared._Goobstation.ChronoLegionnaire.Components;
using Content.Shared.Interaction;
using Content.Shared.Verbs;
using Robust.Server.Containers;
Expand All @@ -10,7 +10,7 @@
using Robust.Shared.Containers;
using Robust.Shared.Timing;

namespace Content.Server.Goobstation.ChronoLegionnaire;
namespace Content.Server._Goobstation.ChronoLegionnaire;

public sealed class TimelineDisruptorSystem : SharedTimelineDisruptorSystem
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Content.Shared.Stunnable;
using Robust.Shared.Random;

namespace Content.Server.Goobstation.Clothing;
namespace Content.Server._Goobstation.Clothing;

public sealed partial class MadnessMaskSystem : EntitySystem
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public sealed partial class ChangelingRuleSystem : GameRuleSystem<ChangelingRule
[Dependency] private readonly NpcFactionSystem _npcFaction = default!;
[Dependency] private readonly ObjectivesSystem _objective = default!;

public readonly SoundSpecifier BriefingSound = new SoundPathSpecifier("/Audio/Goobstation/Ambience/Antag/changeling_start.ogg");
public readonly SoundSpecifier BriefingSound = new SoundPathSpecifier("/Audio/_Goobstation/Ambience/Antag/changeling_start.ogg");

public readonly ProtoId<AntagPrototype> ChangelingPrototypeId = "Changeling";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Content.Server.Antag;
using Content.Server.GameTicking.Rules.Components;
using Content.Server.Goobstation.Objectives.Components;
using Content.Server._Goobstation.Objectives.Components;
using Content.Server.Mind;
using Content.Server.Objectives;
using Content.Server.Objectives.Components;
Expand Down Expand Up @@ -29,7 +29,7 @@ public sealed partial class HereticRuleSystem : GameRuleSystem<HereticRuleCompon
[Dependency] private readonly ObjectivesSystem _objective = default!;
[Dependency] private readonly IRobustRandom _rand = default!;

public readonly SoundSpecifier BriefingSound = new SoundPathSpecifier("/Audio/Goobstation/Heretic/Ambience/Antag/Heretic/heretic_gain.ogg");
public readonly SoundSpecifier BriefingSound = new SoundPathSpecifier("/Audio/_Goobstation/Heretic/Ambience/Antag/Heretic/heretic_gain.ogg");

public readonly ProtoId<NpcFactionPrototype> HereticFactionId = "Heretic";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Content.Server.Goobstation.Ghostbar.Components;
namespace Content.Server._Goobstation.Ghostbar.Components;

/// <summary>
/// Tracker for ghostbar players
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Content.Server.Goobstation.Ghostbar.Components;
namespace Content.Server._Goobstation.Ghostbar.Components;

/// <summary>
/// Target for ghosts to spawn at
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Robust.Server.Maps;
using Robust.Shared.Random;
using Content.Shared.Ghost;
using Content.Server.Goobstation.Ghostbar.Components;
using Content.Server._Goobstation.Ghostbar.Components;
using Content.Server.Mind;
using Content.Shared.Mind;
using Content.Shared.Mind.Components;
Expand All @@ -19,7 +19,7 @@
using Content.Server.Antag.Components;
using Content.Shared.Mindshield.Components;

namespace Content.Server.Goobstation.Ghostbar;
namespace Content.Server._Goobstation.Ghostbar;

public sealed class GhostBarSystem : EntitySystem
{
Expand Down Expand Up @@ -47,7 +47,7 @@ public override void Initialize()
SubscribeLocalEvent<GhostBarPlayerComponent, MindRemovedMessage>(OnPlayerGhosted);
}

const string MapPath = "Maps/Goobstation/Nonstations/ghostbar.yml";
const string MapPath = "Maps/_Goobstation/Nonstations/ghostbar.yml";
private void OnRoundStart(RoundStartingEvent ev)
{
_mapSystem.CreateMap(out var mapId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ private void OnGotUnequipped(EntityUid uid, HailerComponent component, GotUnequi
}
}
string[] _sounds = [
"/Audio/Goobstation/Hailer/asshole.ogg",
"/Audio/Goobstation/Hailer/bash.ogg",
"/Audio/Goobstation/Hailer/bobby.ogg",
"/Audio/Goobstation/Hailer/compliance.ogg",
"/Audio/Goobstation/Hailer/dontmove.ogg",
"/Audio/Goobstation/Hailer/dredd.ogg",
"/Audio/Goobstation/Hailer/floor.ogg",
"/Audio/Goobstation/Hailer/freeze.ogg",
"/Audio/Goobstation/Hailer/halt.ogg",
"/Audio/_Goobstation/Hailer/asshole.ogg",
"/Audio/_Goobstation/Hailer/bash.ogg",
"/Audio/_Goobstation/Hailer/bobby.ogg",
"/Audio/_Goobstation/Hailer/compliance.ogg",
"/Audio/_Goobstation/Hailer/dontmove.ogg",
"/Audio/_Goobstation/Hailer/dredd.ogg",
"/Audio/_Goobstation/Hailer/floor.ogg",
"/Audio/_Goobstation/Hailer/freeze.ogg",
"/Audio/_Goobstation/Hailer/halt.ogg",
];
Dictionary<EntityUid, TimeSpan> _delays = new Dictionary<EntityUid, TimeSpan>();
TimeSpan _fixed_delay = TimeSpan.FromSeconds(2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void SendBriefing(Entity<GhoulComponent> ent, EntityUid mindId, MindComp

if (ent.Comp.BoundHeretic != null)
brief = Loc.GetString("heretic-ghoul-greeting", ("ent", Identity.Entity((EntityUid) ent.Comp.BoundHeretic, EntityManager)));
var sound = new SoundPathSpecifier("/Audio/Goobstation/Heretic/Ambience/Antag/Heretic/heretic_gain.ogg");
var sound = new SoundPathSpecifier("/Audio/_Goobstation/Heretic/Ambience/Antag/Heretic/heretic_gain.ogg");
_antag.SendBriefing(ent, brief, Color.MediumPurple, sound);

if (!_mind.TryGetRole<GhoulRoleComponent>(ent, out _))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public sealed partial class HereticRitualSystem : EntitySystem
[Dependency] private readonly HereticKnowledgeSystem _knowledge = default!;
[Dependency] private readonly SharedAudioSystem _audio = default!;

public SoundSpecifier RitualSuccessSound = new SoundPathSpecifier("/Audio/Goobstation/Heretic/castsummon.ogg");
public SoundSpecifier RitualSuccessSound = new SoundPathSpecifier("/Audio/_Goobstation/Heretic/castsummon.ogg");

public HereticRitualPrototype GetRitual(ProtoId<HereticRitualPrototype>? id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private void OnAscension(Entity<HereticComponent> ent, ref EventHereticAscension
return;

var pathLoc = ent.Comp.CurrentPath!.ToLower();
var ascendSound = new SoundPathSpecifier($"/Audio/Goobstation/Heretic/Ambience/Antag/Heretic/ascend_{pathLoc}.ogg");
var ascendSound = new SoundPathSpecifier($"/Audio/_Goobstation/Heretic/Ambience/Antag/Heretic/ascend_{pathLoc}.ogg");
_chat.DispatchGlobalAnnouncement(Loc.GetString($"heretic-ascension-{pathLoc}"), Name(ent), true, ascendSound, Color.Pink);

// do other logic, e.g. make heretic immune to whatever
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void ApplyGraspEffect(EntityUid performer, EntityUid target, string path)
_door.SetBoltsDown((target, doorBolt), false);

_door.StartOpening(target, door);
_audio.PlayPvs(new SoundPathSpecifier("/Audio/Goobstation/Heretic/hereticknock.ogg"), target);
_audio.PlayPvs(new SoundPathSpecifier("/Audio/_Goobstation/Heretic/hereticknock.ogg"), target);
break;

case "Flesh":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
using Robust.Shared.Prototypes;


namespace Content.Server.Goobstation.MaterialEnergy;
namespace Content.Server._Goobstation.MaterialEnergy;

[RegisterComponent]
public sealed partial class MaterialEnergyComponent : Component
{
[DataField, AutoNetworkedField]
public List<string>? MaterialWhiteList;
}
}
Loading

0 comments on commit 4ba2c0d

Please sign in to comment.