Skip to content

Commit

Permalink
Merge pull request #693 from xtray85/revert-681-mech-update-
Browse files Browse the repository at this point in the history
Revert "ratyy week update 2"
  • Loading branch information
PyotrIgn authored May 14, 2024
2 parents df1f9fa + 3f9f686 commit 1dd29c3
Show file tree
Hide file tree
Showing 83 changed files with 41,131 additions and 282,728 deletions.
3 changes: 2 additions & 1 deletion Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ public sealed class PostMapInitTest
"ADTCore",
"ADTMarathon",
"ADTAtlas",
"ADTDelta",

// Corvax-Start
"CorvaxAvrite",
"CorvaxDelta",
// Corvax-End

"Dev",
Expand Down
3 changes: 3 additions & 0 deletions Content.Server/ADT/SecretTrans/SecretTransComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

namespace Content.Server.ADT.SecretTrans;

/// <summary>
/// Lizard specific properties
/// </summary>
[RegisterComponent]
public sealed partial class SecretTransComponent : Component
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ private bool CheckRevsLose()
{
if (HasComp<HeadRevolutionaryComponent>(uid))
continue;
if (TryComp<MobStateComponent>(uid, out var mobstate) && mobstate.CurrentState != MobState.Dead)
if (TryComp<MobStateComponent>(uid, out var mobstate) && mobstate.CurrentState == MobState.Alive)
{
AddComp<HeadRevolutionaryComponent>(uid);
return false;
Expand Down
1 change: 1 addition & 0 deletions Content.Server/Sandbox/Commands/ColorNetworkCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Content.Server.Sandbox.Commands
[AnyCommand]
public sealed class ColorNetworkCommand : IConsoleCommand
{
[Dependency] private readonly IAdminManager _adminManager = default!;
[Dependency] private readonly IEntityManager _entManager = default!;

public string Command => "colornetwork";
Expand Down
6 changes: 0 additions & 6 deletions Content.Server/Store/Components/StoreComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ public sealed partial class StoreComponent : Component
[DataField]
public EntityUid? StartingMap;

/// <summary>
/// The map the store was originally from, used to block refunds if the map is changed
/// </summary>
[ViewVariables, DataField]
public bool StoreCordsSpawn = false;

#region audio
/// <summary>
/// The sound played to the buyer when a purchase is succesfully made.
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Store/Systems/StoreSystem.Ui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private void OnBuyRequest(EntityUid uid, StoreComponent component, StoreBuyListi
//spawn entity
if (listing.ProductEntity != null)
{
var product = component.StoreCordsSpawn ? Spawn(listing.ProductEntity, Transform(uid).Coordinates) : Spawn(listing.ProductEntity, Transform(buyer).Coordinates);
var product = Spawn(listing.ProductEntity, Transform(buyer).Coordinates);
_hands.PickupOrDrop(buyer, product);

HandleRefundComp(uid, component, product);
Expand Down
Binary file modified Resources/Audio/Announcements/welcome.ogg
Binary file not shown.
14 changes: 3 additions & 11 deletions Resources/Changelog/ChangelogADT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1751,23 +1751,15 @@ Entries:
- {message: "Синдикат сменил стандартную структуру своих аванпостов.", type: Add}
id: 55745
time: '2024-05-07T08:20:00.0000000+00:00'

- author: Крыса
changes:
- {message: "Для экипажа станции провели брифинг по использованию фазона. Теперь, вы можете использовать фазу.", type: Add}
- {message: "СБ получили партию мехов пабби.", type: Add}
- {message: "Дельту маштабно перестроили.", type: Tweak}
id: 55746
time: '2024-05-12T08:20:00.0000000+00:00'

- author: Мудрый дуб
changes:
- {message: "НТ решили не выдавать бесплатные деньги в вещмешках парамедика, а оставить себе.", type: Fix}
id: 55747
id: 55746 #костыль отображения в Обновлениях
time: '2024-05-07T23:25:00.0000000+00:00'

- author: JustKekc
changes:
- {message: "Добавлена замена '??' в тексте сообщения на 'вопросительно смотрит' эмоцией.", type: Add}
id: 55748
time: '2024-05-10T20:25:00.0000000+00:00'
id: 55747 #костыль отображения в Обновлениях
time: '2024-05-10T20:25:00.0000000+00:00'
1,374 changes: 690 additions & 684 deletions Resources/Maps/ADTMaps/adt_bagel.yml

Large diffs are not rendered by default.

437 changes: 233 additions & 204 deletions Resources/Maps/ADTMaps/adt_box.yml

Large diffs are not rendered by default.

316 changes: 102 additions & 214 deletions Resources/Maps/ADTMaps/adt_cluster.yml

Large diffs are not rendered by default.

327 changes: 172 additions & 155 deletions Resources/Maps/ADTMaps/adt_core.yml

Large diffs are not rendered by default.

249,901 changes: 0 additions & 249,901 deletions Resources/Maps/ADTMaps/adt_delta.yml

This file was deleted.

440 changes: 180 additions & 260 deletions Resources/Maps/ADTMaps/adt_fland.yml

Large diffs are not rendered by default.

Loading

0 comments on commit 1dd29c3

Please sign in to comment.