Salvage mob restrictions (#8080)

This commit is contained in:
20kdc
2022-05-13 20:01:30 +01:00
committed by GitHub
parent 2c927bb24e
commit 90cce82a47
8 changed files with 181 additions and 22 deletions

View File

@@ -1,3 +1,6 @@
# NOTE! All mobs that come out of this should have Salvage rulesets.
# These rulesets exist because Salvage mobs kept harassing the station and going out of control.
- type: entity
name: Salvage Material Crate Spawner
id: SalvageMaterialCrateSpawner
@@ -56,21 +59,21 @@
- texture: Mobs/Aliens/Carps/space.rsi/icon.png
- type: RandomSpawner
prototypes:
- MobCarp
- MobCarp
- MobCarp
- MobCarp
- MobCarp
- MobTick
- MobTick
- MobTick
- MobCarpSalvage
- MobCarpSalvage
- MobCarpSalvage
- MobCarpSalvage
- MobCarpSalvage
- MobTickSalvage
- MobTickSalvage
- MobTickSalvage
- PlushieCarp
- DehydratedSpaceCarp
chance: 0.25
offset: 0.2
- type: entity #I made this in case someone decided to make a terrifying space tick swarm for salvage. that someone may be me -EG404
name: Space Tick Spawner
name: Salvage Space Tick Spawner
id: SpaceTickSpawner
parent: MarkerBase
suffix: 100
@@ -81,7 +84,7 @@
- texture: Mobs/Aliens/Xenos/spacetick.rsi/icon.png
- type: ConditionalSpawner
prototypes:
- MobTick
- MobTickSalvage
- type: entity
id: SalvageMobSpawner75
@@ -90,14 +93,14 @@
components:
- type: RandomSpawner
prototypes:
- MobCarp
- MobCarp
- MobCarp
- MobCarp
- MobCarp
- MobTick
- MobTick
- MobTick
- MobCarpSalvage
- MobCarpSalvage
- MobCarpSalvage
- MobCarpSalvage
- MobCarpSalvage
- MobTickSalvage
- MobTickSalvage
- MobTickSalvage
- PlushieCarp
- DehydratedSpaceCarp
chance: 0.75

View File

@@ -110,3 +110,15 @@
- Opaque
- type: GhostTakeoverAvailable
name: holocarp
- type: entity
id: MobCarpSalvage
parent: MobCarp
suffix: "Salvage Ruleset"
components:
- type: GhostTakeoverAvailable
name: space carp on salvage wreck
description: |
Defend the loot inside the salvage wreck!
- type: SalvageMobRestrictions

View File

@@ -77,7 +77,18 @@
makeSentient: true
name: space tick
description: |
If you're a salvage spawn, defend the loot inside!
Otherwise, wreak havoc on the station!
Wreak havoc on the station!
- type: ReplacementAccent
accent: genericAggressive
- type: entity
id: MobTickSalvage
parent: MobTick
suffix: "Salvage Ruleset"
components:
- type: GhostTakeoverAvailable
name: space tick on salvage wreck
description: |
Defend the loot inside the salvage wreck!
- type: SalvageMobRestrictions