Reorganize slime ymls, adjust damage resistances and vulnerabilities for slimes (#1300)

This commit is contained in:
paige404
2025-06-02 17:59:07 -04:00
committed by GitHub
parent 186afe7ed8
commit 881a504334
13 changed files with 131 additions and 56 deletions

View File

@@ -5,4 +5,4 @@ cp14-ghost-role-information-name-lurker = Lurker
cp14-ghost-role-information-description-lurker = A spirit of night and hunger that preys on loners separated from their companions.
cp14-ghost-role-information-name-raid-undead = Undead raid
cp14-ghost-role-information-description-raid-undead = Lead the attack on the city by the forces of the dead. Destroy the demiplane communication crystal at any cost.
cp14-ghost-role-information-description-raid-undead = Lead the attack on the city by the forces of the dead. Destroy the demiplane communication crystal at any cost.

View File

@@ -5,4 +5,4 @@ cp14-ghost-role-information-name-lurker = Таящийся
cp14-ghost-role-information-description-lurker = Дух ночи и голода, охотящийся за одиночками, отделившихся от своих товарищей.
cp14-ghost-role-information-name-raid-undead = Рейд нежити
cp14-ghost-role-information-description-raid-undead = Возглавьте атаку на город силами мертвых. Уничтожьте кристалл связи с демипланами любой ценой.
cp14-ghost-role-information-description-raid-undead = Возглавьте атаку на город силами мертвых. Уничтожьте кристалл связи с демипланами любой ценой.

View File

@@ -7,3 +7,12 @@
- Airloss
- Genetic
- CP14Magic
- type: damageContainer
id: CP14BiologicalAnaerobic
supportedGroups:
- Brute
- Burn
- Toxin
- Genetic
- CP14Magic

View File

@@ -123,6 +123,49 @@
Heat: 0.2
Cold: 1.4
# Slimes
# TODO: upstream a way to get modifier sets to inherit from each other
- type: damageModifierSet
id: CP14Slime
coefficients:
Blunt: 0.6
Slash: 1.2
Piercing: 1.2
Cold: 1.5
Poison: 0.8
- type: damageModifierSet
id: CP14SlimeElectric
coefficients:
Blunt: 0.6
Slash: 1.2
Piercing: 1.2
Heat: 1.2
Cold: 1.5
Shock: 0.0
Poison: 0.8
- type: damageModifierSet
id: CP14SlimeFire
coefficients:
Blunt: 0.6
Slash: 1.2
Piercing: 1.2
Heat: 0.0
Cold: 2.0
Poison: 0.8
- type: damageModifierSet
id: CP14SlimeIce
coefficients:
Blunt: 0.6
Slash: 1.2
Piercing: 1.2
Heat: 2.0
Cold: 0.0
Poison: 0.8
# Species
- type: damageModifierSet

View File

@@ -0,0 +1,28 @@
- type: entity
id: CP14ActionSpellSlimeJump
name: Slime jump
description: Jump! JUMP!
components:
- type: Sprite
sprite: _CP14/Actions/Spells/slime.rsi
state: jump
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 0.1
- type: CP14MagicEffect
effects:
- !type:CP14SpellThrowUserTo
throwPower: 8
- type: EntityWorldTargetAction
useDelay: 8
range: 10
checkCanAccess: false
itemIconStyle: BigAction
icon:
sprite: _CP14/Actions/Spells/slime.rsi
state: jump
event: !type:CP14DelayedEntityWorldTargetActionEvent
hidden: true
breakOnMove: false
breakOnDamage: false
castDelay: 1
raiseOnUser: true

View File

@@ -4,6 +4,7 @@
id: CP14ClothingHeadSlimeCrown
name: slime crown
description: Earl of Ooze. Grand Duke of Goo. Lord of the Slimes.
categories: [ DoNotMap ]
components:
- type: Sprite
sprite: _CP14/Clothing/Head/slime_crown.rsi

View File

@@ -52,8 +52,8 @@
params:
volume: 3
- type: Damageable
damageContainer: CP14Biological
damageModifierSet: Slime
damageContainer: CP14BiologicalAnaerobic
damageModifierSet: CP14Slime
- type: MeleeWeapon
altDisarm: false
soundHit:
@@ -72,6 +72,8 @@
speechSounds: Slime
- type: TypingIndicator
proto: slime
- type: ReplacementAccent
accent: slimes
- type: SolutionContainerManager
solutions:
slime:
@@ -91,6 +93,9 @@
solution: slime
- !type:DoActsBehavior
acts: [ "Destruction" ]
# TODO: shouldn't be openable by others
# TODO: custom sound for opening and closing--shouldn't be a chest
# TODO: allow player-controlled slime to open its own storage?
- type: EntityStorage
isCollidableWhenOpen: true
enteringOffset: 0, 0
@@ -98,6 +103,9 @@
showContents: true
occludesLight: false
- type: CP14MagicCasterSlowdown
- type: Tag
tags:
- FootstepSound
- type: EntityTableContainerFill
containers:
entity_storage: !type:GroupSelector
@@ -110,32 +118,3 @@
- id: CP14ScrapIron
- id: CP14CopperCoin1
weight: 3
- type: entity
id: CP14ActionSpellSlimeJump
name: Slime jump
description: Jump! JUMP!
components:
- type: Sprite
sprite: _CP14/Actions/Spells/physical.rsi
state: kick #TODO
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 0.1
- type: CP14MagicEffect
effects:
- !type:CP14SpellThrowUserTo
throwPower: 8
- type: EntityWorldTargetAction
useDelay: 8
range: 10
checkCanAccess: false
itemIconStyle: BigAction
icon:
sprite: _CP14/Actions/Spells/physical.rsi
state: kick #TODO
event: !type:CP14DelayedEntityWorldTargetActionEvent
hidden: true
breakOnMove: false
breakOnDamage: false
castDelay: 1
raiseOnUser: true

View File

@@ -23,26 +23,23 @@
- ReagentId: CP14EssenceEnergia
Quantity: 30
- type: MeleeWeapon
altDisarm: false
soundHit:
path: /Audio/Weapons/punch3.ogg
angle: 0
animation: WeaponArcPunch
damage:
types:
Blunt: 3
Shock: 3
- type: CP14SpellEffectOnHit
prob: 0.3
prob: 0.15
effects:
- !type:CP14SpellApplyEntityEffect
effects:
- !type:Electrocute
electrocuteTime: 1
electrocuteTime: 0.5
electrocuteDamageScale: 1
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14ElectrifiedEffect
- type: Damageable
damageModifierSet: CP14SlimeElectric
- type: Destructible
thresholds:
- trigger:
@@ -102,6 +99,5 @@
- !type:CP14SpellApplyEntityEffect
effects:
- !type:Electrocute
electrocuteTime: 3.5
electrocuteTime: 2
electrocuteDamageScale: 1

View File

@@ -25,15 +25,19 @@
- ReagentId: CP14BasicEffectDamageHeat
Quantity: 10
- type: MeleeWeapon
altDisarm: false
soundHit:
path: /Audio/Weapons/punch3.ogg
angle: 0
animation: WeaponArcPunch
damage:
types:
Blunt: 3
Heat: 3
- type: Damageable
damageModifierSet: CP14SlimeFire
- type: Temperature
coldDamage:
types:
Cold: 1
heatDamage:
types:
Heat: 0
- type: Destructible
thresholds:
- trigger:
@@ -100,4 +104,3 @@
- !type:AdjustTemperature
amount: 6000
- !type:Ignite

View File

@@ -20,14 +20,9 @@
reagents:
- ReagentId: CP14ChromiumSlime
Quantity: 20
- ReagentId: CP14EssenceWater
- ReagentId: CP14EssenceFrost
Quantity: 30
- type: MeleeWeapon
altDisarm: false
soundHit:
path: /Audio/Weapons/punch3.ogg
angle: 0
animation: WeaponArcPunch
damage:
types:
Blunt: 3
@@ -49,6 +44,15 @@
- !type:AdjustTemperature
amount: -6000
- !type:ExtinguishReaction
- type: Damageable
damageModifierSet: CP14SlimeIce
- type: Temperature
coldDamage:
types:
Cold: 0
heatDamage:
types:
Heat: 3
- type: Destructible
thresholds:
- trigger:
@@ -114,4 +118,3 @@
- !type:AdjustTemperature
amount: -82000
- !type:ExtinguishReaction

View File

@@ -109,7 +109,6 @@
- type: entity
parent:
- CP14MobDamageable
- MobRespirator
- MobAtmosStandard
- CP14SimpleSpaceMobNoLifeBase
id: CP14SimpleMobNoLifeBase

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-4.0",
"copyright": "Created by omsoyk (Discord) & paige404 (GitHub)",
"states": [
{
"name": "jump"
}
]
}