]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds marker component to roof markers (#35453)
authorPeptide90 <78795277+Peptide90@users.noreply.github.com>
Sun, 18 May 2025 08:14:31 +0000 (09:14 +0100)
committerGitHub <noreply@github.com>
Sun, 18 May 2025 08:14:31 +0000 (18:14 +1000)
* Adds marker component to roof markers

So now you can show and hide them properly.

* a

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Resources/Prototypes/Entities/Markers/tile.yml

index 2ced9e9958de045aae116227904d312808ffe9ef..5f195409b9b842ccef6b2377953bfdeadf7b53ab 100644 (file)
@@ -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