Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Guloveos committed Aug 28, 2024
2 parents 5d64630 + 7454c77 commit 5afc8f7
Show file tree
Hide file tree
Showing 73 changed files with 608 additions and 264 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Text="{Loc 'news-read-ui-next-text'}"
ToolTip="{Loc 'news-read-ui-next-tooltip'}"/>
</BoxContainer>
<controls:StripeBack Name="АrticleNameContainer">
<controls:StripeBack Name="ArticleNameContainer">
<PanelContainer>
<Label Name="PageNum" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="4,0,0,0"/>
<Label Name="PageName" Align="Center"/>
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Anomaly/AnomalySynchronizerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void OnPowerChanged(Entity<AnomalySynchronizerComponent> ent, ref PowerC
if (!TryComp<AnomalyComponent>(ent.Comp.ConnectedAnomaly, out var anomaly))
return;

DisconneсtFromAnomaly(ent, anomaly);
DisconnectFromAnomaly(ent, anomaly);
}

private void OnExamined(Entity<AnomalySynchronizerComponent> ent, ref ExaminedEvent args)
Expand Down Expand Up @@ -125,7 +125,7 @@ private void ConnectToAnomaly(Entity<AnomalySynchronizerComponent> ent, Entity<A

//TODO: disconnection from the anomaly should also be triggered if the anomaly is far away from the synchronizer.
//Currently only bluespace anomaly can do this, but for some reason it is the only one that cannot be connected to the synchronizer.
private void DisconneсtFromAnomaly(Entity<AnomalySynchronizerComponent> ent, AnomalyComponent anomaly)
private void DisconnectFromAnomaly(Entity<AnomalySynchronizerComponent> ent, AnomalyComponent anomaly)
{
if (ent.Comp.ConnectedAnomaly == null)
return;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Connection/ConnectionManager.Whitelist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private bool IsValid(PlayerConnectionWhitelistPrototype whitelist, int playerCou

private async Task<bool> CheckConditionManualWhitelist(NetUserData data)
{
return !(await _db.GetWhitelistStatusAsync(data.UserId));
return await _db.GetWhitelistStatusAsync(data.UserId);
}

private async Task<bool> CheckConditionManualBlacklist(NetUserData data)
Expand Down
3 changes: 2 additions & 1 deletion Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,10 @@ private void OnRoundEnd(Entity<NukeopsRuleComponent> ent)

var diskAtCentCom = false;
var diskQuery = AllEntityQuery<NukeDiskComponent, TransformComponent>();
while (diskQuery.MoveNext(out _, out var transform))
while (diskQuery.MoveNext(out var diskUid, out _, out var transform))
{
diskAtCentCom = transform.MapUid != null && centcomms.Contains(transform.MapUid.Value);
diskAtCentCom |= _emergency.IsTargetEscaping(diskUid);

// TODO: The target station should be stored, and the nuke disk should store its original station.
// This is fine for now, because we can assume a single station in base SS14.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void OnStationPostInit(ref StationPostInitEvent ev)
continue;
}

TryAddFTLDestination(gridXform.MapID, true, out _);
TryAddFTLDestination(gridXform.MapID, true, false, false, out _);
}
}

Expand Down
16 changes: 7 additions & 9 deletions Content.Shared/Clothing/ClothingSpeedModifierSystem.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using Content.Shared.Clothing.Components;
using Content.Shared.Examine;
using Content.Shared.Inventory;
using Content.Shared.Item.ItemToggle;
using Content.Shared.Item.ItemToggle.Components;
using Content.Shared.Movement.Systems;
using Content.Shared.PowerCell;
using Content.Shared.Verbs;
using Robust.Shared.Containers;
using Robust.Shared.GameStates;
Expand Down Expand Up @@ -73,34 +71,34 @@ private void OnClothingVerbExamine(EntityUid uid, ClothingSpeedModifierComponent

var msg = new FormattedMessage();

if (walkModifierPercentage == sprintModifierPercentage)
if (MathHelper.CloseTo(walkModifierPercentage, sprintModifierPercentage, 0.5f))
{
if (walkModifierPercentage < 0.0f)
msg.AddMarkup(Loc.GetString("clothing-speed-increase-equal-examine", ("walkSpeed", (int) MathF.Abs(walkModifierPercentage)), ("runSpeed", (int) MathF.Abs(sprintModifierPercentage))));
msg.AddMarkupOrThrow(Loc.GetString("clothing-speed-increase-equal-examine", ("walkSpeed", (int) MathF.Abs(walkModifierPercentage)), ("runSpeed", (int) MathF.Abs(sprintModifierPercentage))));
else
msg.AddMarkup(Loc.GetString("clothing-speed-decrease-equal-examine", ("walkSpeed", (int) walkModifierPercentage), ("runSpeed", (int) sprintModifierPercentage)));
msg.AddMarkupOrThrow(Loc.GetString("clothing-speed-decrease-equal-examine", ("walkSpeed", (int) walkModifierPercentage), ("runSpeed", (int) sprintModifierPercentage)));
}
else
{
if (sprintModifierPercentage < 0.0f)
{
msg.AddMarkup(Loc.GetString("clothing-speed-increase-run-examine", ("runSpeed", (int) MathF.Abs(sprintModifierPercentage))));
msg.AddMarkupOrThrow(Loc.GetString("clothing-speed-increase-run-examine", ("runSpeed", (int) MathF.Abs(sprintModifierPercentage))));
}
else if (sprintModifierPercentage > 0.0f)
{
msg.AddMarkup(Loc.GetString("clothing-speed-decrease-run-examine", ("runSpeed", (int) sprintModifierPercentage)));
msg.AddMarkupOrThrow(Loc.GetString("clothing-speed-decrease-run-examine", ("runSpeed", (int) sprintModifierPercentage)));
}
if (walkModifierPercentage != 0.0f && sprintModifierPercentage != 0.0f)
{
msg.PushNewline();
}
if (walkModifierPercentage < 0.0f)
{
msg.AddMarkup(Loc.GetString("clothing-speed-increase-walk-examine", ("walkSpeed", (int) MathF.Abs(walkModifierPercentage))));
msg.AddMarkupOrThrow(Loc.GetString("clothing-speed-increase-walk-examine", ("walkSpeed", (int) MathF.Abs(walkModifierPercentage))));
}
else if (walkModifierPercentage > 0.0f)
{
msg.AddMarkup(Loc.GetString("clothing-speed-decrease-walk-examine", ("walkSpeed", (int) walkModifierPercentage)));
msg.AddMarkupOrThrow(Loc.GetString("clothing-speed-decrease-walk-examine", ("walkSpeed", (int) walkModifierPercentage)));
}
}

Expand Down
186 changes: 85 additions & 101 deletions Resources/Changelog/Changelog.yml
Original file line number Diff line number Diff line change
@@ -1,105 +1,4 @@
Entries:
- author: Moomoobeef
changes:
- message: Fax machines can now be purchased at cargo, for when you need more paper
pushing on your station!
type: Add
id: 6729
time: '2024-06-14T06:24:18.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28968
- author: Zonespace27
changes:
- message: Non-uplink PDAs can no longer have telecrystals inserted into them.
type: Fix
id: 6730
time: '2024-06-14T15:24:40.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28985
- author: Aquif
changes:
- message: '"Space Drugs" have been renamed to "Space Mirage"'
type: Tweak
- message: '"Stimulants" have been renamed to "Hyperzine"'
type: Tweak
id: 6731
time: '2024-06-14T16:53:49.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28989
- author: PJB3005
changes:
- message: Added pride month.
type: Add
- message: Made the nuke gay.
type: Add
id: 6732
time: '2024-06-14T17:22:01.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28992
- author: Aeshus
changes:
- message: Loadouts now display all requirements.
type: Fix
id: 6733
time: '2024-06-14T20:32:39.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28994
- author: Vermidia
changes:
- message: allies callable by radio in the uplink now have unique icons
type: Tweak
id: 6734
time: '2024-06-14T21:44:23.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28954
- author: K-Dynamic
changes:
- message: Added witch robes and witch hat to the AutoDrobe.
type: Add
id: 6735
time: '2024-06-15T02:19:08.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28965
- author: Plykiya
changes:
- message: You can no longer insert duplicates of the same module into a cyborg.
type: Tweak
id: 6736
time: '2024-06-15T02:58:30.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28943
- author: Vermidia
changes:
- message: Nukie planet now has an improved Donk co. microwave, which cooks twice
as fast but is more likely to explode. It can't handle id cards without exploding.
type: Add
- message: Made microwave explosions destroy the machine board and spit out the
machine parts.
type: Tweak
id: 6737
time: '2024-06-15T03:00:00.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28951
- author: robertGN
changes:
- message: Using a welder on vending machines now correctly repairs the vending
machine.
type: Fix
id: 6738
time: '2024-06-15T03:13:53.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28920
- author: Brandon-Huu
changes:
- message: Removed the six Handheld GPS devices from the syndicate deathrattle implant
box.
type: Remove
id: 6739
time: '2024-06-15T03:23:42.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28999
- author: EmoGarbage404
changes:
- message: Revamped meteors. Meteors now crash through several walls before exploding.
They can still come in a weaker "space dust" form where they don't break through
structures.
type: Add
- message: Meteor and space dust events now occur on regular intervals during a
round rather than being tied to station events. Expect to see more of them during
a round.
type: Add
id: 6740
time: '2024-06-15T03:38:43.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/28974
- author: EmoGarbage404
changes:
- message: Added Moon Boots! This science research item allows you to move like
Expand Down Expand Up @@ -3865,3 +3764,88 @@
id: 7228
time: '2024-08-27T16:54:48.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31519
- author: metalgearsloth
changes:
- message: Added warp points for AI.
type: Add
id: 7229
time: '2024-08-28T05:58:27.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31559
- author: metalgearsloth
changes:
- message: Fix AI being ejectable.
type: Fix
id: 7230
time: '2024-08-28T07:09:05.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31561
- author: metalgearsloth
changes:
- message: Fix whitelist
type: Fix
id: 7231
time: '2024-08-28T07:11:25.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31563
- author: metalgearsloth
changes:
- message: Add shutters, windoors, etc to AI interaction whitelist.
type: Tweak
id: 7232
time: '2024-08-28T07:39:36.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31564
- author: lunarcomets
changes:
- message: updated AI job icon
type: Tweak
id: 7233
time: '2024-08-28T08:18:51.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31565
- author: lzk228
changes:
- message: Added black suspenders for mime.
type: Add
id: 7234
time: '2024-08-28T09:43:31.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/29055
- author: saintmuntzer
changes:
- message: Riot helmet now matches security helmet colors.
type: Fix
id: 7235
time: '2024-08-28T11:27:09.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31530
- author: coolboy911
changes:
- message: wide-spectrum anomaly locator is now included in cyborg's anomaly module
type: Add
id: 7236
time: '2024-08-28T12:36:31.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31427
- author: deltanedas
changes:
- message: You can now build carp statues with luxury materials.
type: Add
id: 7237
time: '2024-08-28T13:08:55.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31261
- author: PopGamer46
changes:
- message: Fixed shuttles not being able to FTL onto the station
type: Fix
id: 7238
time: '2024-08-28T13:22:21.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31569
- author: themias
changes:
- message: Defibs batteries no longer drain when switched off
type: Fix
id: 7239
time: '2024-08-28T17:31:47.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31593
- author: themias
changes:
- message: Fixed the nuke disk being marked 'left behind' when escaping with it
on the shuttle
type: Fix
id: 7240
time: '2024-08-28T20:05:05.0000000+00:00'
url: https://github.com/space-wizards/space-station-14/pull/31602
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/job/department.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ department-Engineering = Engineering
department-Medical = Medical
department-Security = Security
department-Science = Science
department-Silicon = Silicons
department-Silicon = Silicon
department-Specific = Station specific
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/paper/story-generation.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ story-gen-book-character-trait11 = poor
story-gen-book-character-trait12 = popular
story-gen-book-character-trait13 = absent-minded
story-gen-book-character-trait14 = stern
story-gen-book-character-trait15 = сharismatic
story-gen-book-character-trait15 = charismatic
story-gen-book-character-trait16 = stoic
story-gen-book-character-trait17 = cute
story-gen-book-character-trait18 = dwarven
Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/en-US/preferences/loadout-groups.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ loadout-group-mime-mask = Mime mask
loadout-group-mime-jumpsuit = Mime jumpsuit
loadout-group-mime-backpack = Mime backpack
loadout-group-mime-outerclothing = Mime outer clothing
loadout-group-mime-belt = Mime belt
loadout-group-musician-jumpsuit = Musician jumpsuit
loadout-group-musician-outerclothing = Musician outer clothing
Expand Down
4 changes: 2 additions & 2 deletions Resources/Locale/en-US/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ uplink-barber-scissors-name = Barber Scissors
uplink-barber-scissors-desc = A good tool to give your fellow agent a nice haircut, unless you want to give it to yourself.
uplink-backpack-syndicate-name = Syndicate backpack
uplink-backpack-syndicate-desc = Lightweight explosion-proof а backpack for holding various traitor goods
uplink-backpack-syndicate-desc = Lightweight explosion-proof a backpack for holding various traitor goods
uplink-combat-bakery-name = Combat Bakery Kit
uplink-combat-bakery-desc = A kit of clandestine baked weapons. Contains a baguette which a skilled mime could use as a sword and a pair of throwing croissants. Once the job is done, eat the evidence.
uplink-combat-bakery-desc = A kit of clandestine baked weapons. Contains a baguette which a skilled mime could use as a sword and a pair of throwing croissants. Once the job is done, eat the evidence.
2 changes: 1 addition & 1 deletion Resources/Maps/Shuttles/escape_pod_small.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ entities:
rot: 1.5707963267948966 rad
pos: -1.5,0.5
parent: 29
- proto: AtmosDeviceFanDirectional
- proto: AtmosDeviceFanTiny
entities:
- uid: 9
components:
Expand Down
Loading

0 comments on commit 5afc8f7

Please sign in to comment.