Fix Shadekin Inheritence (#6381)
* Make shadekin organic * Removed shadekin lungs * Update Content.Server/_Starlight/ShadekinSystem.cs Co-authored-by: Sir Warock <67167466+SirWarock@users.noreply.github.com> Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> --------- Signed-off-by: Vanessa <908648+ShepardToTheStars@users.noreply.github.com> Co-authored-by: Sir Warock <67167466+SirWarock@users.noreply.github.com>
This commit is contained in:
parent
724cd1c9b8
commit
f027ae4566
|
|
@ -19,6 +19,7 @@ using Content.Shared._Goobstation.Flashbang;
|
||||||
using Content.Shared._Starlight.Flash.Components;
|
using Content.Shared._Starlight.Flash.Components;
|
||||||
using Content.Shared.Body.Components;
|
using Content.Shared.Body.Components;
|
||||||
using Content.Shared.Flash; // Delta V - Flash Work
|
using Content.Shared.Flash; // Delta V - Flash Work
|
||||||
|
using Content.Shared._DV.Body.Components; // Delta V - Remove various comps related to breathing
|
||||||
|
|
||||||
|
|
||||||
namespace Content.Server._Starlight;
|
namespace Content.Server._Starlight;
|
||||||
|
|
@ -68,6 +69,8 @@ public sealed class ShadekinSystem : EntitySystem
|
||||||
{
|
{
|
||||||
UpdateAlert(uid, component, (short)component.CurrentState);
|
UpdateAlert(uid, component, (short)component.CurrentState);
|
||||||
RemComp<InternalsComponent>(uid);
|
RemComp<InternalsComponent>(uid);
|
||||||
|
RemComp<RespiratorComponent>(uid);
|
||||||
|
RemComp<AffectedByCPRComponent>(uid); // No lungs = no CPR
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnEyeColorChange(EntityUid uid, ShadekinComponent component, EyeColorInitEvent args)
|
private void OnEyeColorChange(EntityUid uid, ShadekinComponent component, EyeColorInitEvent args)
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,6 @@
|
||||||
Tongue: OrganShadekinTongue
|
Tongue: OrganShadekinTongue
|
||||||
Appendix: OrganShadekinAppendix
|
Appendix: OrganShadekinAppendix
|
||||||
Ears: OrganShadekinEars
|
Ears: OrganShadekinEars
|
||||||
Lungs: OrganShadekinLungs
|
|
||||||
Heart: OrganShadekinHeart
|
Heart: OrganShadekinHeart
|
||||||
Stomach: OrganShadekinStomach
|
Stomach: OrganShadekinStomach
|
||||||
Liver: OrganShadekinLiver
|
Liver: OrganShadekinLiver
|
||||||
|
|
@ -82,8 +81,7 @@
|
||||||
name: Urist McShadow
|
name: Urist McShadow
|
||||||
parent:
|
parent:
|
||||||
- AppearanceShadekin
|
- AppearanceShadekin
|
||||||
- BaseSpeciesMob
|
- BaseSpeciesMobOrganic
|
||||||
- MobBloodstream
|
|
||||||
id: MobShadekin
|
id: MobShadekin
|
||||||
components:
|
components:
|
||||||
- type: Shadekin
|
- type: Shadekin
|
||||||
|
|
@ -176,36 +174,6 @@
|
||||||
# max: 1
|
# max: 1
|
||||||
# - !type:BurnBodyBehavior {}
|
# - !type:BurnBodyBehavior {}
|
||||||
|
|
||||||
# BaseMobSpeciesOrganic // Because we dont want respirator to be used.
|
|
||||||
- type: Barotrauma
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Blunt: 0.85 #per second, scales with pressure and other constants.
|
|
||||||
Heat: 0.1
|
|
||||||
- type: PassiveDamage # Slight passive regen. Assuming one damage type, comes out to about 4 damage a minute.
|
|
||||||
allowedStates:
|
|
||||||
- Alive
|
|
||||||
damage:
|
|
||||||
types:
|
|
||||||
Heat: -0.07
|
|
||||||
Blunt: -0.07
|
|
||||||
Piercing: -0.07
|
|
||||||
Slash: -0.07
|
|
||||||
- type: TemperatureSpeed
|
|
||||||
thresholds:
|
|
||||||
293: 0.8
|
|
||||||
280: 0.6
|
|
||||||
260: 0.4
|
|
||||||
- type: ThermalRegulator
|
|
||||||
metabolismHeat: 800
|
|
||||||
radiatedHeat: 100
|
|
||||||
implicitHeatRegulation: 500
|
|
||||||
sweatHeatRegulation: 2000
|
|
||||||
shiveringHeatRegulation: 2000
|
|
||||||
normalBodyTemperature: 310.15
|
|
||||||
thermalRegulationTemperatureThreshold: 2
|
|
||||||
- type: Perishable
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: OrganBase
|
parent: OrganBase
|
||||||
id: OrganShadekin
|
id: OrganShadekin
|
||||||
|
|
@ -306,10 +274,6 @@
|
||||||
parent: [ OrganBaseEars, OrganSpriteHumanInternal, OrganShadekinInternal ]
|
parent: [ OrganBaseEars, OrganSpriteHumanInternal, OrganShadekinInternal ]
|
||||||
id: OrganShadekinEars
|
id: OrganShadekinEars
|
||||||
|
|
||||||
- type: entity
|
|
||||||
parent: [ OrganBaseLungs, OrganSpriteHumanInternal, OrganShadekinInternal, OrganShadekinMetabolizer ]
|
|
||||||
id: OrganShadekinLungs
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: [ OrganBaseHeart, OrganSpriteHumanInternal, OrganShadekinInternal, OrganShadekinMetabolizer ]
|
parent: [ OrganBaseHeart, OrganSpriteHumanInternal, OrganShadekinInternal, OrganShadekinMetabolizer ]
|
||||||
id: OrganShadekinHeart
|
id: OrganShadekinHeart
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue