From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 3 Mar 2023 00:01:06 +0000 (+1100) Subject: Add clickable to lava (#14353) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=829143dd5510f2fe7ea7f44e7b1bb6e440b7faa5;p=space-station-14.git Add clickable to lava (#14353) --- diff --git a/Content.Shared/StepTrigger/Components/StepTriggerComponent.cs b/Content.Shared/StepTrigger/Components/StepTriggerComponent.cs index 08e794ffad..0e0e48f25d 100644 --- a/Content.Shared/StepTrigger/Components/StepTriggerComponent.cs +++ b/Content.Shared/StepTrigger/Components/StepTriggerComponent.cs @@ -26,19 +26,19 @@ public sealed class StepTriggerComponent : Component /// Whether or not this component will currently try to trigger for entities. /// [DataField("active")] - public bool Active { get; set; } = true; + public bool Active = true; /// /// Ratio of shape intersection for a trigger to occur. /// [DataField("intersectRatio")] - public float IntersectRatio { get; set; } = 0.3f; + public float IntersectRatio = 0.3f; /// /// Entities will only be triggered if their speed exceeds this limit. /// [DataField("requiredTriggeredSpeed")] - public float RequiredTriggerSpeed { get; set; } = 3.5f; + public float RequiredTriggerSpeed = 3.5f; } [RegisterComponent] diff --git a/Resources/Prototypes/Entities/Tiles/lava.yml b/Resources/Prototypes/Entities/Tiles/lava.yml index ee91e83ecb..5d17c23692 100644 --- a/Resources/Prototypes/Entities/Tiles/lava.yml +++ b/Resources/Prototypes/Entities/Tiles/lava.yml @@ -13,6 +13,7 @@ - type: Transform anchored: true - type: SyncSprite + - type: Clickable - type: Sprite sprite: Tiles/Planet/lava.rsi netsync: false