The XenoMechMed PR (#21318)

This PR is something me and NobleRow have been cooking behind the scenes
with the goal of adding new Xenoarch content that fits two objectives.

1. Providing cross-department cooperation opportunities (Machinists and
Medical)
2. Making use of content entirely unique to Aurora, such as our recently
refactored organs.

So I've added several new and exciting xenoarch "finds" that relate to
Medical and Machinists, as well as several new parts for Machinists to
work with. On the xenoarch side of things, we have the new "anomalous"
heart and lung items, which you can study by calling over a surgeon to
implant into your free choice of a monkey, or a particularly
enthusiastic human volunteer. There are also two new "anomalous" mech
components, one of them an anomalous drone bay, and the other an
anomalous power core. To study them, call a machinist over and have them
make a mech for you to experiment with.

The new xenoarch "finds" each feature heavily rng stat modifiers that
are unique to the objects in question, and make use of a very large
number of variables that I had previously worked to unhardcode.

I had a batch of sprites done by NobleRow, and I was adding new mech
equipment in this PR, so while we were at it, I've added a new LTL
variant of the mech submachine gun, as well as a new light variant of
the mech-mounted KA, which was highly requested by both miners and
xenoarch players on account of the 9 tile blast radius KA being "Not
always good to have".

All of the sprites in this PR were made by @NobleRow
This commit is contained in:
VMSolidus
2025-09-10 19:04:57 +00:00
committed by GitHub
parent 6732f714dc
commit e2b00ebe46
16 changed files with 169 additions and 5 deletions
+44
View File
@@ -383,3 +383,47 @@
thready_pump_modifier = 1.5
damage_from_chemicals = 0.7
blood_spray_distance = 1
/obj/item/organ/internal/heart/alien_heart
name = "anomalous mercurial flesh"
desc = "A slab of flesh made seemingly from mercury, yet with a recognizably organic shape. It is soft to the touch, pliable like skin, yet is as tough as steel."
icon = 'icons/obj/organs/bioaugs.dmi'
icon_state = "alien_heart"
max_damage = 200
min_bruised_damage = 150
min_broken_damage = 175
/obj/item/organ/internal/heart/alien_heart/Initialize()
. = ..()
// RANDOMIZE EVERYTHING.
// DEAR READER, I HOPE YOU HAVE FUN IF YOU MAKE THE MISTAKE OF PUTTING THIS IN A HUMAN.
// BECAUSE YOU ARE NOT GUARANTEED IT CAN SUSTAIN LIFE.
heart_fibrillation_damage *= rand(0.5, 2)
heart_tachycardia_damage *= rand(0.5, 2)
fibrillation_stop_risk = rand(1, 99)
shock_stage_for_fibrillation *= rand(0.5, 2)
shock_risk_from_pain = rand(1, 99)
first_shock_stage *= rand(0.75, 1.33)
second_shock_stage *= rand(0.75, 1.33)
blood_regen_modifier *= rand(0.5, 2)
base_arterial_bloodloss_modifier *= rand(0.5, 2)
base_cut_bloodloss_modifier *= rand(0.5, 2)
nutrition_cost_per_blood_regen *= rand(0.5, 2)
hydration_cost_per_blood_regen *= rand(0.5, 2)
minimum_temperature_to_pump_blood *= rand(0.75, 1.33)
time_between_arterial_sprays *= rand(0.5, 2)
bleed_drip_modifier *= rand(0.5, 2)
palpitations_threshold *= rand(0.5, 2)
slow_bleeding_modifier *= rand(0.75, 1.33)
fast_bleeding_modifier *= rand(0.75, 1.33)
thready_bleeding_modifier *= rand(0.75, 1.33)
base_pump_rate *= rand(0.75, 1.33)
none_pump_modifier *= rand(0.75, 1.33)
slow_pump_modifier *= rand(0.75, 1.33)
fast_pump_modifier *= rand(0.75, 1.33)
too_fast_pump_modifier *= rand(0.75, 1.33)
thready_pump_modifier *= rand(0.75, 1.33)
if(prob(50))
fake_pulse = TRUE
damage_from_chemicals *= rand(0.75, 1.33)
blood_spray_distance = rand(1, 9)
+30
View File
@@ -170,3 +170,33 @@
toxin_critical_mass = 90
booze_filtering_modifier = 0.5 // "Impossible to get drunk", this should make it impossible. :)
blackout_booze_filtering_modifier = 0.25
/obj/item/organ/internal/liver/alien_liver
name = "anomalous mercurial flesh"
desc = "A slab of flesh made seemingly from mercury, yet with a recognizably organic shape. It is soft to the touch, pliable like skin, yet is as tough as steel."
icon = 'icons/obj/organs/bioaugs.dmi'
icon_state = "alien_liver"
max_damage = 200
min_bruised_damage = 150
min_broken_damage = 175
/obj/item/organ/internal/liver/alien_liver/Initialize()
. = ..()
base_filter_strength *= rand(0.5, 2)
base_filter_effect *= rand(0.5, 2)
// That negative bound is intentional.
// A negative filter effect value means dylovene will decrease the liver effectiveness.
filter_effect_from_dylovene *= rand(-2, 2)
intox_filter_bruised *= rand(0.5, 2)
intox_filter_broken *= rand(0.5, 2)
base_toxin_healing_rate *= rand(0.5, 2)
toxin_critical_mass *= rand(0.5, 2)
filter_effect_from_critical_toxin *= rand(0.5, 2)
booze_filtering_modifier *= rand(0, 10)
filter_effect_from_bruise *= rand(0.5, 2)
filter_effect_from_broken *= rand(0.5, 2)
blackout_booze_filtering_modifier *= rand(0, 10)
infection_level_one_warning = "Uncountable tiny metal scarabs dig into your flesh."
liver_regeneration_normal *= rand(0, 2)
liver_regeneration_bruised *= rand(0, 2)
liver_regeneration_broken = rand(0, 12)