This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
forked from new-frontiers-14/frontier-station-14
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
230 changed files
with
20,123 additions
and
14,111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using Content.Server.Speech.EntitySystems; | ||
|
||
namespace Content.Server.Speech.Components; | ||
|
||
[RegisterComponent] | ||
[Access(typeof(GoblinAccentSystem))] | ||
public sealed partial class GoblinAccentComponent : Component {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using Content.Server.Speech.Components; | ||
using Robust.Shared.Random; | ||
using System.Text.RegularExpressions; | ||
|
||
namespace Content.Server.Speech.EntitySystems; | ||
|
||
public sealed class GoblinAccentSystem : EntitySystem | ||
{ | ||
[Dependency] private readonly ReplacementAccentSystem _replacement = default!; | ||
|
||
public override void Initialize() | ||
{ | ||
base.Initialize(); | ||
|
||
SubscribeLocalEvent<GoblinAccentComponent, AccentGetEvent>(OnAccentGet); | ||
} | ||
|
||
// converts left word when typed into the right word. For example typing you becomes ye. | ||
public string Accentuate(string message, GoblinAccentComponent component) | ||
{ | ||
var msg = message; | ||
|
||
msg = _replacement.ApplyReplacements(msg, "goblin"); | ||
return msg; | ||
} | ||
|
||
private void OnAccentGet(EntityUid uid, GoblinAccentComponent component, AccentGetEvent args) | ||
{ | ||
args.Message = Accentuate(args.Message, component); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Content.Server._NF.Goblin.Components; | ||
|
||
[RegisterComponent] | ||
public sealed partial class GoblinComponent : Component | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Content.Shared.Stacks; | ||
|
||
namespace Content.Shared._NF.LoggingExtensions; | ||
|
||
public static class LoggingExtensions | ||
{ | ||
public static string GetExtraLogs(EntityManager entityManager, EntityUid entity) | ||
{ | ||
// Get details from the stack component to track amount of things in the stack. | ||
if (entityManager.TryGetComponent<StackComponent>(entity, out var stack)) | ||
{ | ||
return $"(StackCount: {stack.Count.ToString()})"; | ||
} | ||
|
||
// Add more logging things here when needed. | ||
|
||
return ""; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
- files: ["goblin-cackle-01.ogg, goblin-cackle-02.ogg, goblin-cackle-03.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by SnowFightStudios (https://freesound.org/people/SnowFightStudios/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/SnowFightStudios/sounds/643664/" | ||
- files: ["goblin-cackle-04.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by spookymodem (https://freesound.org/people/spookymodem/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/spookymodem/sounds/202096/" | ||
- files: ["goblin-cackle-05.ogg"] | ||
license: "CC-BY-4.0" | ||
copyright: "Original file made by Nanakisan (https://freesound.org/people/Nanakisan/)" | ||
source: "https://freesound.org/people/Nanakisan/sounds/253532/" | ||
- files: ["goblin-scream-01.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by SnowFightStudios (https://freesound.org/people/SnowFightStudios/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/SnowFightStudios/sounds/643655/" | ||
- files: ["goblin-scream-02.ogg, goblin-scream-03.ogg, goblin-scream-04.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by Duisterwho (https://freesound.org/people/Duisterwho/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/Duisterwho/sounds/643497/" | ||
- files: ["goblin-cry-01.ogg, goblin-cry-02.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by SnowFightStudios (https://freesound.org/people/SnowFightStudios/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: https://freesound.org/people/SnowFightStudios/sounds/643657/ | ||
- files: ["goblin-chatter-01.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by Fenodyrie (https://freesound.org/people/Fenodyrie/)" | ||
source: https://freesound.org/people/Fenodyrie/sounds/565923/ | ||
- files: ["goblin-hiss-01.ogg"] | ||
license: "CC-BY-4.0" | ||
copyright: "Original file made by LittleRobotSoundFactory (https://freesound.org/people/LittleRobotSoundFactory/)" | ||
source: https://freesound.org/people/LittleRobotSoundFactory/sounds/270389/ |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
- files: ["goblin-cackle-01.ogg, goblin-cackle-02.ogg, goblin-cackle-03.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by SnowFightStudios (https://freesound.org/people/SnowFightStudios/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/SnowFightStudios/sounds/643664/" | ||
- files: ["goblin-cackle-04.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by spookymodem (https://freesound.org/people/spookymodem/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/spookymodem/sounds/202096/" | ||
- files: ["goblin-cackle-05.ogg"] | ||
license: "CC BY 4.0" | ||
copyright: "Original file made by Nanakisan (https://freesound.org/people/Nanakisan/)" | ||
source: "https://freesound.org/people/Nanakisan/sounds/253532/" | ||
- files: ["goblin-scream-01.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by SnowFightStudios (https://freesound.org/people/SnowFightStudios/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/SnowFightStudios/sounds/643655/" | ||
- files: ["goblin-scream-02.ogg, goblin-scream-03.ogg, goblin-scream-04.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by Duisterwho (https://freesound.org/people/Duisterwho/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: "https://freesound.org/people/Duisterwho/sounds/643497/" | ||
- files: ["goblin-cry-01.ogg, goblin-cry-02.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by SnowFightStudios (https://freesound.org/people/SnowFightStudios/), edited (cropped) by erhardsteinhauer (discord/github)" | ||
source: https://freesound.org/people/SnowFightStudios/sounds/643657/ | ||
- files: ["goblin-chatter-01.ogg"] | ||
license: "CC0-1.0" | ||
copyright: "Original file made by Fenodyrie (https://freesound.org/people/Fenodyrie/)" | ||
source: https://freesound.org/people/Fenodyrie/sounds/565923/ | ||
- files: ["goblin-hiss-01.ogg"] | ||
license: "CC BY 4.0" | ||
copyright: "Original file made by LittleRobotSoundFactory (https://freesound.org/people/LittleRobotSoundFactory/)" | ||
source: https://freesound.org/people/LittleRobotSoundFactory/sounds/270389/ |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.