Skip to content

Commit

Permalink
Merge pull request #76 from SS14-Classic/Update-10/11/2024
Browse files Browse the repository at this point in the history
Update 10/11/2024
  • Loading branch information
VMSolidus authored Oct 11, 2024
2 parents 4f7e0f1 + fa6eec5 commit 08fb348
Show file tree
Hide file tree
Showing 165 changed files with 167,948 additions and 86 deletions.
3 changes: 2 additions & 1 deletion Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public sealed class PostMapInitTest
"Hammurabi", //DeltaV
"Lighthouse", //DeltaV
"Submarine", //DeltaV
"Gax"
"Gax",
"Rad"
};

/// <summary>
Expand Down
10 changes: 9 additions & 1 deletion Content.Server/Speech/EntitySystems/VocalSystem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Content.Server.Actions;
using Content.Server.Chat.Systems;
using Content.Server.Speech.Components;
using Content.Shared.ActionBlocker;
using Content.Shared.Chat.Prototypes;
using Content.Shared.Humanoid;
using Content.Shared.Speech;
Expand All @@ -18,6 +19,10 @@ public sealed class VocalSystem : EntitySystem
[Dependency] private readonly SharedAudioSystem _audio = default!;
[Dependency] private readonly ChatSystem _chat = default!;
[Dependency] private readonly ActionsSystem _actions = default!;
[Dependency] private readonly ActionBlockerSystem _actionBlocker = default!;

[ValidatePrototypeId<ReplacementAccentPrototype>]
private const string MuzzleAccent = "mumble";

public override void Initialize()
{
Expand Down Expand Up @@ -53,7 +58,10 @@ private void OnSexChanged(EntityUid uid, VocalComponent component, SexChangedEve

private void OnEmote(EntityUid uid, VocalComponent component, ref EmoteEvent args)
{
if (args.Handled || !args.Emote.Category.HasFlag(EmoteCategory.Vocal))
if (args.Handled
|| !args.Emote.Category.HasFlag(EmoteCategory.Vocal)
|| !_actionBlocker.CanSpeak(uid)
|| TryComp<ReplacementAccentComponent>(uid, out var replacement) && replacement.Accent == MuzzleAccent) // This is not ideal, but it works.
return;

// snowflake case for wilhelm scream easter egg
Expand Down
6 changes: 3 additions & 3 deletions Content.Shared/CCVar/CCVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1406,13 +1406,13 @@ public static readonly CVarDef<bool>
/// See vote.enabled, but specific to preset votes
/// </summary>
public static readonly CVarDef<bool> VotePresetEnabled =
CVarDef.Create("vote.preset_enabled", false, CVar.SERVERONLY);
CVarDef.Create("vote.preset_enabled", true, CVar.SERVERONLY);

/// <summary>
/// See vote.enabled, but specific to map votes
/// </summary>
public static readonly CVarDef<bool> VoteMapEnabled =
CVarDef.Create("vote.map_enabled", false, CVar.SERVERONLY);
CVarDef.Create("vote.map_enabled", true, CVar.SERVERONLY);

/// <summary>
/// The required ratio of the server that must agree for a restart round vote to go through.
Expand All @@ -1424,7 +1424,7 @@ public static readonly CVarDef<bool>
/// Whether or not to prevent the restart vote from having any effect when there is an online admin
/// </summary>
public static readonly CVarDef<bool> VoteRestartNotAllowedWhenAdminOnline =
CVarDef.Create("vote.restart_not_allowed_when_admin_online", true, CVar.SERVERONLY);
CVarDef.Create("vote.restart_not_allowed_when_admin_online", false, CVar.SERVERONLY);

/// <summary>
/// The delay which two votes of the same type are allowed to be made by separate people, in seconds.
Expand Down
58 changes: 58 additions & 0 deletions Resources/Changelog/Changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7095,3 +7095,61 @@ Entries:
id: 6433
time: '2024-10-09T16:12:20.0000000+00:00'
url: https://github.com/Simple-Station/Einstein-Engines/pull/994
- author: VMSolidus
changes:
- type: Add
message: >-
Logistics can now directly order a variety of hardsuits. "NT In-Network"
hardsuits being substantially cheaper thanks to backroom deals.
id: 6434
time: '2024-10-09T23:01:29.0000000+00:00'
url: https://github.com/Simple-Station/Einstein-Engines/pull/1024
- author: DangerRevolution
changes:
- type: Add
message: Resprited basic Service Staff uniforms
- type: Add
message: Add rolled sleeve variants for Service Staff uniforms.
id: 6435
time: '2024-10-10T16:21:24.0000000+00:00'
url: https://github.com/Simple-Station/Einstein-Engines/pull/1021
- author: VMSolidus
changes:
- type: Remove
message: The X-01 multiphase energy gun has been removed from the HoS locker.
- type: Add
message: >-
A new Loadout Item Group, "Head of Security's Antique Weapon Collection"
has been added. Rather than being given a unique weapon by whatever map
creators put in the HoS Office, each Head of Security is entitled to a
single item selected from this new loadout category, free of charge. But
beware, whatever item chosen from this list may potentially be used as a
Steal Objective for traitors. You may have a fancy new submachine gun,
but it also makes you a target.
- type: Add
message: >-
antique Bulldog, antique C-20r submachine gun, x-01 multiphase energy
gun, antique energy sword, antique pulse pistol, antique Wt550, and a
pair of Katana Sheaths have all been added as loadout options for the
Head of Security.
id: 6436
time: '2024-10-11T01:43:36.0000000+00:00'
url: https://github.com/Simple-Station/Einstein-Engines/pull/1031
- author: Ichaie
changes:
- type: Add
message: A map called "RadStation" has been added to rotation.
- type: Add
message: A new Evac shuttle called "emergency_neol" has been added to RadStation
id: 6437
time: '2024-10-11T16:05:53.0000000+00:00'
url: https://github.com/Simple-Station/Einstein-Engines/pull/1034
- author: Mnemotechnician
changes:
- type: Add
message: >-
Sleeping and muzzled entities can no longer use vocal emotes (scream,
meow, etc).
id: 6438
time: '2024-10-11T16:08:48.0000000+00:00'
url: https://github.com/Simple-Station/Einstein-Engines/pull/1037
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ foldable-deploy-fail = You can't deploy the {$object} here.
fold-verb = Fold
unfold-verb = Unfold
# Hat
fold-flip-verb = Flip
# Coat
fold-zip-verb = Zip up
fold-unzip-verb = Unzip
# Jumpsuits
fold-rollsleeves-verb = roll sleeves up
fold-unrollsleeves-verb = roll sleeves down
1 change: 1 addition & 0 deletions Resources/Locale/en-US/loadouts/itemgroups.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ character-item-group-LoadoutOuterSecurity = Security Outerwear
character-item-group-LoadoutShoesSecurity = Security Shoes
character-item-group-LoadoutUniformsSecurity = Security Uniforms
character-item-group-LoadoutWeaponSecurity = Security Duty Weapon
character-item-group-LoadoutHoSWeapon = Head of Security's Antique Weapon Collection
# Service
character-item-group-LoadoutEquipmentService = Service Equipment
Expand Down
Loading

0 comments on commit 08fb348

Please sign in to comment.