Skip to content

Commit

Permalink
Boost inflation
Browse files Browse the repository at this point in the history
  • Loading branch information
NEirotoXiN committed Dec 3, 2024
1 parent 4209f40 commit f2da4b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public override void Update(float frameTime)

if (numberCrates >= 1 && numberCrates <= 19)
modifier = 1;
else if (numberCrates >= 20 && numberCrates <= 39)
modifier = 0.9;
else if (numberCrates >= 40 && numberCrates <= 69)
modifier = 0.85;
else if (numberCrates >= 70)
modifier = 0.82;
else if (numberCrates >= 20 && numberCrates <= 29)
modifier = 0.8;
else if (numberCrates >= 30 && numberCrates <= 49)
modifier = 0.6;
else if (numberCrates >= 50)
modifier = 0.5;

foreach (var iterator in _entManager.EntityQuery<TradeCrateComponent>(true))
{
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/_NF/Catalog/Fills/Crates/trade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@
parent: CrateTradeBaseSecureHigh
name: high value cargo trading crate
description: Contains high value goods made in the Frontier sector, ready to be sold on a cargo depot for higher value. MAKE SURE THE CRATE IS INTACT.
components:
- type: InflationCargoCrate
isInflated: false

0 comments on commit f2da4b7

Please sign in to comment.