From f56e4f6624cbcd26eed68cc92a716a63f6065e74 Mon Sep 17 00:00:00 2001 From: lzk <124214523+lzk228@users.noreply.github.com> Date: Thu, 25 Jul 2024 10:04:03 +0200 Subject: [PATCH] Replace some to do with TODO (#30346) Replace to do with TODO --- Content.Server/Anomaly/AnomalySynchronizerSystem.cs | 2 +- .../Anomaly/Effects/ReagentProducerAnomalySystem.cs | 2 +- Content.Server/Flash/DamagedByFlashingSystem.cs | 2 +- Content.Server/Lightning/LightningSystem.cs | 6 +++--- .../Catalog/VendingMachines/Inventories/magivend.yml | 2 +- Resources/Prototypes/Entities/Objects/Tools/toolbox.yml | 4 ++-- .../Entities/Structures/Power/Generation/Tesla/coil.yml | 4 ++-- .../Structures/Power/Generation/Tesla/generator.yml | 4 ++-- Resources/Prototypes/Maps/train.yml | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Content.Server/Anomaly/AnomalySynchronizerSystem.cs b/Content.Server/Anomaly/AnomalySynchronizerSystem.cs index 434a3fef66b177..9f18a412925556 100644 --- a/Content.Server/Anomaly/AnomalySynchronizerSystem.cs +++ b/Content.Server/Anomaly/AnomalySynchronizerSystem.cs @@ -122,7 +122,7 @@ private void ConnectToAnomaly(Entity ent, Entity ent, AnomalyComponent anomaly) { diff --git a/Content.Server/Anomaly/Effects/ReagentProducerAnomalySystem.cs b/Content.Server/Anomaly/Effects/ReagentProducerAnomalySystem.cs index 0e49c5ee56b03c..d289fdabff8172 100644 --- a/Content.Server/Anomaly/Effects/ReagentProducerAnomalySystem.cs +++ b/Content.Server/Anomaly/Effects/ReagentProducerAnomalySystem.cs @@ -76,7 +76,7 @@ public override void Update(float frameTime) if (anomaly.Severity >= 0.97) reagentProducingAmount *= component.SupercriticalReagentProducingModifier; newSol.AddReagent(component.ProducingReagent, reagentProducingAmount); - _solutionContainer.TryAddSolution(component.Solution.Value, newSol); //TO DO - the container is not fully filled. + _solutionContainer.TryAddSolution(component.Solution.Value, newSol); // TODO - the container is not fully filled. component.AccumulatedFrametime = 0; diff --git a/Content.Server/Flash/DamagedByFlashingSystem.cs b/Content.Server/Flash/DamagedByFlashingSystem.cs index cf0368ca42af14..5b4c19b8e54795 100644 --- a/Content.Server/Flash/DamagedByFlashingSystem.cs +++ b/Content.Server/Flash/DamagedByFlashingSystem.cs @@ -16,7 +16,7 @@ private void OnFlashAttempt(Entity ent, ref FlashAtt { _damageable.TryChangeDamage(ent, ent.Comp.FlashDamage); - //To Do: It would be more logical if different flashes had different power, + //TODO: It would be more logical if different flashes had different power, //and the damage would be inflicted depending on the strength of the flash. } } diff --git a/Content.Server/Lightning/LightningSystem.cs b/Content.Server/Lightning/LightningSystem.cs index 2147ac80f2e93f..94f3ab88023f82 100644 --- a/Content.Server/Lightning/LightningSystem.cs +++ b/Content.Server/Lightning/LightningSystem.cs @@ -71,9 +71,9 @@ public void ShootLightning(EntityUid user, EntityUid target, string lightningPro /// if the lightnings being fired should trigger lightning events. public void ShootRandomLightnings(EntityUid user, float range, int boltCount, string lightningPrototype = "Lightning", int arcDepth = 0, bool triggerLightningEvents = true) { - //To Do: add support to different priority target tablem for different lightning types - //To Do: Remove Hardcode LightningTargetComponent (this should be a parameter of the SharedLightningComponent) - //To Do: This is still pretty bad for perf but better than before and at least it doesn't re-allocate + //TODO: add support to different priority target tablem for different lightning types + //TODO: Remove Hardcode LightningTargetComponent (this should be a parameter of the SharedLightningComponent) + //TODO: This is still pretty bad for perf but better than before and at least it doesn't re-allocate // several hashsets every time var targets = _lookup.GetComponentsInRange(_transform.GetMapCoordinates(user), range).ToList(); diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/magivend.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/magivend.yml index 7617186dd9c3e2..821c916353c53b 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/magivend.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/magivend.yml @@ -9,6 +9,6 @@ ClothingHeadHatVioletwizard: 3 ClothingOuterWizardViolet: 3 ClothingShoesWizard: 9 - #TO DO: + #TODO: #only missing staff #and if wizarditis reagent when hacked if we want this. diff --git a/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml b/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml index 0a0c70232459c8..db319118576b25 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/toolbox.yml @@ -155,10 +155,10 @@ state: icon - type: ThiefUndeterminedBackpack possibleSets: - # - TO DO Thief pinpointer needed + # TODO Thief pinpointer needed - ChemistrySet - ToolsSet - - ChameleonSet # - TO DO Chameleon stump PR needed + - ChameleonSet # TODO Chameleon stump PR needed - SyndieSet - SleeperSet - CommunicatorSet diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml index b63f131a7f4ca1..dc2ad1687a5baa 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml @@ -101,7 +101,7 @@ SheetSteel1: min: 2 max: 4 - #- type: GuideHelp # To Do - add Tesla Guide + #- type: GuideHelp # TODO - add Tesla Guide - type: entity id: TeslaGroundingRod @@ -184,5 +184,5 @@ SheetSteel1: min: 2 max: 4 - #- type: GuideHelp # To Do - add Tesla Guide + #- type: GuideHelp # TODO - add Tesla Guide diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/generator.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/generator.yml index a8c61634dfbe52..d45e6c58ea753a 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/generator.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/generator.yml @@ -8,7 +8,7 @@ noRot: true sprite: Structures/Power/Generation/Tesla/generator.rsi state: icon - - type: SingularityGenerator #To do: rename the generator + - type: SingularityGenerator # TODO: rename the generator spawnId: TeslaEnergyBall - type: InteractionOutline - type: Fixtures @@ -25,5 +25,5 @@ layer: - Opaque - type: Anchorable - #- type: GuideHelp # To Do - add Tesla Guide + #- type: GuideHelp # TODO - add Tesla Guide diff --git a/Resources/Prototypes/Maps/train.yml b/Resources/Prototypes/Maps/train.yml index a93c4558885cc1..0925b5ead1d132 100644 --- a/Resources/Prototypes/Maps/train.yml +++ b/Resources/Prototypes/Maps/train.yml @@ -16,7 +16,7 @@ !type:NanotrasenNameGenerator prefixCreator: 'ED' - type: StationEmergencyShuttle - emergencyShuttlePath: /Maps/Shuttles/emergency_omega.yml # To do - add railway station + emergencyShuttlePath: /Maps/Shuttles/emergency_omega.yml # TODO - add railway station - type: StationJobs availableJobs: #service