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

Недельный апстримчик #126

Merged
merged 26 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f2b77fd
Mark with empty suffix
Partmedia Nov 16, 2024
6d9072b
Fix cartridge despawn
Partmedia Nov 16, 2024
6d04e85
bitterdrink (#684)
Berserker-88 Nov 19, 2024
b9f9798
Update radio_channels.yml (#695)
ReginaeSpence Nov 19, 2024
917db3d
MAKING RANGED RAIDERS NOT A PAIN (#683)
6SpadesLuke Nov 19, 2024
f067a16
Spore Plant (#670)
TeaTimeDino Nov 19, 2024
297813d
Introducing the Blue Line Caravan Company (#694)
the-adom Nov 19, 2024
23e6ae4
Ghoul Races Nerf (#696)
ReginaeSpence Nov 19, 2024
a4adfc2
Update nuka.yml (#697)
ReginaeSpence Nov 19, 2024
3fab13a
Mob rad fix (#700)
ReginaeSpence Nov 20, 2024
f35c2fc
Update spear.yml (#698)
ReginaeSpence Nov 20, 2024
2ba8729
caravan company hat fix (#701)
the-adom Nov 20, 2024
255c83d
training sword (#570)
6SpadesLuke Nov 20, 2024
7fb8d47
Feat/crimson caravan cargo (#667)
r4iser Nov 21, 2024
b759cff
Lighters In Smokes (#703)
ReginaeSpence Nov 21, 2024
3131b51
Update drinks_bottles.yml (#702)
ReginaeSpence Nov 23, 2024
233fff9
healing powder change (#715)
Berserker-88 Nov 23, 2024
5acb75e
loadout, kit and names fixes as requested by the ever-watchful Z (#711)
the-adom Nov 23, 2024
03973bc
NCR Loadout Changes (#720)
troytroy400 Nov 24, 2024
801d95c
Training sword fix (#706)
6SpadesLuke Nov 24, 2024
df01e58
FotA loadout additions (#709)
ReginaeSpence Nov 24, 2024
8fdba1c
Zeta Extra Hair (#716)
ZetaNull Nov 24, 2024
a03fbc0
Rodent Raiding (#713)
TheTrueRatKing Nov 24, 2024
e5eb020
Car bomb collisions (#717)
ReginaeSpence Nov 24, 2024
66afd86
Additional prewar clothing options. (#721)
troytroy400 Nov 24, 2024
9316836
conflicts
Zekins3366 Nov 25, 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
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ namespace Content.Server.Cargo.Components;
[Access(typeof(CargoSystem))]
public sealed partial class CargoPalletConsoleComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField("cashType", customTypeSerializer:typeof(PrototypeIdSerializer<StackPrototype>))]
public string CashType = "Credit";
[ViewVariables(VVAccess.ReadWrite), DataField("cashType", customTypeSerializer: typeof(PrototypeIdSerializer<StackPrototype>))]
public string CashType = "Caps";
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ namespace Content.Server.Cargo.Components;
public sealed partial class StationBankAccountComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField("balance")]
public int Balance = 2000;
public int Balance = 500;

/// <summary>
/// How much the bank balance goes up per second, every Delay period. Rounded down when multiplied.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("increasePerSecond")]
public int IncreasePerSecond = 1;
public float IncreasePerSecond = 0.05f;
}
4 changes: 2 additions & 2 deletions Content.Server/Cargo/Systems/CargoSystem.Orders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public sealed partial class CargoSystem
/// <summary>
/// How much time to wait (in seconds) before increasing bank accounts balance.
/// </summary>
private const int Delay = 10;
private const int Delay = 200;

/// <summary>
/// Keeps track of how much time has elapsed since last balance increase.
Expand Down Expand Up @@ -84,7 +84,7 @@ private void UpdateConsole(float frameTime)

foreach (var account in EntityQuery<StationBankAccountComponent>())
{
account.Balance += account.IncreasePerSecond * Delay;
account.Balance += (int) (account.IncreasePerSecond * Delay);
}

var query = EntityQueryEnumerator<CargoOrderConsoleComponent>();
Expand Down
11 changes: 7 additions & 4 deletions Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,13 @@ protected void SetCartridgeSpent(EntityUid uid, CartridgeAmmoComponent cartridge

cartridge.Spent = spent;
Appearance.SetData(uid, AmmoVisuals.Spent, spent);

// Reduce entity spam from cartridges for N14.
if (spent)
{
var despawn = EnsureComp<TimedDespawnComponent>(uid);
despawn.Lifetime = 15f * 60; // 15 minutes
}
}

/// <summary>
Expand Down Expand Up @@ -458,10 +465,6 @@ protected void EjectCartridge(
{
Audio.PlayPvs(cartridge.EjectSound, entity, AudioParams.Default.WithVariation(SharedContentAudioSystem.DefaultVariation).WithVolume(-1f));
}

// Reduce entity spam from cartridges for N14.
var despawn = EnsureComp<TimedDespawnComponent>(entity);
despawn.Lifetime = 15f * 60; // 15 minutes
}

protected IShootable EnsureShootable(EntityUid uid)
Expand Down
20 changes: 10 additions & 10 deletions Resources/Locale/en-US/_Nuclear14/job-names.ftl
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Midwest Brotherhood
job-name-bos-mid-paladin-comm = Midwest Brotherhood Paladin Commander
job-name-bos-mid-paladin-comm = Midwest BoS Paladin Commander
job-description-bos-mid-paladin-comm = Lead the Midwest Brotherhood of Steel on their mission.
job-name-bos-mid-paladin = Midwest Brotherhood Paladin
job-name-bos-mid-paladin = Midwest BoS Paladin
job-description-bos-mid-paladin = Follow the Paladin Commander on their mission.
job-name-bos-mid-knight = Midwest Brotherhood Knight
job-name-bos-mid-knight = Midwest BoS Knight
job-description-bos-mid-knight = Follow the Paladin Commander on their mission.
job-name-bos-mid-scribe = Midwest Brotherhood Scribe
job-name-bos-mid-scribe = Midwest BoS Scribe
job-description-bos-mid-scribe = Conduct scientific missions and research for your brotherhood chapter.
job-name-bos-mid-squire = Midwest Brotherhood Squire
job-name-bos-mid-squire = Midwest BoS Squire
job-description-bos-mid-squire = Follow your Knight into battle and do their bidding.

# Washington Brotherhood
job-name-bos-washington-commander = Washington Brotherhood Commander
job-name-bos-washington-commander = Washington BoS Paladin Commander
job-description-bos-washington-commander = Lead the Washington Brotherhood of Steel to glory in their mission.
job-name-bos-washington-initiate = Washington Brotherhood Initiate
job-name-bos-washington-initiate = Washington BoS Initiate
job-description-bos-washington-initiate = Prove yourself to your chapter to progress through the ranks.
job-name-bos-washington-knight = Washington Brotherhood Knight
job-name-bos-washington-knight = Washington BoS Knight
job-description-bos-washington-knight = The military arm of the Brotherhood. Defend your chapter in their objectives and manufacture equipment.
job-name-bos-washington-paladin = Washington Brotherhood Captain
job-name-bos-washington-paladin = Washington BoS Paladin
job-description-bos-washington-paladin = Protect the Brotherhood at all costs. Take the Commanders will out into the wasteland.
job-name-bos-washington-scribe = Washington Brotherhood Scribe
job-name-bos-washington-scribe = Washington BoS Scribe
job-description-bos-washington-scribe = Conduct scientific missions and research for your brotherhood chapter.

# Caravan
Expand Down
12 changes: 6 additions & 6 deletions Resources/Locale/en-US/_Nuclear14/undecidedloadout.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ undecided-loadout-category-morale-description =
1 NCR spear flag, 1 9mm pistol, 2 9mm magazines, 1 combat knife,
and a C ration MRE.

undecided-loadout-category-medic-name = Medic Kit
undecided-loadout-category-medic-name = Combat Lifesaver Kit
undecided-loadout-category-medic-description =
A crate containing all a NCR medic needs to patrol on the wasteland.
A crate containing all an NCR CLS needs to patrol the wasteland.
Includes 1 NCR leather vest, 1 medical belt, 1 9mm SMG,
4 9mm SMG magazines, 1 combat knife, and a C ration MRE.

Expand Down Expand Up @@ -172,8 +172,8 @@ undecided-loadout-category-bos-scribe-field-name = Brotherhood Scribe Field Kit
undecided-loadout-category-bos-scribe-field-description =
A crate containing everything a member of Brotherhood scribes.
For supporting your unit from the back.
Includes 1 AEP-7 pistol, 2 energy cells, 1 medical belt,
1 field scribe clothing, 1 knife, 1 stimpak, 1 C ration MRE
Includes 1 AEP-7 pistol, 2 energy cells, 1 scribe webbing,
1 field scribe clothing, 1 knife, 2 stimpak, 1 gauze, 1 bruise pack, 1 ointment, 1 C ration MRE

undecided-loadout-category-bos-scribe-engineer-name = Brotherhood Scribe Engineer Kit
undecided-loadout-category-bos-scribe-engineer-description =
Expand Down Expand Up @@ -234,8 +234,8 @@ undecided-loadout-category-bos-washington-scribe-field-name = Brotherhood Scribe
undecided-loadout-category-bos-washington-scribe-field-description =
A crate containing everything a member of Brotherhood scribes.
For supporting your unit from the back.
Includes 1 AEP-7 pistol, 1 AEP-7 pistol, 2 energy cells, 1 medical belt,
1 field scribe clothing, 1 knife, 1 stimpak, 1 C ration MRE
Includes 1 AEP-7 pistol, 1 AEP-7 pistol, 2 energy cells, 1 scribe webbing,
1 field scribe clothing, 1 knife, 2 stimpak, 1 gauze, 1 bruise pack, 1 ointment, 1 C ration MRE

undecided-loadout-category-bos-washington-scribe-engineer-name = Brotherhood Scribe Engineer Kit
undecided-loadout-category-bos-washington-scribe-engineer-description =
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/cargo/cargo-console-component.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cargo-console-menu-account-name-label = Account name:{" "}
cargo-console-menu-account-name-none-text = None
cargo-console-menu-shuttle-name-label = Shuttle name:{" "}
cargo-console-menu-shuttle-name-none-text = None
cargo-console-menu-points-label = Spesos:{" "}
cargo-console-menu-points-label = Caps:{" "}
cargo-console-menu-points-amount = ${$amount}
cargo-console-menu-shuttle-status-label = Shuttle status:{" "}
cargo-console-menu-shuttle-status-away-text = Away
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/cargo/price-gun-component.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
price-gun-pricing-result = The device deems {THE($object)} to be worth {$price} spesos.
price-gun-pricing-result = The device deems {THE($object)} to be worth {$price} caps.
price-gun-verb-text = Appraisal
price-gun-verb-message = Appraise {THE($object)}.
price-gun-bounty-complete = The device confirms that the bounty contained within is completed.
10 changes: 10 additions & 0 deletions Resources/Locale/en-US/deltav/accessories/hair.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ marking-HumanHairClassicCrewcut = Crewcut Classic
marking-HumanHairClassicLong = Long 1 (Classic)
marking-HumanHairClassicLong2 = Long 2 (Classic)
marking-HumanHairClassicLong3 = Long 3 (Classic)
marking-ZetaHairLongSpikehair = Long Spikehair
marking-ZetaHairNerfish = Nerfish
marking-ZetaHairPlantpoofs = Plantish Poofs
marking-ZetaHairQuadspike = Quadspike
marking-ZetaHairRattyRoyalty = Ratty Royalty
marking-ZetaHairShortMessy = Short and Messy
marking-ZetaHairShortSpikehair = Short Spikehair
marking-ZetaHairSpikehawk = Spikehawk
marking-ZetaHairPolitical = The Political
marking-ZetaHairZetaBasicBraids = Basic Braids (Zeta)
1 change: 1 addition & 0 deletions Resources/Maps/N14/MercerIslandSewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ entities:
- 0
- uid: 2
components:
- type: TradeStation
- type: MetaData
name: grid
- type: Transform
Expand Down
1 change: 1 addition & 0 deletions Resources/Maps/N14/MercerIslandSurface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ entities:
- type: RadiationGridResistance
- uid: 2
components:
- type: TradeStation
- type: MetaData
name: grid
- type: Transform
Expand Down
1 change: 1 addition & 0 deletions Resources/Maps/N14/SunnyvaleSurface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ entities:
entities:
- uid: 1
components:
- type: TradeStation
- type: MetaData
name: Sunnyvale
- type: Transform
Expand Down
1 change: 1 addition & 0 deletions Resources/Maps/N14/SunnyvaleUnderground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ entities:
- 0
- uid: 2
components:
- type: TradeStation
- type: MetaData
name: SunnyvaleUnderground
- type: Transform
Expand Down
49 changes: 0 additions & 49 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_armory.yml

This file was deleted.

29 changes: 0 additions & 29 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_food.yml

This file was deleted.

19 changes: 0 additions & 19 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_fun.yml

This file was deleted.

9 changes: 0 additions & 9 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_livestock.yml

This file was deleted.

9 changes: 0 additions & 9 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_medical.yml

This file was deleted.

9 changes: 0 additions & 9 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_vending.yml

This file was deleted.

Loading
Loading