Skip to content

Commit

Permalink
Sorry for the trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
plykiya committed Aug 7, 2024
1 parent e443646 commit e60fd9a
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Botany/Systems/BotanySwabSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private void OnAfterInteract(EntityUid uid, BotanySwabComponent swab, AfterInter
{
Broadcast = true,
BreakOnMove = true,
NeedHand = true,
NeedHand = true
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private HandleResult HandleInteraction(EntityUid uid, object ev, ConstructionGra
{
BreakOnDamage = false,
BreakOnMove = true,
NeedHand = true,
NeedHand = true
};

var started = _doAfterSystem.TryStartDoAfter(doAfterEventArgs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public bool TryInsert(EntityUid unitId, EntityUid toInsertId, EntityUid? userId,
{
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = false,
NeedHand = false
};

_doAfterSystem.TryStartDoAfter(doAfterArgs);
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Ensnaring/EnsnareableSystem.Ensnaring.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void TryFree(EntityUid target, EntityUid user, EntityUid ensnare, Ensnari
BreakOnMove = breakOnMove,
BreakOnDamage = false,
NeedHand = true,
BreakOnDropItem = false,
BreakOnDropItem = false
};

if (!_doAfter.TryStartDoAfter(doAfterEventArgs))
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Kitchen/EntitySystems/KitchenSpikeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public bool TrySpike(EntityUid uid, EntityUid userUid, EntityUid victimUid, Kitc
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
BreakOnDropItem = false,
BreakOnDropItem = false
};

_doAfter.TryStartDoAfter(doAfterArgs);
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Kitchen/EntitySystems/SharpSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private bool TryStartButcherDoafter(EntityUid knife, EntityUid target, EntityUid
{
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
NeedHand = true
};
_doAfterSystem.TryStartDoAfter(doAfter);
return true;
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/MagicMirror/MagicMirrorSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private void OnMagicMirrorSelect(EntityUid uid, MagicMirrorComponent component,
DistanceThreshold = SharedInteractionSystem.InteractionRange,
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
NeedHand = true
},
out var doAfterId);

Expand Down Expand Up @@ -219,7 +219,7 @@ private void OnTryMagicMirrorAddSlot(EntityUid uid, MagicMirrorComponent compone
{
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
NeedHand = true
},
out var doAfterId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private void OnAfterInteractUsing(Entity<BiomassReclaimerComponent> reclaimer, r
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, args.User, delay, new ReclaimerDoAfterEvent(), reclaimer, target: args.Target, used: args.Used)
{
NeedHand = true,
BreakOnMove = true,
BreakOnMove = true
});
}

Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Medical/HealthAnalyzerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private void OnAfterInteract(Entity<HealthAnalyzerComponent> uid, ref AfterInter
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, args.User, uid.Comp.ScanDelay, new HealthAnalyzerDoAfterEvent(), uid, target: args.Target, used: uid)
{
NeedHand = true,
BreakOnMove = true,
BreakOnMove = true
});

var msg = Loc.GetString("health-analyzer-popup-scan-target", ("user", Identity.Entity(args.User, EntityManager)));
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Nuke/NukeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ private void DisarmBombDoafter(EntityUid uid, EntityUid user, NukeComponent nuke
{
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
NeedHand = true
};

if (!_doAfter.TryStartDoAfter(doAfter))
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Power/Generator/PortableGeneratorSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void StartGenerator(EntityUid uid, PortableGeneratorComponent component,
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
BreakOnDropItem = false,
BreakOnDropItem = false
});
}

Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Resist/ResistLockerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private void AttemptResist(EntityUid user, EntityUid target, EntityStorageCompon
{
BreakOnMove = true,
BreakOnDamage = true,
NeedHand = false, //No hands 'cause we be kickin'
NeedHand = false //No hands 'cause we be kickin'
};

resistLockerComponent.IsResisting = true;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/SprayPainter/SprayPainterSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void OnPipeInteract(Entity<AtmosPipeColorComponent> ent, ref InteractUsi
BreakOnDamage = true,
// multiple pipes can be sprayed at once just not the same one
DuplicateCondition = DuplicateConditions.SameTarget,
NeedHand = true,
NeedHand = true
};

args.Handled = DoAfter.TryStartDoAfter(doAfterEventArgs);
Expand Down
4 changes: 2 additions & 2 deletions Content.Server/Sticky/Systems/StickySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private bool StartSticking(EntityUid uid, EntityUid user, EntityUid target, Stic
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, user, delay, new StickyDoAfterEvent(), uid, target: target, used: uid)
{
BreakOnMove = true,
NeedHand = true,
NeedHand = true
});
}
else
Expand Down Expand Up @@ -149,7 +149,7 @@ private void StartUnsticking(EntityUid uid, EntityUid user, StickyComponent? com
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, user, delay, new StickyDoAfterEvent(), uid, target: uid)
{
BreakOnMove = true,
NeedHand = true,
NeedHand = true
});
}
else
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Burial/BurialSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void OnInteractUsing(EntityUid uid, GraveComponent component, InteractUs
{
BreakOnMove = true,
BreakOnDamage = true,
NeedHand = true,
NeedHand = true
};

if (component.Stream == null)
Expand Down
4 changes: 2 additions & 2 deletions Content.Shared/Inventory/InventorySystem.Equip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public bool TryEquip(EntityUid actor, EntityUid target, EntityUid itemUid, strin
itemUid)
{
BreakOnMove = true,
NeedHand = true,
NeedHand = true
};

_doAfter.TryStartDoAfter(args);
Expand Down Expand Up @@ -417,7 +417,7 @@ public bool TryUnequip(
removedItem.Value)
{
BreakOnMove = true,
NeedHand = true,
NeedHand = true
};

_doAfter.TryStartDoAfter(args);
Expand Down
4 changes: 2 additions & 2 deletions Content.Shared/Lock/LockSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public bool TryLock(EntityUid uid, EntityUid user, LockComponent? lockComp = nul
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
BreakOnDropItem = false,
BreakOnDropItem = false
});
}

