Skip to content

Commit

Permalink
Replace some to do with TODO (space-wizards#30346)
Browse files Browse the repository at this point in the history
Replace to do with TODO
  • Loading branch information
lzk228 authored Jul 25, 2024
1 parent 50ba20c commit f56e4f6
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Anomaly/AnomalySynchronizerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void ConnectToAnomaly(Entity<AnomalySynchronizerComponent> ent, Entity<A
_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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Flash/DamagedByFlashingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ private void OnFlashAttempt(Entity<DamagedByFlashingComponent> 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.
}
}
6 changes: 3 additions & 3 deletions Content.Server/Lightning/LightningSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ public void ShootLightning(EntityUid user, EntityUid target, string lightningPro
/// <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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Objects/Tools/toolbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -184,5 +184,5 @@
SheetSteel1:
min: 2
max: 4
#- type: GuideHelp # To Do - add Tesla Guide
#- type: GuideHelp # TODO - add Tesla Guide

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,5 +25,5 @@
layer:
- Opaque
- type: Anchorable
#- type: GuideHelp # To Do - add Tesla Guide
#- type: GuideHelp # TODO - add Tesla Guide

2 changes: 1 addition & 1 deletion Resources/Prototypes/Maps/train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f56e4f6

Please sign in to comment.