]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Replace some to do with TODO (#30346)
authorlzk <124214523+lzk228@users.noreply.github.com>
Thu, 25 Jul 2024 08:04:03 +0000 (10:04 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2024 08:04:03 +0000 (11:04 +0300)
Replace to do with TODO

Content.Server/Anomaly/AnomalySynchronizerSystem.cs
Content.Server/Anomaly/Effects/ReagentProducerAnomalySystem.cs
Content.Server/Flash/DamagedByFlashingSystem.cs
Content.Server/Lightning/LightningSystem.cs
Resources/Prototypes/Catalog/VendingMachines/Inventories/magivend.yml
Resources/Prototypes/Entities/Objects/Tools/toolbox.yml
Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/coil.yml
Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/generator.yml
Resources/Prototypes/Maps/train.yml

index 434a3fef66b177a19631e34bb4a3452cf917639f..9f18a412925556e4f8c06bc99f08eb051f0b75d7 100644 (file)
@@ -122,7 +122,7 @@ public sealed partial class AnomalySynchronizerSystem : EntitySystem
         _audio.PlayPvs(ent.Comp.ConnectedSound, ent);
     }
 
-    //TO DO: disconnection from the anomaly should also be triggered if the anomaly is far away from the synchronizer.
+    //TODO: disconnection from the anomaly should also be triggered if the anomaly is far away from the synchronizer.
     //Currently only bluespace anomaly can do this, but for some reason it is the only one that cannot be connected to the synchronizer.
     private void DisconneсtFromAnomaly(Entity<AnomalySynchronizerComponent> ent, AnomalyComponent anomaly)
     {
index 0e49c5ee56b03c57a2c56dd76250d5df6dafd9cc..d289fdabff81727da1f64b63b5f5f86c4fcc2c9f 100644 (file)
@@ -76,7 +76,7 @@ public sealed class ReagentProducerAnomalySystem : EntitySystem
             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;
 
index cf0368ca42af1422aaeae12dc59021376f5b8997..5b4c19b8e547953c5d0dcb5b4180611fa5c1a5a6 100644 (file)
@@ -16,7 +16,7 @@ public sealed class DamagedByFlashingSystem : EntitySystem
     {
         _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.
     }
 }
index 2147ac80f2e93f2a61f9c16dab9e31155498925f..94f3ab88023f8217d0f1dc8428588813c640a02f 100644 (file)
@@ -71,9 +71,9 @@ public sealed class LightningSystem : SharedLightningSystem
     /// <param name="triggerLightningEvents">if the lightnings being fired should trigger lightning events.</param>
     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<LightningTargetComponent>(_transform.GetMapCoordinates(user), range).ToList();
index 7617186dd9c3e2698702deed570810a47c8c3f94..821c916353c53ba4b91d23051b615526865cc917 100644 (file)
@@ -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.
index 0a0c70232459c84cbdcaac987b69907c7ce9afce..db319118576b255e2237851260f7c74807b1fd1b 100644 (file)
     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
index b63f131a7f4ca135e526e5ad60aa6e45cff84c23..dc2ad1687a5baa810000082162b7e6d8a8bae214 100644 (file)
               SheetSteel1:
                 min: 2
                 max: 4
-  #- type: GuideHelp #   To Do - add Tesla Guide
+  #- type: GuideHelp # TODO - add Tesla Guide
 
 - type: entity
   id: TeslaGroundingRod
               SheetSteel1:
                 min: 2
                 max: 4
-  #- type: GuideHelp #   To Do - add Tesla Guide
+  #- type: GuideHelp # TODO - add Tesla Guide
 
index a8c61634dfbe52d4ef6480afd1b3ed592f692542..d45e6c58ea753a8ceab0d91262894871f86f7e63 100644 (file)
@@ -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
 
index a93c4558885cc11f360423c213f44c92a02f3983..0925b5ead1d132b5e8957e00c8bfa6a12d1d3a6d 100644 (file)
@@ -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