Skip to content

Commit

Permalink
Shitmed fixes, Tail tweaks, XML tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
BlitzTheSquishy committed Feb 4, 2025
1 parent 1f545ae commit 7eedcc0
Show file tree
Hide file tree
Showing 11 changed files with 154 additions and 7 deletions.
6 changes: 6 additions & 0 deletions Content.Shared/Body/Organ/OrganComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,11 @@ public sealed partial class OrganComponent : Component, ISurgeryToolComponent //
/// </summary>
[DataField]
public bool CanEnable = true;

/// <summary>
/// DV - Yknow I like being able to just say that an organ can also just, not be removed :blunt:
/// </summary>
[DataField]
public bool Removable = true;
// Shitmed Change End
}
5 changes: 5 additions & 0 deletions Content.Shared/_Shitmed/Surgery/SharedSurgerySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
using Robust.Shared.Network;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;
using Content.Shared.Body.Organ;

namespace Content.Shared._Shitmed.Medical.Surgery;

Expand Down Expand Up @@ -266,6 +267,10 @@ private void OnOrganConditionValid(Entity<SurgeryOrganConditionComponent> ent, r
|| ent.Comp.Reattaching
&& !organs.Any(organ => HasComp<OrganReattachedComponent>(organ.Id))))
args.Cancelled = true;
// DV - allowing unremovability to shitmed
if (!organs.Any(organ => !TryComp<OrganComponent>(organ.Id, out var organComp)
|| organComp.Removable))
args.Cancelled = true;
}
else if (!ent.Comp.Inverse)
args.Cancelled = true;
Expand Down
9 changes: 6 additions & 3 deletions Resources/Locale/en-US/_DV/markings/feroxi.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,17 @@ marking-FeroxiTipTwoToneTailAndDorsal-feroxi-tail-under = Under Tail
marking-FeroxiTipTwoToneTailAndDorsal-feroxi-dorsal = Base Dorsal
marking-FeroxiTipTwoToneTailAndDorsal-feroxi-dorsal-tip = Dorsal Tip
marking-FeroxiTorsoStripesBlitz = Small Under Arm Stripes
marking-FeroxiTorsoStripesBlitz-feroxi-torso-stripes-blitz = Stripes
marking-FeroxiLegStripesBlitz = Calf Stripes
marking-FeroxiLegStripesBlitz-feroxi-leg-stripes-blitz = Stripes
marking-FeroxiArmStripesBlitz = Shoulder Stripes
marking-FeroxiArmStripesBlitz-feroxi-arm-stripes-blitz = Stripes
marking-FeroxiTorsoCountershadingF = Countershading (Feminine)
marking-FeroxiTorsoCountershadingF-feroxi-torso-countershading-f = Countershading
marking-FeroxiTorsoCountershadingM = Countershading (Masculine)
marking-FeroxiTorsoCountershadingM-feroxi-torso-countershading-m = Countershading
6 changes: 4 additions & 2 deletions Resources/Prototypes/_DV/Body/Organs/feroxi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@
- type: entity
parent: BaseHumanOrgan
id: OrganFeroxiLungs
name: Aquatic Lungs
description: "A pair of amphibious lungs, filtering oxygen out of the air continuously."
name: Aquatic Lungs and Gills
description: "A pair of amphibious lungs along with gills, filtering oxygen out of the air continuously."
components:
- type: Sprite
sprite: Mobs/Species/Human/organs.rsi
layers:
- state: lung-l
- state: lung-r
- type: Organ
removable: false
- type: Lung
- type: Metabolizer
removeEmpty: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,24 @@
- sprite: _DV/Mobs/Customization/Feroxi/body_markings.rsi
state: feroxi-torso-stripes-blitz

- type: marking
id: FeroxiTorsoCountershadingF
bodyPart: Chest
markingCategory: Chest
speciesRestriction: [ Feroxi ]
sprites:
- sprite: _DV/Mobs/Customization/Feroxi/body_markings.rsi
state: feroxi-torso-countershading-f

- type: marking
id: FeroxiTorsoCountershadingM
bodyPart: Chest
markingCategory: Chest
speciesRestriction: [ Feroxi ]
sprites:
- sprite: _DV/Mobs/Customization/Feroxi/body_markings.rsi
state: feroxi-torso-countershading-m

# Leg Markings
- type: marking
id: FeroxiLegStripesBlitz
Expand Down
104 changes: 104 additions & 0 deletions Resources/Prototypes/_DV/Loadouts/Miscellaneous/survival.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,99 @@
# Species
- type: loadoutEffectGroup
id: WaterBreather
effects:
- !type:SpeciesLoadoutEffect
species:
- Feroxi

# Basic
- type: loadout
id: EmergencyWater
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
storage:
back:
- BoxSurvivalWater

# Clown
- type: loadout
id: EmergencyWaterClown
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
storage:
back:
- BoxHugWater

# Mime
- type: loadout
id: EmergencyWaterMime
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
storage:
back:
- BoxMimeWater

# Engineering / Extended
- type: loadout
id: EmergencyWaterExtended
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
storage:
back:
- BoxSurvivalEngineeringWater

# Medical
- type: loadout
id: EmergencyWaterMedical
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
storage:
back:
- BoxSurvivalMedicalWater

# Security
- type: loadout
id: EmergencyWaterSecurity
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
storage:
back:
- BoxSurvivalSecurityWater

# Syndicate
- type: loadout
id: EmergencyWaterSyndicate
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
storage:
back:
- BoxSurvivalWater

# Full EVA Tank, Any Species
- type: loadout
id: LoadoutSpeciesEVAWater
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
equipment:
suitstorage: WaterTankFilled

# Species-appropriate Double Emergency Tank in Pocket 1
- type: loadout
id: LoadoutSpeciesPocketDoubleWater
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
equipment:
pocket1: DoubleEmergencyWaterTankFilled

# Corpsman
- type: loadout
id: EmergencyOxygenCorpsman
Expand All @@ -17,6 +113,14 @@
back:
- BoxSurvivalBrigmedicNitrogen

- type: loadout
id: EmergencyNitrogenCorpsman
effects:
- !type:GroupLoadoutEffect
proto: WaterBreather
equipment:
mask: BoxSurvivalBrigmedicWater

- type: loadout
id: LoadoutSpeciesBreathToolCorpsman
effects:
Expand Down
3 changes: 2 additions & 1 deletion Resources/ServerInfo/Guidebook/Mobs/_DV/Feroxi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
- Uses their jaws to do piercing damage, and harder than other species, rivaling Oni.
- Their cartilaginous skeleton allows them to resist blunt force trauma more easily.
- Their adaptation to native environments allows them to resist the cold more easily.
- Their biology allow them to breathe water vapour
- Their biology allow them to breathe water vapour.

## Drawbacks

- They take 10% more Slash damage.
- Gets thirsty 100% faster. That's faster than a Diona!
- When thirst falls to "Parched" they begin to suffocate. Have water handy!
- Saline is too salty! It hydrates you much less!
- Your lungs are unremovable as theyre intergrated with your gills.

</Document>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by BlitzTheSquishy",
"copyright": "Stripes made by BlitzTheSquishy, Countershading made by Emily9031",
"size": {"x": 32, "y": 32},
"states":
[
Expand All @@ -16,6 +16,14 @@
{
"name": "feroxi-leg-stripes-blitz",
"directions": 4
},
{
"name": "feroxi-torso-countershading-m",
"directions": 4
},
{
"name": "feroxi-torso-countershading-f",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7eedcc0

Please sign in to comment.