From: Peptide90 <78795277+Peptide90@users.noreply.github.com> Date: Sun, 18 May 2025 08:14:31 +0000 (+0100) Subject: Adds marker component to roof markers (#35453) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=5b7c00b374bbdec7b8ff53082aeba947bb4fd432;p=space-station-14.git Adds marker component to roof markers (#35453) * Adds marker component to roof markers So now you can show and hide them properly. * a --------- Co-authored-by: metalgearsloth --- diff --git a/Resources/Prototypes/Entities/Markers/tile.yml b/Resources/Prototypes/Entities/Markers/tile.yml index 2ced9e9958..5f195409b9 100644 --- a/Resources/Prototypes/Entities/Markers/tile.yml +++ b/Resources/Prototypes/Entities/Markers/tile.yml @@ -1,20 +1,8 @@ -- type: entity - id: BaseRoofMarker - abstract: true - placement: - mode: SnapgridCenter - components: - - type: Transform - anchored: true - - type: Sprite - drawdepth: Overdoors - sprite: Markers/cross.rsi - - type: entity id: RoofMarker name: Roof suffix: Enabled - parent: BaseRoofMarker + parent: MarkerBase components: - type: SetRoof value: true @@ -27,7 +15,7 @@ id: NoRoofMarker name: Roof suffix: Disabled - parent: BaseRoofMarker + parent: MarkerBase components: - type: SetRoof value: false