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 - type: entity
id: RandomArcade id: RandomArcade
name: Random Arcade Spawner name: Random Arcade Spawner
parent: MarkerBase
components: components:
- type: RandomArcade - type: RandomArcade
- type: Sprite - type: Sprite

View File

@@ -1,21 +1,10 @@
- type: entity - type: entity
name: base conditional spawner name: base conditional spawner
id: BaseConditionalSpawner id: BaseConditionalSpawner
parent: MarkerBase
abstract: true abstract: true
components: 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 - type: ConditionalSpawner
placement:
mode: AlignTileAny
- type: entity - type: entity
name: Suspicion Rifle Spawner name: Suspicion Rifle Spawner

View File

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

View File

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

View File

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