Expand Down Expand Up @@ -205,7 +205,7 @@ public bool TryUnlock(EntityUid uid, EntityUid user, LockComponent? lockComp = n
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
BreakOnDropItem = false,
BreakOnDropItem = false
});
}

Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Magic/SpellbookSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void AttemptLearn(Entity<SpellbookComponent> ent, UseInHandEvent args)
{
BreakOnMove = true,
BreakOnDamage = true,
NeedHand = true, //What, are you going to read with your eyes only??
NeedHand = true //What, are you going to read with your eyes only??
};

_doAfter.TryStartDoAfter(doAfterEventArgs);
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/SprayPainter/SharedSprayPainterSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private void OnAirlockInteract(Entity<PaintableAirlockComponent> ent, ref Intera
{
BreakOnMove = true,
BreakOnDamage = true,
NeedHand = true,
NeedHand = true
};
if (!DoAfter.TryStartDoAfter(doAfterEventArgs, out var id))
return;
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/Storage/EntitySystems/DumpableSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private void StartDoAfter(EntityUid storageUid, EntityUid targetUid, EntityUid u
_doAfterSystem.TryStartDoAfter(new DoAfterArgs(EntityManager, userUid, delay, new DumpableDoAfterEvent(), storageUid, target: targetUid, used: storageUid)
{
BreakOnMove = true,
NeedHand = true,
NeedHand = true
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ private void AfterInteract(EntityUid uid, StorageComponent storageComp, AfterInt
{
BreakOnDamage = true,
BreakOnMove = true,
NeedHand = true,
NeedHand = true
};

_doAfterSystem.TryStartDoAfter(doAfterArgs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private void OnAfterInteract(EntityUid uid, VendingMachineRestockComponent compo
{
BreakOnMove = true,
BreakOnDamage = true,
NeedHand = true,
NeedHand = true
};

if (!_doAfter.TryStartDoAfter(doAfterArgs))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void OnBallisticAfterInteract(EntityUid uid, BallisticAmmoProviderCompon
{
BreakOnMove = true,
BreakOnDamage = false,
NeedHand = true,
NeedHand = true
});
}

Expand Down

0 comments on commit e60fd9a

Please sign in to comment.