Cleanup markers

- Removes PhysicsComponent from all of them.
- Makes most spawners/markers actually inherit MarkerBase
This commit is contained in:
Vera Aguilera Puerto
2020-12-20 01:00:48 +01:00
parent b44cb0095a
commit c0a0547b39
5 changed files with 7 additions and 39 deletions

View File

@@ -62,6 +62,7 @@
- type: entity
id: RandomArcade
name: Random Arcade Spawner
parent: MarkerBase
components:
- type: RandomArcade
- type: Sprite

View File

@@ -1,21 +1,10 @@
- type: entity
name: base conditional spawner
id: BaseConditionalSpawner
parent: MarkerBase
abstract: true
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: cross_blue
- type: Marker
- type: Clickable
- type: InteractionOutline
- type: Physics
- type: ConditionalSpawner
placement:
mode: AlignTileAny
- type: entity
name: Suspicion Rifle Spawner

View File

@@ -5,12 +5,13 @@
- type: Marker
- type: Clickable
- type: InteractionOutline
- type: Physics
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: cross_blue
placement:
mode: AlignTileAny

View File

@@ -1,21 +1,10 @@
- type: entity
name: spawn point
id: SpawnPoint
parent: MarkerBase
abstract: true
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: cross_blue
- type: SpawnPoint
- type: Marker
- type: Clickable
- type: InteractionOutline
- type: Physics
placement:
mode: AlignTileAny
- type: entity
name: latejoin spawn point

View File

@@ -1,17 +1,13 @@
- type: entity
name: Toy Spawner
id: ToySpawner
parent: MarkerBase
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_toy
- type: Marker
- type: Clickable
- type: InteractionOutline
- type: Physics
- type: TrashSpawner
rarePrototypes:
- CarvingHelpMe
@@ -32,23 +28,17 @@
- ToyMouse
chance: 0.5
offset: 0.2
placement:
mode: AlignTileAny
- type: entity
name: Figure Spawner
id: FigureSpawner
parent: MarkerBase
components:
- type: Sprite
netsync: false
visible: false
sprite: Interface/Misc/markers.rsi
state: spawner_figure
- type: Marker
- type: Clickable
- type: InteractionOutline
- type: Physics
- type: TrashSpawner
prototypes:
- ToyAi
@@ -72,5 +62,3 @@
- ToySkeleton
chance: 0.5
offset: 0.2
placement:
mode: AlignTileAny