Skip to content

Commit

Permalink
Merge branch 'master' into 2025-10-01-PriceFixTyne
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 authored Jan 10, 2025
2 parents d168b38 + fd5e8dc commit cf15478
Show file tree
Hide file tree
Showing 8 changed files with 215 additions and 43 deletions.
9 changes: 9 additions & 0 deletions Content.Server/Materials/MaterialStorageSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Content.Shared.Materials;
using Content.Shared.Popups;
using Content.Shared.Stacks;
using Content.Server.Storage.Components; // Frontier
using Content.Server.Power.Components;
using Content.Server.Stack;
using Content.Shared.ActionBlocker;
Expand Down Expand Up @@ -81,6 +82,14 @@ private void OnEjectMessage(EjectMaterialMessage msg, EntitySessionEventArgs arg
if (volume <= 0 || !TryChangeMaterialAmount(uid, msg.Material, -volume))
return;

// Frontier
// If we made it this far, turn off the magnet before spawning materials
if (TryComp<MaterialStorageMagnetPickupComponent>(uid, out var magnet))
{
magnet.MagnetEnabled = false;
}
// end Frontier

var mats = SpawnMultipleFromMaterial(volume, material, Transform(uid).Coordinates, out _);
foreach (var mat in mats.Where(mat => !TerminatingOrDeleted(mat)))
{
Expand Down
16 changes: 16 additions & 0 deletions Resources/Changelog/Frontier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6282,3 +6282,19 @@ Entries:
message: No longer possible to fly debris, wrecks, and salvage
id: 5637
time: '2025-01-07T16:01:29.0000000+00:00'
- author: Alkheemist
changes:
- type: Tweak
message: Lathes now automatically disable their magnets when ejecting materials.
id: 5638
time: '2025-01-08T10:14:46.0000000+00:00'
- author: blackknight954
changes: []
id: 5639
time: '2025-01-08T10:17:27.0000000+00:00'
- author: dustylens
changes:
- type: Add
message: Dresses added to contractor loadout.
id: 5640
time: '2025-01-09T19:55:37.0000000+00:00'
48 changes: 8 additions & 40 deletions Resources/Maps/_NF/Shuttles/Expedition/gasbender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,6 @@ entities:
parent: 1
- type: Physics
canCollide: False
bodyType: Static
- type: Fixtures
fixtures: {}
- uid: 840
Expand All @@ -1858,7 +1857,6 @@ entities:
parent: 1
- type: Physics
canCollide: False
bodyType: Static
- type: Fixtures
fixtures: {}
- proto: BenchSofaCorpLeft
Expand All @@ -1869,8 +1867,6 @@ entities:
rot: 1.5707963267948966 rad
pos: -0.5,9.5
parent: 1
- type: Physics
bodyType: Static
- proto: BenchSofaCorpMiddle
entities:
- uid: 528
Expand All @@ -1879,24 +1875,18 @@ entities:
rot: 3.141592653589793 rad
pos: 1.5,8.5
parent: 1
- type: Physics
bodyType: Static
- uid: 539
components:
- type: Transform
rot: 3.141592653589793 rad
pos: 0.5,8.5
parent: 1
- type: Physics
bodyType: Static
- uid: 540
components:
- type: Transform
rot: 3.141592653589793 rad
pos: 2.5,8.5
parent: 1
- type: Physics
bodyType: Static
- proto: BenchSofaCorpRight
entities:
- uid: 833
Expand All @@ -1905,8 +1895,6 @@ entities:
rot: -1.5707963267948966 rad
pos: 3.5,9.5
parent: 1
- type: Physics
bodyType: Static
- proto: BenchSofaLeft
entities:
- uid: 516
Expand All @@ -1915,8 +1903,6 @@ entities:
rot: 3.141592653589793 rad
pos: -1.5,13.5
parent: 1
- type: Physics
bodyType: Static
- proto: BenchSofaRight
entities:
- uid: 510
Expand All @@ -1925,8 +1911,6 @@ entities:
rot: 3.141592653589793 rad
pos: -0.5,13.5
parent: 1
- type: Physics
bodyType: Static
- proto: BlastDoor
entities:
- uid: 79
Expand Down Expand Up @@ -3541,19 +3525,6 @@ entities:
rot: -1.5707963267948966 rad
pos: 0.5,-13.5
parent: 1
- type: ContainerContainer
containers:
board: !type:Container
showEnts: False
occludes: True
ents: []
bank-ATM-cashSlot: !type:ContainerSlot
showEnts: False
occludes: True
ent: null
- type: Physics
canCollide: False
- type: ItemSlots
- proto: ConveyorBelt
entities:
- uid: 7
Expand Down Expand Up @@ -3969,16 +3940,6 @@ entities:
rot: 1.5707963267948966 rad
pos: -6.5,-10.5
parent: 1
- type: ContainerContainer
containers:
ShipyardConsole-targetId: !type:ContainerSlot
showEnts: False
occludes: True
ent: null
board: !type:Container
showEnts: False
occludes: True
ents: []
- proto: GasFilterFlipped
entities:
- uid: 89
Expand Down Expand Up @@ -5234,6 +5195,13 @@ entities:
parent: 1
- type: AtmosPipeColor
color: '#990000FF'
- proto: GasRecyclerMachineCircuitboard
entities:
- uid: 891
components:
- type: Transform
pos: -2.4430587,2.3822143
parent: 1
- proto: GasThermoMachineFreezer
entities:
- uid: 414
Expand Down Expand Up @@ -7823,7 +7791,7 @@ entities:
rot: -1.5707963267948966 rad
pos: -1.5,1.5
parent: 1
- proto: WarpPointShip
- proto: WarpPoint
entities:
- uid: 818
components:
Expand Down
4 changes: 2 additions & 2 deletions Resources/Maps/_NF/Shuttles/lyrae.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2419,8 +2419,8 @@ entities:
pos: 3.5,-4.5
parent: 2
- type: GasMixer
inletTwoConcentration: 0.78
inletOneConcentration: 0.22
inletTwoConcentration: 0.21
inletOneConcentration: 0.79
- type: AtmosPipeColor
color: '#0055CCFF'
- proto: GasPassiveVent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
- machine_parts
- machine_board
- board_slot
- type: MaterialStorageMagnetPickup # Frontier
range: 0.30 # Frontier
# - type: StaticPrice # Frontier
# price: 2000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
sound:
collection: MetalBreak
- type: StaticPrice
price: 10000
price: 300 # Frontier 10000<300
- type: Machine
board: StationAnchorCircuitboard
- type: ContainerContainer
Expand Down
160 changes: 160 additions & 0 deletions Resources/Prototypes/_NF/Loadouts/Jobs/Contractor/jumpsuit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,166 @@
equipment:
jumpsuit: ClothingUniformJumpskirtLawyerGood

- type: loadout
id: ContractorClothingUniformJumpskirtBlackElegantDress
name: black elegant dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtBlackElegantDress

- type: loadout
id: ContractorClothingUniformJumpskirtRedElegantDress
name: red elegant dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtRedElegantDress

- type: loadout
id: ContractorClothingUniformJumpskirtGreenElegantDress
name: green elegant dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtGreenElegantDress

- type: loadout
id: ContractorClothingUniformJumpskirtBlueElegantDress
name: blue elegant dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtBlueElegantDress

- type: loadout
id: ContractorClothingUniformJumpskirtPurpleElegantDress
name: purple elegant dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtPurpleElegantDress

- type: loadout
id: ContractorClothingUniformJumpskirtCyanStripedDress
name: cyan striped dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtCyanStripedDress

- type: loadout
id: ContractorClothingUniformJumpskirtRedStripedDress
name: red striped dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtRedStripedDress

- type: loadout
id: ContractorClothingUniformJumpskirtGreenStripedDress
name: green striped dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtGreenStripedDress

- type: loadout
id: ContractorClothingUniformJumpskirtPinkStripedDress
name: pink striped dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtPinkStripedDress

- type: loadout
id: ContractorClothingUniformJumpskirtOrangeStripedDress
name: orange striped dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtOrangeStripedDress

- type: loadout
id: ContractorClothingUniformJumpskirtPurpleTurtleneckDress
name: purple turtleneck dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtPurpleTurtleneckDress

- type: loadout
id: ContractorClothingUniformJumpskirtRedTurtleneckDress
name: red turtleneck dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtRedTurtleneckDress

- type: loadout
id: ContractorClothingUniformJumpskirtGreenTurtleneckDress
name: green turtleneck dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtGreenTurtleneckDress

- type: loadout
id: ContractorClothingUniformJumpskirtBlueTurtleneckDress
name: blue turtleneck dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtBlueTurtleneckDress

- type: loadout
id: ContractorClothingUniformJumpskirtYellowTurtleneckDress
name: yellow turtleneck dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtYellowTurtleneckDress

- type: loadout
id: ContractorClothingUniformJumpskirtYellowOldDress
name: yellow old dress
effects:
- !type:GroupLoadoutEffect
proto: ContractorT1
price: 500
equipment:
jumpsuit: ClothingUniformJumpskirtYellowOldDress

# Punk stuff
- type: loadout
id: ContractorClothingUniformRandomPunkCroptop
Expand Down
17 changes: 17 additions & 0 deletions Resources/Prototypes/_NF/Loadouts/contractor_loadout_groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,23 @@
- ContractorClothingUniformJumpsuitMilitaryColorPurple
- ContractorClothingUniformJumpsuitMilitaryColorLightBrown
- ContractorClothingUniformJumpsuitMilitaryColorBrown
- ContractorClothingUniformJumpskirtBlackElegantDress
- ContractorClothingUniformJumpskirtRedElegantDress
- ContractorClothingUniformJumpskirtGreenElegantDress
- ContractorClothingUniformJumpskirtBlueElegantDress
- ContractorClothingUniformJumpskirtPurpleElegantDress
- ContractorClothingUniformJumpskirtCyanStripedDress
- ContractorClothingUniformJumpskirtRedStripedDress
- ContractorClothingUniformJumpskirtGreenStripedDress
- ContractorClothingUniformJumpskirtPinkStripedDress
- ContractorClothingUniformJumpskirtOrangeStripedDress
- ContractorClothingUniformJumpskirtPurpleTurtleneckDress
- ContractorClothingUniformJumpskirtRedTurtleneckDress
- ContractorClothingUniformJumpskirtGreenTurtleneckDress
- ContractorClothingUniformJumpskirtBlueTurtleneckDress
- ContractorClothingUniformJumpskirtYellowTurtleneckDress
- ContractorClothingUniformJumpskirtYellowOldDress

fallbacks:
- ContractorClothingUniformJumpsuitColorGrey
- ContractorClothingUniformJumpskirtColorGrey
Expand Down

0 comments on commit cf15478

Please sign in to comment.