Slimes and their habitats (#15379)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -99,3 +99,12 @@
|
||||
- accent-words-kangaroo-2
|
||||
- accent-words-kangaroo-3
|
||||
- accent-words-kangaroo-4
|
||||
|
||||
- type: accent
|
||||
id: slimes
|
||||
fullReplacements:
|
||||
- accent-words-slimes-1
|
||||
- accent-words-slimes-2
|
||||
- accent-words-slimes-3
|
||||
- accent-words-slimes-4
|
||||
- accent-words-slimes-5
|
||||
|
||||
@@ -344,7 +344,7 @@
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobBoxingKangaroo
|
||||
|
||||
|
||||
- type: entity
|
||||
name: Space Spider Spawner
|
||||
id: SpawnMobSpaceSpider
|
||||
@@ -357,3 +357,81 @@
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobSpiderSpace
|
||||
|
||||
- type: entity
|
||||
name: Slimes Spawner Blue Good
|
||||
id: SpawnMobAdultSlimesBlue
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- state: ai
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobAdultSlimesBlueGood
|
||||
|
||||
- type: entity
|
||||
name: Slimes Spawner Blue Angry
|
||||
id: SpawnMobAdultSlimesBlueAngry
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- state: ai
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobAdultSlimesBlueAngry
|
||||
|
||||
- type: entity
|
||||
name: Slimes Spawner Green Good
|
||||
id: SpawnMobAdultSlimesGreen
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- state: ai
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobAdultSlimesGreenGood
|
||||
|
||||
- type: entity
|
||||
name: Slimes Spawner Green Angry
|
||||
id: SpawnMobAdultSlimesGreenAngry
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- state: ai
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobAdultSlimesGreenAngry
|
||||
|
||||
- type: entity
|
||||
name: Slimes Spawner Yellow Good
|
||||
id: SpawnMobAdultSlimesYellow
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- state: ai
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobAdultSlimesYellowGood
|
||||
|
||||
- type: entity
|
||||
name: Slimes Spawner Yellow Angry
|
||||
id: SpawnMobAdultSlimesYellowAngry
|
||||
parent: MarkerBase
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: green
|
||||
- state: ai
|
||||
- type: ConditionalSpawner
|
||||
prototypes:
|
||||
- MobAdultSlimesYellowAngry
|
||||
|
||||
247
Resources/Prototypes/Entities/Mobs/NPCs/slimes.yml
Normal file
247
Resources/Prototypes/Entities/Mobs/NPCs/slimes.yml
Normal file
@@ -0,0 +1,247 @@
|
||||
- type: entity
|
||||
name: basic slime
|
||||
id: MobAdultSlimes
|
||||
parent: SimpleMobBase
|
||||
abstract: true
|
||||
description: It looks so much like jelly. I wonder what it tastes like?
|
||||
suffix: Good
|
||||
components:
|
||||
- type: Faction
|
||||
factions:
|
||||
- SimpleNeutral
|
||||
- type: HTN
|
||||
rootTask: SimpleHostileCompound
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
netsync: false
|
||||
sprite: Mobs/Aliens/slimes.rsi
|
||||
layers:
|
||||
- map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
state: blue_adult_slime
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.30
|
||||
density: 80
|
||||
mask:
|
||||
- MobMask
|
||||
layer:
|
||||
- MobLayer
|
||||
- type: MobThresholds
|
||||
thresholds:
|
||||
0: Alive
|
||||
120: Dead
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 2
|
||||
baseSprintSpeed: 4
|
||||
- type: FootstepModifier
|
||||
footstepSoundCollection:
|
||||
path: /Audio/Effects/Footsteps/slime1.ogg
|
||||
- type: Tag
|
||||
tags:
|
||||
- FootstepSound
|
||||
- type: Butcherable
|
||||
butcheringType: Knife
|
||||
spawned:
|
||||
- id: FoodMeatSlime
|
||||
amount: 2
|
||||
- type: Respirator
|
||||
damage:
|
||||
types:
|
||||
Asphyxiation: 0.2
|
||||
damageRecovery:
|
||||
types:
|
||||
Asphyxiation: -1.0
|
||||
maxSaturation: 15
|
||||
- type: Damageable
|
||||
damageContainer: Biological
|
||||
damageModifierSet: Slime
|
||||
- type: Bloodstream
|
||||
bloodReagent: Slime
|
||||
bloodlossDamage:
|
||||
types:
|
||||
Bloodloss:
|
||||
1
|
||||
bloodlossHealDamage:
|
||||
types:
|
||||
Bloodloss:
|
||||
-0.25
|
||||
- type: Barotrauma
|
||||
damage:
|
||||
types:
|
||||
Blunt: 0.45
|
||||
- type: Reactive
|
||||
groups:
|
||||
Flammable: [ Touch ]
|
||||
Extinguish: [ Touch ]
|
||||
reactions:
|
||||
- reagents: [ Water, SpaceCleaner ]
|
||||
methods: [ Touch ]
|
||||
effects:
|
||||
- !type:WashCreamPieReaction
|
||||
- reagents: [ Water ]
|
||||
methods: [ Touch ]
|
||||
effects:
|
||||
- !type:HealthChange
|
||||
scaled: true
|
||||
damage:
|
||||
types:
|
||||
Heat: 3
|
||||
- !type:PopupMessage
|
||||
type: Local
|
||||
messages: [ "slime-hurt-by-water-popup" ]
|
||||
probability: 0.25
|
||||
- type: CombatMode
|
||||
- type: MeleeWeapon
|
||||
hidden: true
|
||||
soundHit:
|
||||
path: /Audio/Weapons/punch3.ogg
|
||||
angle: 0
|
||||
animation: WeaponArcPunch
|
||||
damage:
|
||||
types:
|
||||
Blunt: 6
|
||||
Structural: 4
|
||||
Caustic: 4
|
||||
- type: InteractionPopup
|
||||
successChance: 0.5
|
||||
interactSuccessString: petting-success-slimes
|
||||
interactFailureString: petting-failure-generic
|
||||
- type: ReplacementAccent
|
||||
accent: slimes
|
||||
- type: GhostTakeoverAvailable
|
||||
makeSentient: true
|
||||
name: ghost-role-information-slimes-name
|
||||
description: ghost-role-information-slimes-description
|
||||
|
||||
- type: entity
|
||||
name: blue slime
|
||||
id: MobAdultSlimesBlueGood
|
||||
parent: MobAdultSlimes
|
||||
suffix: Good
|
||||
components:
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
Base: blue_adult_slime
|
||||
Dead:
|
||||
Base: blue_adult_slime_dead
|
||||
|
||||
- type: entity
|
||||
name: blue slime
|
||||
parent: MobAdultSlimes
|
||||
id: MobAdultSlimesBlueAngry
|
||||
suffix: Angry
|
||||
components:
|
||||
- type: Faction
|
||||
factions:
|
||||
- SimpleHostile
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
Base: blue_adult_slime
|
||||
Dead:
|
||||
Base: blue_adult_slime_dead
|
||||
|
||||
- type: entity
|
||||
name: green slime
|
||||
parent: MobAdultSlimes
|
||||
id: MobAdultSlimesGreenGood
|
||||
suffix: Good
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
state: green_adult_slime
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
Base: green_adult_slime
|
||||
Dead:
|
||||
Base: green_adult_slime_dead
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Blunt: 6
|
||||
Structural: 4
|
||||
Caustic: 1
|
||||
Poison: 4
|
||||
|
||||
- type: entity
|
||||
name: green slime
|
||||
parent: MobAdultSlimes
|
||||
id: MobAdultSlimesGreenAngry
|
||||
suffix: Angry
|
||||
components:
|
||||
- type: Faction
|
||||
factions:
|
||||
- SimpleHostile
|
||||
- type: Sprite
|
||||
layers:
|
||||
- map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
state: green_adult_slime
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
Base: green_adult_slime
|
||||
Dead:
|
||||
Base: green_adult_slime_dead
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Blunt: 6
|
||||
Structural: 4
|
||||
Caustic: 1
|
||||
Poison: 4
|
||||
|
||||
- type: entity
|
||||
name: yellow slime
|
||||
parent: MobAdultSlimes
|
||||
id: MobAdultSlimesYellowGood
|
||||
suffix: Good
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
state: yellow_adult_slime
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
Base: yellow_adult_slime
|
||||
Dead:
|
||||
Base: yellow_adult_slime_dead
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Blunt: 6
|
||||
Structural: 4
|
||||
Caustic: 1
|
||||
Cellular: 3
|
||||
|
||||
- type: entity
|
||||
name: yellow slime
|
||||
parent: MobAdultSlimes
|
||||
id: MobAdultSlimesYellowAngry
|
||||
suffix: Angry
|
||||
components:
|
||||
- type: Faction
|
||||
factions:
|
||||
- SimpleHostile
|
||||
- type: Sprite
|
||||
layers:
|
||||
- map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
state: yellow_adult_slime
|
||||
- type: DamageStateVisuals
|
||||
states:
|
||||
Alive:
|
||||
Base: yellow_adult_slime
|
||||
Dead:
|
||||
Base: yellow_adult_slime_dead
|
||||
- type: MeleeWeapon
|
||||
damage:
|
||||
types:
|
||||
Blunt: 6
|
||||
Structural: 4
|
||||
Caustic: 1
|
||||
Cellular: 3
|
||||
@@ -244,6 +244,38 @@
|
||||
weight: 5
|
||||
duration: 60
|
||||
- type: VentCrittersRule
|
||||
entries:
|
||||
- id: MobMouse
|
||||
amount: 4
|
||||
maxAmount: 12
|
||||
- id: MobMouse1
|
||||
amount: 4
|
||||
maxAmount: 12
|
||||
- id: MobMouse2
|
||||
amount: 4
|
||||
maxAmount: 12
|
||||
|
||||
- type: entity
|
||||
id: SlimesSpawn
|
||||
parent: BaseGameRule
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: StationEvent
|
||||
earliestStart: 20
|
||||
minimumPlayers: 15
|
||||
weight: 5
|
||||
duration: 60
|
||||
- type: VentCrittersRule
|
||||
entries:
|
||||
- id: MobAdultSlimesBlueAngry
|
||||
amount: 6
|
||||
maxAmount: 10
|
||||
- id: MobAdultSlimesGreenAngry
|
||||
amount: 6
|
||||
maxAmount: 10
|
||||
- id: MobAdultSlimesYellowAngry
|
||||
amount: 6
|
||||
maxAmount: 10
|
||||
|
||||
- type: entity
|
||||
id: SpiderSpawn
|
||||
@@ -255,7 +287,11 @@
|
||||
minimumPlayers: 15
|
||||
weight: 5
|
||||
duration: 60
|
||||
- type: SpiderSpawnRule
|
||||
- type: VentCrittersRule
|
||||
entries:
|
||||
- id: MobGiantSpiderAngry
|
||||
amount: 4
|
||||
maxAmount: 8
|
||||
|
||||
- type: entity
|
||||
id: ZombieOutbreak
|
||||
|
||||
Reference in New Issue
Block a user