mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47:26 +00:00
* feat(wip): footprints now decals instead of entities * fix: apply proper offset to footprint decals * refactor: basedecaloffset to readonly * feat: add back dragging smears, also resolve conflicts * refactor: rename dragging to beingDragged for clarity * docs: properly document draggingdecals * refactor: remove unused reagent code * refactor: move under _DV * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat(wip): mops now able to remove decals # Conflicts: # Content.Server/_DV/Footprints/Systems/PuddleFootPrintsSystem.cs * fix: reset ColorQuantity if transparent prints * feat: implement scrubbing * refactor: remove unused import, ioc dependency * feat: remove 5u water when scrubbing * fix: remove unused attributes from protos * docs: add summary to puddlefootprintscomp * fix: colliding entity checked for flight, not the puddle also minor refactor: renamed local variables/parameters of OnEndCollide for clarity * style: remove newlines, redundant parens * test: ensure FootPrints stepSize/dragSize are positive * docs: add prediction todo * feat: add bare footprints, restore sprite assignments --------- Signed-off-by: DisposableCrewmember42 <disposablecrewmember42@proton.me> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
17 lines
577 B
C#
17 lines
577 B
C#
namespace Content.Server._DV.Footprints.Components;
|
|
|
|
/// <summary>
|
|
/// Component added to entities with PuddleComponent to enable entities leaving footprints after colliding with it.
|
|
/// System requires the following other components: AppearanceComponent, PuddleComponent, SolutionContainerManagerComponent
|
|
/// Colliding entity requires the FootPrintsComponent
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class PuddleFootPrintsComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
public float SizeRatio = 0.2f;
|
|
|
|
[ViewVariables]
|
|
public float OffPercent = 80f;
|
|
}
|