Skip to content

Commit

Permalink
Merge branch 'master' into january-vanilla-upstream-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 authored Feb 3, 2024
2 parents b6fae8e + 8ae82b4 commit da83d1a
Show file tree
Hide file tree
Showing 57 changed files with 680 additions and 1,298 deletions.
10 changes: 9 additions & 1 deletion Content.Server/Power/Generator/PortableGeneratorSystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Content.Server.DoAfter;
using Content.Server.DoAfter;
using Content.Server.Popups;
using Content.Shared.DoAfter;
using Content.Shared.Power.Generator;
Expand Down Expand Up @@ -39,6 +39,14 @@ public override void Initialize()
SubscribeLocalEvent<PortableGeneratorComponent, PortableGeneratorSwitchOutputMessage>(GeneratorSwitchOutputMessage);

SubscribeLocalEvent<FuelGeneratorComponent, SwitchPowerCheckEvent>(OnSwitchPowerCheck);

SubscribeLocalEvent<PortableGeneratorComponent, MapInitEvent>(GeneratorMapInit); // Frontier
}

private void GeneratorMapInit(EntityUid uid, PortableGeneratorComponent component, MapInitEvent args) // Frontier - Init on map generator
{
if (component.StartOnMapInit)
_generator.SetFuelGeneratorOn(uid, true);
}

private void GeneratorSwitchOutputMessage(EntityUid uid, PortableGeneratorComponent component, PortableGeneratorSwitchOutputMessage args)
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Power/Generator/FuelGeneratorComponent.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Robust.Shared.GameStates;
using Robust.Shared.GameStates;

namespace Content.Shared.Power.Generator;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Robust.Shared.Audio;
using Robust.Shared.Audio;
using Robust.Shared.Serialization;

namespace Content.Shared.Power.Generator;
Expand Down Expand Up @@ -42,6 +42,12 @@ public sealed partial class PortableGeneratorComponent : Component
[DataField("startSoundEmpty")]
[ViewVariables(VVAccess.ReadWrite)]
public SoundSpecifier? StartSoundEmpty { get; set; }

/// <summary>
/// Frontier - Start the generator with the map.
/// </summary>
[DataField("startOnMapInit")]
public bool StartOnMapInit { get; set; } = false;
}

