Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ratyy week update 2 #681

Merged
merged 16 commits into from
May 12, 2024
Merged
3 changes: 1 addition & 2 deletions Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ public sealed class PostMapInitTest
"ADTCore",
"ADTMarathon",
"ADTAtlas",

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

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

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.Alive)
if (TryComp<MobStateComponent>(uid, out var mobstate) && mobstate.CurrentState != MobState.Dead)
{
AddComp<HeadRevolutionaryComponent>(uid);
return false;
Expand Down
1 change: 0 additions & 1 deletion Content.Server/Sandbox/Commands/ColorNetworkCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ 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: 6 additions & 0 deletions Content.Server/Store/Components/StoreComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ 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 = Spawn(listing.ProductEntity, Transform(buyer).Coordinates);
var product = component.StoreCordsSpawn ? Spawn(listing.ProductEntity, Transform(uid).Coordinates) : 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: 11 additions & 3 deletions Resources/Changelog/ChangelogADT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1751,15 +1751,23 @@ 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: 55746 #костыль отображения в Обновлениях
id: 55747
time: '2024-05-07T23:25:00.0000000+00:00'

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Loading
Loading