Convert familiars to GhostRoleMobSpawner (#9525)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Rane
2022-07-15 03:53:42 -04:00
committed by GitHub
parent 1cf501303f
commit 5c7eea3e42
7 changed files with 90 additions and 8 deletions

View File

@@ -14,3 +14,38 @@
layers:
- state: green
- texture: Mobs/Animals/regalrat.rsi/icon.png
- type: entity
id: SpawnPointGhostRemilia
name: ghost role spawn point
suffix: Remilia
parent: MarkerBase
components:
- type: GhostRoleMobSpawner
prototype: MobBatRemilia
name: Remilia, the chaplain's familiar
description: Obey your master. Eat fruit.
rules: You are an intelligent fruit bat. Follow the chaplain around. Don't cause any trouble unless the chaplain tells you to.
- type: Sprite
sprite: Markers/jobs.rsi
layers:
- state: green
- texture: Mobs/Animals/bat.rsi/bat.png
- type: entity
id: SpawnPointGhostCerberus
name: ghost role spawn point
suffix: cerberus
parent: MarkerBase
components:
- type: GhostRoleMobSpawner
prototype: MobCorgiCerberus
name: Cerberus, Evil Familiar
description: Obey your master. Spread chaos.
rules: You are an intelligent, demonic dog. Try to help the chaplain and any of his flock. As an antagonist, you're otherwise unrestrained.
- type: Sprite
sprite: Markers/jobs.rsi
layers:
- state: green
- texture: Mobs/Pets/corgi.rsi/narsian.png

View File

@@ -22,6 +22,7 @@
- type: Mind
showExamineInfo: true
- type: Alerts
- type: Familiar
- type: entity
name: Cerberus
@@ -71,3 +72,4 @@
- Chapel
- type: Mind
showExamineInfo: true
- type: Familiar

View File

@@ -17,7 +17,7 @@
groups:
Burn: 30
- type: Summonable
specialItem: MobBatRemilia
specialItem: SpawnPointGhostRemilia
- type: ItemCooldown
- type: Sprite
netsync: false
@@ -58,7 +58,7 @@
healSound: "/Audio/Effects/lightburn.ogg"
cooldownTime: 1.3
- type: Summonable
specialItem: MobCorgiCerberus
specialItem: SpawnPointGhostCerberus
respawnTime: 300
- type: Sprite
netsync: false