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

Апстрём плюс фиксики #7

Merged
merged 24 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8273463
Update BookSpaceLaw references to Hyperlink (#1813)
whatston3 Aug 8, 2024
f3879d8
Silk craft 2 (#1787)
dustylens Aug 8, 2024
5001384
Market console price fix (#1818)
GreaseMonk Aug 8, 2024
a2c0116
Fix Cargo Trade (#1812)
dvir001 Aug 8, 2024
ebc44c1
Give parrots the ability to repeat learned phrases (#1801)
arimah Aug 8, 2024
76990b6
Automatic Changelog (#1801)
FrontierATC Aug 8, 2024
a120388
Remove the praeda (#1822)
drhat Aug 8, 2024
e5074d4
Automatic Changelog (#1822)
FrontierATC Aug 8, 2024
2266fcf
GameRule Rework (POI Spawning) (#1737)
Cheackraze Aug 8, 2024
f0c5969
Automatic Changelog (#1737)
FrontierATC Aug 8, 2024
4f710b2
Fix debug builds so we can debug again (#1825)
GreaseMonk Aug 9, 2024
e4d11d2
Raisins + some minor ingredient and microwave recipe changes (#1823)
arimah Aug 9, 2024
9b8b3bb
Automatic Changelog (#1823)
FrontierATC Aug 9, 2024
7bf2346
DevNF (Update) (#1826)
dvir001 Aug 9, 2024
7d8ace1
Resaved dungeon templates under recent master (#1828)
ErhardSteinhauer Aug 9, 2024
c3f7530
Automatic Changelog (#1826)
FrontierATC Aug 9, 2024
c97eec1
FixMerge
Vonsant Aug 9, 2024
be4243b
Translate
Vonsant Aug 9, 2024
c1af36c
Merge remote-tracking branch 'upstream/master' into Up090824
Vonsant Aug 9, 2024
1040db4
Pacified Zone marker (#1815)
Vonsant Aug 9, 2024
016d800
VesselListControl: remove jobless stations (#1827)
whatston3 Aug 9, 2024
9bbdb85
Merge remote-tracking branch 'upstream/master' into Up090824
Vonsant Aug 9, 2024
bb1e15f
Floors fixes
Vonsant Aug 9, 2024
7fd6e32
Localisation
Vonsant Aug 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Content.Client/_NF/Latejoin/VesselListControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ private void UpdateUi(IReadOnlyDictionary<NetEntity, Dictionary<ProtoId<JobProto
if (VesselItemList.Any(x => (NetEntity) x.Metadata! == key))
continue;

if (_gameTicker.JobsAvailable[key].Values.Count == 0)
continue; // No jobs here, continue.

var jobsAvailable = _gameTicker.JobsAvailable[key].Values.Sum(a => a ?? 0);
var item = new ItemList.Item(VesselItemList)
{
Expand Down
1 change: 1 addition & 0 deletions Content.Client/_NF/Market/UI/MarketMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public void UpdateState(MarketConsoleInterfaceState uiState)
PurchaseCart.Text = _loc.GetString("market-purchase-cart-button") +
(uiState.CartBalance + uiState.TransactionCost);
SetUiEnabled(uiState.Enabled);
PurchaseCart.Disabled = uiState.CartDataList.Count <= 0;
}

private void Populate(List<MarketData> data, List<MarketData> cartData, float marketModifier, bool enabled = true)
Expand Down
7 changes: 6 additions & 1 deletion Content.Server/Kitchen/EntitySystems/MicrowaveSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,12 @@ public override void Update(float frameTime)
for (var i = 0; i < active.PortionedRecipe.Item2; i++)
{
SubtractContents(microwave, active.PortionedRecipe.Item1);
Spawn(active.PortionedRecipe.Item1.Result, coords);
// Frontier: ResultCount - support multiple results per recipe
for (var r = 0; r < active.PortionedRecipe.Item1.ResultCount; r++)
{
Spawn(active.PortionedRecipe.Item1.Result, coords);
}
// End Frontier
}
}

Expand Down
8 changes: 8 additions & 0 deletions Content.Server/Nyanotrasen/Abilities/Felinid/FelinidSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using Robust.Shared.Prototypes;
using Content.Shared.Nutrition.EntitySystems;
using Content.Shared.Nyanotrasen.Abilities;
using Content.Shared.CombatMode.Pacification; // Frontier

namespace Content.Server.Abilities.Felinid
{
Expand All @@ -47,6 +48,8 @@ public override void Initialize()
SubscribeLocalEvent<FelinidComponent, DidUnequipHandEvent>(OnUnequipped);
SubscribeLocalEvent<HairballComponent, ThrowDoHitEvent>(OnHairballHit);
SubscribeLocalEvent<HairballComponent, GettingPickedUpAttemptEvent>(OnHairballPickupAttempt);

SubscribeLocalEvent<HairballComponent, AttemptPacifiedThrowEvent>(OnHairballAttemptPacifiedThrow); // Frontier - Block hairball abuse
}

private Queue<EntityUid> RemQueue = new();
Expand Down Expand Up @@ -190,6 +193,11 @@ private void OnHairballPickupAttempt(EntityUid uid, HairballComponent component,
args.Cancel();
}
}

private void OnHairballAttemptPacifiedThrow(Entity<HairballComponent> ent, ref AttemptPacifiedThrowEvent args) // Frontier - Block hairball abuse
{
args.Cancel("pacified-cannot-throw-hairball");
}
}

}
16 changes: 12 additions & 4 deletions Content.Server/_NF/GameRule/AdventureRuleComponent.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
using Robust.Shared.Audio;

namespace Content.Server.GameTicking.Rules.Components;
/*
* New Frontiers - This file is licensed under AGPLv3
* Copyright (c) 2024 New Frontiers
* See AGPLv3.txt for details.
*/
namespace Content.Server._NF.GameRule;

[RegisterComponent, Access(typeof(NfAdventureRuleSystem))]
public sealed partial class AdventureRuleComponent : Component
{

public List<EntityUid> NFPlayerMinds = new();
public List<EntityUid> CargoDepots = new();
public List<EntityUid> MarketStations = new();
public List<EntityUid> RequiredPois = new();
public List<EntityUid> OptionalPois = new();
public List<EntityUid> UniquePois = new();
}
Loading
Loading