/// <summary>
Expand Down
18 changes: 18 additions & 0 deletions Resources/Changelog/Changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3174,3 +3174,21 @@ Entries:
message: Updated (and slightly reworked) NR Sparrow to current mapping standards.
id: 4799
time: '2024-02-02T23:12:12.0000000+00:00'
- author: dvir01
changes:
- type: Add
message: Added clown & mime gear to AutoDrob.
id: 4800
time: '2024-02-03T17:56:47.0000000+00:00'
- author: dvir01
changes:
- type: Add
message: Added small gyro and thrusters to cargo and sci tech.
id: 4801
time: '2024-02-03T17:58:48.0000000+00:00'
- author: dvir01
changes:
- type: Tweak
message: Emotional support cats can now swap hats (Mail, Pirate, Chef)
id: 4802
time: '2024-02-03T17:59:55.0000000+00:00'
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ ent-CrateThruster = { ent-BaseThruster }
ent-CrateGyroscope = { ent-Gyroscope }
.desc = { ent-Gyroscope.desc }
ent-CrateSmallThruster = { ent-SmallThruster }
.desc = { ent-BaseThruster.desc }
ent-CrateSmallGyroscope = { ent-SmallGyroscope }
.desc = { ent-Gyroscope.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ent-SmallThruster = small thruster
.desc = { ent-BaseThruster.desc }
ent-SmallGyroscope = small gyroscope
.desc = { ent-Gyroscope.desc }
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
ClothingUniformJumpsuitJesterAlt: 8
ClothingShoesJester: 8
ClothingNeckBellCollar: 8
ClothingOuterWinterClown: 4
ClothingOuterWinterMime: 4
ClothingOuterWinterMusician: 4
ClothingMaskJoy: 2
ClothingHeadHatCardborg: 2
Expand Down Expand Up @@ -39,9 +37,6 @@
ClothingUniformJumpsuitDameDane: 2
ClothingShoesDameDane: 2
ClothingOuterDameDane: 2
ClothingOuterClownPriest: 1
ClothingMaskSadMime: 1
ClothingMaskScaredMime: 1
ClothingUniformJumpsuitKimono: 1
ClothingHeadHatCasa: 1
ClothingHeadHatHairflower: 1
Expand All @@ -50,9 +45,6 @@
ClothingUniformJumpskirtPerformer: 2
ClothingShoesBootsPerformer: 2
ClothingNeckCloakMoth: 2
ClothingMaskClown: 2
ClothingMaskMime: 2
ClothingShoesClown: 2
ClothingUniformJumpskirtJanimaid: 2
ClothingHeadBandRed: 1
ClothingHeadHatPirate: 1
Expand All @@ -67,8 +59,29 @@
ClothingHandsGlovesBoxingGreen: 2
UniformShortsRed: 4
UniformShortsRedWithTop: 4
ClothingBackpackClownFilled: 2
ClothingBackpackSatchelClown: 2
ClothingBackpackDuffelClown: 2
ClothingMaskClown: 2
ClothingShoesClown: 2
ClothingUniformJumpsuitClown: 2
ClothingOuterWinterClown: 2
ClothingOuterClownPriest: 1
RubberStampClown: 1
ClothingBackpackMime: 2
ClothingBackpackSatchelMime: 2
ClothingBackpackDuffelMime: 2
ClothingHeadHatMimesoft: 2
ClothingMaskMime: 2
ClothingMaskSadMime: 1
ClothingMaskScaredMime: 1
ClothingUniformJumpsuitMime: 2
ClothingUniformJumpskirtMime: 2
ClothingOuterWinterMime: 2
ClothingBeltSuspenders: 2
RubberStampMime: 1
contrabandInventory: # Frontier - Hidden inventory
ClothingHeadHatMimesoftFlipped: 1
emaggedInventory:
ClothingShoesBling: 1
ClothingOuterDogi: 1
Expand Down
3 changes: 0 additions & 3 deletions Resources/Prototypes/Entities/Clothing/Ears/headsets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,6 @@
sprite: Clothing/Ears/Headsets/service.rsi
- type: Clothing
sprite: Clothing/Ears/Headsets/service.rsi
- type: Tag
tags:
- PetWearableCat

- type: entity
parent: ClothingHeadset
Expand Down
6 changes: 6 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Head/hats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
- ClothMade
- HamsterWearable
- WhitelistChameleon
- CatWearable # Frontier

- type: entity
parent: ClothingHeadBase
Expand Down Expand Up @@ -336,6 +337,11 @@
sprite: Clothing/Head/Hats/pirate.rsi
- type: Clothing
sprite: Clothing/Head/Hats/pirate.rsi
- type: Tag # Frontier
tags:
- ClothMade
- WhitelistChameleon
- CatWearable

- type: entity
parent: ClothingHeadBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@

- type: entity
id: ComputerCargoOrders
parent: BaseStructureComputer
parent: [BaseStructureUnanchorable, BaseStructureIndestructible, BaseStructureComputer] # Frontier
name: cargo request computer
description: Used to order supplies and approve requests.
placement:
Expand Down Expand Up @@ -754,13 +754,6 @@
- type: GuideHelp
guides:
- Cargo
- type: Anchorable # Frontier
delay: 999999
- type: Destructible # Frontier
thresholds:
- trigger:
!type:DamageTrigger
damage: 0

- type: entity
id: ComputerCargoBounty
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@
- StationMapElectronics
- DeepFryerMachineCircuitboard
# End Nyano additions
- SmallThrusterMachineCircuitboard # Frontier
- SmallGyroscopeMachineCircuitboard # Frontier
- type: MaterialStorage
whitelist:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
noRot: false

- type: entity
parent: VendingMachine
parent: [BaseStructureUnanchorable, VendingMachine] # Frontier
id: VendingMachineAmmo
name: Liberation Station
description: An overwhelming amount of ancient patriotism washes over you just by looking at the machine.
Expand Down Expand Up @@ -197,7 +197,7 @@
- Bartender

- type: entity
parent: VendingMachine
parent: [BaseStructureUnanchorable, VendingMachine] # Frontier
id: VendingMachineCart
name: PTech
description: PTech vending! Providing a ROBUST selection of PDAs, cartridges, and anything else a dull paper pusher needs!
Expand Down Expand Up @@ -1757,7 +1757,7 @@
map: ["enum.WiresVisualLayers.MaintenancePanel"]

- type: entity
parent: VendingMachine
parent: [BaseStructureUnanchorable, VendingMachine] # Frontier
id: VendingMachineSyndieDrobe
name: SyndieDrobe
description: Wardrobe machine encoded by the syndicate, contains elite outfits for various operations.
Expand Down Expand Up @@ -1855,7 +1855,7 @@
map: ["enum.WiresVisualLayers.MaintenancePanel"]

- type: entity
parent: VendingMachine
parent: [BaseStructureUnanchorable, VendingMachine] # Frontier
id: VendingMachineCentDrobe
name: CentDrobe
description: A one-of-a-kind vending machine for all your centcom aesthetic needs!
Expand Down
9 changes: 1 addition & 8 deletions Resources/Prototypes/Entities/Structures/cargo_telepad.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- type: entity
id: CargoTelepad
parent: BaseMachinePowered
parent: [BaseStructureUnanchorable, BaseStructureIndestructible, BaseMachinePowered] # Frontier
name: cargo telepad
description: Beam in the pizzas and dig in.
components:
Expand Down Expand Up @@ -47,10 +47,3 @@
board: CargoTelepadMachineCircuitboard
- type: Appearance
- type: CollideOnAnchor
- type: Destructible # Frontier
thresholds:
- trigger:
!type:DamageTrigger
damage: 0
- type: Anchorable # Frontier
delay: 999999
2 changes: 2 additions & 0 deletions Resources/Prototypes/Research/industrial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
- ThrusterMachineCircuitboard
- GyroscopeMachineCircuitboard
- MiniGravityGeneratorCircuitboard
- SmallThrusterMachineCircuitboard # Frontier
- SmallGyroscopeMachineCircuitboard # Frontier

- type: technology
id: AdvancedAtmospherics
Expand Down
29 changes: 19 additions & 10 deletions Resources/Prototypes/_NF/Catalog/Cargo/cargo_shuttle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,22 @@
category: Shuttle
group: market

# - type: cargoProduct
# id: ShuttlePowerKit
# icon:
# sprite: Structures/Machines/computers.rsi
# state: avionics-systems
# product: CrateEngineeringShuttle
# cost: 3000
# category: Shuttle
# group: market
# locked: true # only the QM has permission to order by default
- type: cargoProduct
id: ShuttleSmallThruster
icon:
sprite: Structures/Shuttles/thruster.rsi
state: base
product: CrateSmallThruster
cost: 500
category: Shuttle
group: market

- type: cargoProduct
id: ShuttleSmallGyroscope
icon:
sprite: Structures/Shuttles/gyroscope.rsi
state: base
product: CrateSmallGyroscope
cost: 500
category: Shuttle
group: market
16 changes: 16 additions & 0 deletions Resources/Prototypes/_NF/Catalog/Fills/Crates/engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,19 @@
- type: StorageFill
contents:
- id: ThrusterUnanchored

- type: entity
id: CrateSmallGyroscope
parent: CrateEngineering
components:
- type: StorageFill
contents:
- id: SmallGyroscopeUnanchored

- type: entity
id: CrateSmallThruster
parent: CrateEngineering
components:
- type: StorageFill
contents:
- id: SmallThrusterUnanchored
Loading

0 comments on commit da83d1a

Please sign in to comment.