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 <comedian_vs_clown@hotmail.com>
This commit is contained in:
Peptide90
2025-05-18 09:14:31 +01:00
committed by GitHub
parent 9a57fc7895
commit 5b7c00b374

View 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