diff --git a/Content.Client/Arcade/BlockGameMenu.cs b/Content.Client/Arcade/BlockGameMenu.cs index 4a579fc4bf..ad360c5439 100644 --- a/Content.Client/Arcade/BlockGameMenu.cs +++ b/Content.Client/Arcade/BlockGameMenu.cs @@ -380,7 +380,7 @@ namespace Content.Client.Arcade { PanelOverride = back, HorizontalExpand = true, - SizeFlagsStretchRatio = 60 + SizeFlagsStretchRatio = 34.25f }; var backgroundPanel = new PanelContainer { diff --git a/Content.Client/Arcade/UI/BlockGameBoundUserInterface.cs b/Content.Client/Arcade/UI/BlockGameBoundUserInterface.cs index 8fa8035afd..4f08e6bd0a 100644 --- a/Content.Client/Arcade/UI/BlockGameBoundUserInterface.cs +++ b/Content.Client/Arcade/UI/BlockGameBoundUserInterface.cs @@ -17,6 +17,7 @@ public sealed class BlockGameBoundUserInterface : BoundUserInterface base.Open(); _menu = this.CreateWindow(); + _menu.OnAction += SendAction; } protected override void ReceiveMessage(BoundUserInterfaceMessage message) diff --git a/Content.Client/Arcade/UI/SpaceVillainArcadeBoundUserInterface.cs b/Content.Client/Arcade/UI/SpaceVillainArcadeBoundUserInterface.cs index c0704530de..8fff406e86 100644 --- a/Content.Client/Arcade/UI/SpaceVillainArcadeBoundUserInterface.cs +++ b/Content.Client/Arcade/UI/SpaceVillainArcadeBoundUserInterface.cs @@ -25,6 +25,7 @@ public sealed class SpaceVillainArcadeBoundUserInterface : BoundUserInterface base.Open(); _menu = this.CreateWindow(); + _menu.OnPlayerAction += SendAction; } protected override void ReceiveMessage(BoundUserInterfaceMessage message) diff --git a/Content.Server/Arcade/BlockGame/BlockGame.Ui.cs b/Content.Server/Arcade/BlockGame/BlockGame.Ui.cs index cd22f1f6d3..943fb75525 100644 --- a/Content.Server/Arcade/BlockGame/BlockGame.Ui.cs +++ b/Content.Server/Arcade/BlockGame/BlockGame.Ui.cs @@ -157,7 +157,7 @@ public sealed partial class BlockGame /// The message to broadcase to all players/spectators. private void SendMessage(BoundUserInterfaceMessage message) { - _uiSystem.ServerSendUiMessage(_entityManager.GetEntity(message.Entity), BlockGameUiKey.Key, message); + _uiSystem.ServerSendUiMessage(_owner, BlockGameUiKey.Key, message); } /// @@ -167,7 +167,7 @@ public sealed partial class BlockGame /// The target recipient. private void SendMessage(BoundUserInterfaceMessage message, EntityUid actor) { - _uiSystem.ServerSendUiMessage(_entityManager.GetEntity(message.Entity), BlockGameUiKey.Key, message, actor); + _uiSystem.ServerSendUiMessage(_owner, BlockGameUiKey.Key, message, actor); } /// diff --git a/Content.Server/CharacterInfo/CharacterInfoSystem.cs b/Content.Server/CharacterInfo/CharacterInfoSystem.cs index 3099b2f90f..3d83a66705 100644 --- a/Content.Server/CharacterInfo/CharacterInfoSystem.cs +++ b/Content.Server/CharacterInfo/CharacterInfoSystem.cs @@ -31,7 +31,7 @@ public sealed class CharacterInfoSystem : EntitySystem var entity = args.SenderSession.AttachedEntity.Value; var objectives = new Dictionary>(); - var jobTitle = "No Profession"; + var jobTitle = Loc.GetString("character-info-no-profession"); string? briefing = null; if (_minds.TryGetMind(entity, out var mindId, out var mind)) { diff --git a/Content.Shared/Cuffs/SharedCuffableSystem.cs b/Content.Shared/Cuffs/SharedCuffableSystem.cs index a8941c1108..5c780471bf 100644 --- a/Content.Shared/Cuffs/SharedCuffableSystem.cs +++ b/Content.Shared/Cuffs/SharedCuffableSystem.cs @@ -58,7 +58,7 @@ namespace Content.Shared.Cuffs { base.Initialize(); - SubscribeLocalEvent(OnHandCountChanged); + SubscribeLocalEvent(OnHandCountChanged); SubscribeLocalEvent(OnUncuffAttempt); SubscribeLocalEvent(OnCuffsRemovedFromContainer); @@ -380,33 +380,24 @@ namespace Content.Shared.Cuffs /// /// Check the current amount of hands the owner has, and if there's less hands than active cuffs we remove some cuffs. /// - private void OnHandCountChanged(HandCountChangedEvent message) + private void OnHandCountChanged(Entity ent, ref HandCountChangedEvent message) { - var owner = message.Sender; - - if (!TryComp(owner, out CuffableComponent? cuffable) || - !cuffable.Initialized) - { - return; - } - var dirty = false; - var handCount = CompOrNull(owner)?.Count ?? 0; + var handCount = CompOrNull(ent.Owner)?.Count ?? 0; - while (cuffable.CuffedHandCount > handCount && cuffable.CuffedHandCount > 0) + while (ent.Comp.CuffedHandCount > handCount && ent.Comp.CuffedHandCount > 0) { dirty = true; - var container = cuffable.Container; - var entity = container.ContainedEntities[^1]; + var handcuffContainer = ent.Comp.Container; + var handcuffEntity = handcuffContainer.ContainedEntities[^1]; - _container.Remove(entity, container); - _transform.SetWorldPosition(entity, _transform.GetWorldPosition(owner)); + _transform.PlaceNextTo(handcuffEntity, ent.Owner); } if (dirty) { - UpdateCuffState(owner, cuffable); + UpdateCuffState(ent.Owner, ent.Comp); } } diff --git a/Resources/Changelog/Changelog.yml b/Resources/Changelog/Changelog.yml index bd6c11b933..cc2a4c1d42 100644 --- a/Resources/Changelog/Changelog.yml +++ b/Resources/Changelog/Changelog.yml @@ -1,19 +1,4 @@ Entries: -- author: Hanzdegloker - changes: - - message: '"Denied" and "Approved" stamps are now guaranteed to appear in the lockers - of the HoP and QM.' - type: Tweak - id: 6486 - time: '2024-04-29T03:38:45.0000000+00:00' - url: https://github.com/space-wizards/space-station-14/pull/25604 -- author: Potato1234_x - changes: - - message: Added rainbow weed. It is obtained by mutating regular weed. - type: Add - id: 6487 - time: '2024-04-29T04:06:27.0000000+00:00' - url: https://github.com/space-wizards/space-station-14/pull/25759 - author: Gotimanga changes: - message: Chemists can now create opporozidone, which reverses the effects of rotting @@ -3784,3 +3769,17 @@ id: 6985 time: '2024-07-26T12:59:43.0000000+00:00' url: https://github.com/space-wizards/space-station-14/pull/30273 +- author: themias + changes: + - message: Arcade machines are functional again + type: Fix + id: 6986 + time: '2024-07-26T17:30:50.0000000+00:00' + url: https://github.com/space-wizards/space-station-14/pull/30376 +- author: themias + changes: + - message: Zombies now get uncuffed upon transformation + type: Fix + id: 6987 + time: '2024-07-26T18:48:03.0000000+00:00' + url: https://github.com/space-wizards/space-station-14/pull/30321 diff --git a/Resources/Locale/en-US/character-info/components/character-info-component.ftl b/Resources/Locale/en-US/character-info/components/character-info-component.ftl index 07a0dd696a..b515c36c5a 100644 --- a/Resources/Locale/en-US/character-info/components/character-info-component.ftl +++ b/Resources/Locale/en-US/character-info/components/character-info-component.ftl @@ -1,3 +1,4 @@ character-info-title = Character character-info-roles-antagonist-text = Antagonist Roles character-info-objectives-label = Objectives +character-info-no-profession = No Profession diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/extinguisher_cabinet.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/extinguisher_cabinet.yml index c48f2cb00a..c51b4aa042 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/extinguisher_cabinet.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/extinguisher_cabinet.yml @@ -29,7 +29,7 @@ ejectOnInteract: true whitelist: components: - - FireExtinguisher + - SpraySafety - type: Damageable damageContainer: Inorganic damageModifierSet: Metallic diff --git a/Resources/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC13CharacterNames.xml b/Resources/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC13CharacterNames.xml index 6c01f9de23..97880466d4 100644 --- a/Resources/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC13CharacterNames.xml +++ b/Resources/ServerInfo/Guidebook/ServerRules/CoreRules/RuleC13CharacterNames.xml @@ -52,6 +52,14 @@ - [color=#449944]Acceptable:[/color] Loxosceles Domesticus - [color=#994444]Bad:[/color] Spider-Man + Vox typically use a single name made of random syllables, often with repeating patterns. + Names should not be excessively long or be so repetitive/convoluted as to be unreadable. + + - [color=#449944]Acceptable:[/color] Hirixashahre + - [color=#449944]Acceptable:[/color] Xapikrikrik + - [color=#994444]Bad:[/color] Chipikirchitchitchitbecretretrer + - [color=#994444]Bad:[/color] Trololol + Usernames, objects, random characters, very "low effort" names, "meta" names, or otherwise implausible names are not permitted. - [color=#994444]Bad:[/color] XxRobustxX - [color=#994444]Bad:[/color] SDpksSodjdfk