Skip to content

Commit

Permalink
fix-upstream-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lokilife committed Aug 17, 2024
1 parent b1b8126 commit 0240958
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 108 deletions.
9 changes: 0 additions & 9 deletions Content.Server/Administration/Systems/AdminSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public override void Initialize()
Subs.CVar(_config, CCVars.PanicBunkerShowReason, OnPanicBunkerShowReasonChanged, true);
Subs.CVar(_config, CCVars.PanicBunkerMinAccountAge, OnPanicBunkerMinAccountAgeChanged, true);
Subs.CVar(_config, CCVars.PanicBunkerMinOverallMinutes, OnPanicBunkerMinOverallMinutesChanged, true);
Subs.CVar(_config, CCCVars.PanicBunkerDenyVPN, OnPanicBunkerDenyVpnChanged, true); // Corvax-VPNGuard

/*
* TODO: Remove baby jail code once a more mature gateway process is established. This code is only being issued as a stopgap to help with potential tiding in the immediate future.
Expand Down Expand Up @@ -328,14 +327,6 @@ private void OnBabyJailMaxOverallMinutesChanged(int minutes)
SendBabyJailStatusAll();
}

// Corvax-VPNGuard-Start
private void OnPanicBunkerDenyVpnChanged(bool deny)
{
PanicBunker.DenyVpn = deny;
SendPanicBunkerStatusAll();
}
// Corvax-VPNGuard-End

private void UpdatePanicBunker()
{
var admins = PanicBunker.CountDeadminnedAdmins
Expand Down
1 change: 0 additions & 1 deletion Content.Server/Chat/Managers/ChatManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ internal sealed partial class ChatManager : IChatManager

public void Initialize()
{
IoCManager.Instance!.TryResolveType(out _sponsorsManager); // Corvax-Sponsors
_netManager.RegisterNetMessage<MsgChatMessage>();
_netManager.RegisterNetMessage<MsgDeleteChatMessagesBy>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ ent-LoneOpsSpawn = { ent-BaseNukeopsRule }
.desc = { ent-BaseNukeopsRule.desc }
ent-SleeperAgents = { ent-BaseTraitorRule }
.desc = { ent-BaseTraitorRule.desc }
ent-ImmovableRodSpawn = { ent-BaseGameRule }
.desc = { ent-BaseGameRule.desc }
ent-IonStorm = { ent-BaseGameRule }
.desc = { ent-BaseGameRule.desc }
ent-MimicVendorRule = { ent-BaseGameRule }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- type: entity
parent: ClothingHandsGlovesColorBlack
parent: [ClothingHandsGlovesColorBlack, BaseCommandContraband]
id: ClothingHandsGlovesBlueshield
name: blueshield gloves
description: These tactical gloves are fireproof and shock resistant.
Expand All @@ -8,8 +8,6 @@
sprite: Exodus/Clothing/Hands/Gloves/blueshield.rsi
- type: Clothing
sprite: Exodus/Clothing/Hands/Gloves/blueshield.rsi
- type: GloveHeatResistance
heatResistance: 1400
- type: Insulated
- type: Fiber
fiberMaterial: fibers-insulative
44 changes: 0 additions & 44 deletions Resources/Prototypes/Exodus/Loadouts/Jobs/Security/brigmedic.yml
Original file line number Diff line number Diff line change
@@ -1,109 +1,65 @@
# Brigmedic beret
- type: loadout
id: BrigmedicBeret
equipment: BrigmedicBeret

- type: startingGear
id: BrigmedicBeret
equipment:
head: ClothingHeadHatBeretSecurityMedic

# Medical Security Mask
- type: loadout
id: MedicalSecurityMask
equipment: MedicalSecurityMask

- type: startingGear
id: MedicalSecurityMask
equipment:
mask: ClothingMaskBreathMedicalSecurity

# AMG coat
- type: loadout
id: AMGCoat
equipment: AMGCoat

- type: startingGear
id: AMGCoat
equipment:
outerClothing: ClothingOuterCoatAMG

# Brigmedic coat
- type: loadout
id: BrigmedicCoat
equipment: BrigmedicCoat

- type: startingGear
id: BrigmedicCoat
equipment:
outerClothing: ClothingOuterCoatLabSecurityMedic

# Brigmedic vest
- type: loadout
id: BrigmedicVest
equipment: BrigmedicVest

- type: startingGear
id: BrigmedicVest
equipment:
outerClothing: ClothingOuterVestSecurityMedic

# Brigmedic jumpsuit
- type: loadout
id: BrigmedicJumpsuit
equipment: BrigmedicJumpsuit

- type: startingGear
id: BrigmedicJumpsuit
equipment:
jumpsuit: ClothingUniformJumpsuitBrigmedic

# Brigmedic jumpskirt
- type: loadout
id: BrigmedicJumpskirt
equipment: BrigmedicJumpskirt

- type: startingGear
id: BrigmedicJumpskirt
equipment:
jumpsuit: ClothingUniformJumpskirtBrigmedic

# Brigmedic backpack
- type: loadout
id: BrigmedicBackpack
equipment: BrigmedicBackpack

- type: startingGear
id: BrigmedicBackpack
equipment:
back: ClothingBackpackBrigmedic

# Brigmedic satchel
- type: loadout
id: BrigmedicSatchel
equipment: BrigmedicSatchel

- type: startingGear
id: BrigmedicSatchel
equipment:
back: ClothingBackpackSatchelBrigmedic

# Brigmedic duffel
- type: loadout
id: BrigmedicDuffel
equipment: BrigmedicDuffel

- type: startingGear
id: BrigmedicDuffel
equipment:
back: ClothingBackpackDuffelBrigmedic

# Red Shoes
- type: loadout
id: RedShoes
equipment: RedShoes

- type: startingGear
id: RedShoes
equipment:
shoes: ClothingShoesColorRed
2 changes: 0 additions & 2 deletions Resources/Prototypes/Exodus/Maps/Pools/classic.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
- type: gameMapPool
id: ExodusClassicMapPool
maps:
- Atlas
- Bagel
- Box
- Core
Expand All @@ -16,7 +15,6 @@
- Fland
- Marathon
- Meta
- Origin
# Exodus Supported Maps
- ExodusPacked
- ExodusCluster
Expand Down
3 changes: 2 additions & 1 deletion Resources/Prototypes/Exodus/StatusIcon/job.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- type: statusIcon
- type: jobIcon
parent: JobIcon
id: JobIconBlueshieldOfficer
icon:
sprite: /Textures/Interface/Misc/job_icons.rsi
state: BlueshieldOfficer
jobName: job-name-blueshield
54 changes: 27 additions & 27 deletions Resources/Prototypes/GameRules/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
- id: BluespaceLocker
- id: BreakerFlip
- id: BureaucraticError
- id: ClericalError
# - id: ClericalError # Exodus
- id: CockroachMigration
- id: GasLeak
- id: IonStorm # its calm like 90% of the time smh
- id: KudzuGrowth
- id: MassHallucinations
# - id: MassHallucinations # Exodus
- id: MimicVendorRule
- id: MouseMigration
- id: PowerGridCheck
Expand Down Expand Up @@ -129,16 +129,16 @@
duration: 1
- type: BureaucraticErrorRule

# - type: entity # Exodus
# id: ClericalError
# parent: BaseGameRule
# components:
# - type: StationEvent
# startAnnouncement: station-event-clerical-error-announcement
# minimumPlayers: 15
# weight: 5
# duration: 1
# - type: ClericalErrorRule
- type: entity
id: ClericalError
parent: BaseGameRule
components:
- type: StationEvent
startAnnouncement: station-event-clerical-error-announcement
minimumPlayers: 15
weight: 5
duration: 1
- type: ClericalErrorRule

- type: entity
parent: BaseGameRule
Expand Down Expand Up @@ -566,21 +566,21 @@
- type: TraitorRole
prototype: TraitorSleeper

# - type: entity # Exodus
# id: MassHallucinations
# parent: BaseGameRule
# components:
# - type: StationEvent
# weight: 7
# duration: 150
# maxDuration: 300
# reoccurrenceDelay: 30
# - type: MassHallucinationsRule
# minTimeBetweenIncidents: 0.1
# maxTimeBetweenIncidents: 300
# maxSoundDistance: 7
# sounds:
# collection: Paracusia
- type: entity
id: MassHallucinations
parent: BaseGameRule
components:
- type: StationEvent
weight: 7
duration: 150
maxDuration: 300
reoccurrenceDelay: 30
- type: MassHallucinationsRule
minTimeBetweenIncidents: 0.1
maxTimeBetweenIncidents: 300
maxSoundDistance: 7
sounds:
collection: Paracusia

- type: entity
parent: BaseGameRule
Expand Down
38 changes: 19 additions & 19 deletions Resources/Prototypes/GameRules/unknown_shuttles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
- id: UnknownShuttleCargoLost
- id: UnknownShuttleTravelingCuisine
- id: UnknownShuttleDisasterEvacPod
- id: UnknownShuttleHonki
# - id: UnknownShuttleHonki # Exodus

- type: entityTable
id: UnknownShuttlesFreelanceTable
table: !type:AllSelector # we need to pass a list of rules, since rules have further restrictions to consider via StationEventComp
children:
- id: UnknownShuttleSyndieEvacPod
children: []
# - id: UnknownShuttleSyndieEvacPod # Exodus

- type: entityTable
id: UnknownShuttlesHostileTable
Expand Down Expand Up @@ -59,20 +59,20 @@
- type: LoadMapRule
preloadedGrid: DisasterEvacPod

# - type: entity # Exodus
# parent: BaseUnknownShuttleRule
# id: UnknownShuttleHonki
# components:
# - type: StationEvent
# weight: 2
# - type: LoadMapRule
# preloadedGrid: Honki
- type: entity
parent: BaseUnknownShuttleRule
id: UnknownShuttleHonki
components:
- type: StationEvent
weight: 2
- type: LoadMapRule
preloadedGrid: Honki

# - type: entity
# parent: BaseUnknownShuttleRule
# id: UnknownShuttleSyndieEvacPod
# components:
# - type: StationEvent
# weight: 2
# - type: LoadMapRule
# preloadedGrid: SyndieEvacPod
- type: entity
parent: BaseUnknownShuttleRule
id: UnknownShuttleSyndieEvacPod
components:
- type: StationEvent
weight: 2
- type: LoadMapRule
preloadedGrid: SyndieEvacPod

0 comments on commit 0240958

Please sign in to comment.