Skip to content

Commit

Permalink
Shadowkin upgrade + commentary fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Roudenn committed Nov 20, 2024
1 parent 588f0dc commit de006ff
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Body/Systems/RespiratorSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public override void Update(float frameTime)

respirator.NextUpdate += respirator.UpdateInterval;

if (_mobState.IsDead(uid) || HasComp<BreathingImmunityComponent>(uid)) // GoobStation: BreathingImmunity
if (_mobState.IsDead(uid) || HasComp<BreathingImmunityComponent>(uid)) // backmen: surgery
continue;

UpdateSaturation(uid, -(float) respirator.UpdateInterval.TotalSeconds, respirator);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Content.Shared.Backmen.Surgery.Body;

/// <summary>
/// GoobStation: Disables a mobs need for air when this component is added.
/// Backmen: Disables a mobs need for air when this component is added.
/// It will neither breathe nor take airloss damage.
/// </summary>
[RegisterComponent]
Expand Down
8 changes: 5 additions & 3 deletions Resources/Prototypes/Entities/Mobs/NPCs/carp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,15 @@
- type: NightVision
isToggle: true
color: "#808080"
- type: Body # GoobStation: Special carp organs
# start-backmen: surgery
- type: Body
prototype: Carp
- type: SurgeryTarget # GoobStation
- type: UserInterface # GoobStation
- type: SurgeryTarget
- type: UserInterface
interfaces:
enum.SurgeryUIKey.Key:
type: SurgeryBui
# end-backmen: surgery

- type: entity
parent: BaseMobCarp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
stomach: OrganShadowkinStomach
liver: OrganShadowkinLiver
kidneys: OrganShadowkinKidneys
lungs: OrganHumanLungs
lungs: OrganSpaceAnimalLungs
right arm:
part: RightArmShadowkin
connections:
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/status_effects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

- type: statusEffect
id: PressureImmunity
alwaysAllowed: true # GoobStation: Used by space animal heart to work on anything
alwaysAllowed: true # Backmen: Used by space animal heart to work on anything

- type: statusEffect
id: Muted
Expand Down

0 comments on commit de006ff

Please sign in to comment.