Commit Graph

9 Commits

Author SHA1 Message Date
Cameron Lennox 9a8b885d38 Scannable chems and fixes (#18899)
* Scannable rework

Makes scannable have tiers.
WIP

* Some more adjustments

* Scanning

* Bodyscanner

* Some more fixes

Fixes amatoxin
Fixes synap not processing when drank
Makes fakedeath show up as braindeath, not massive O2 loss.
Makes zombie and lich powder show time of death properly

* Scanners for fakedeath

* This too

* Refactors bloodloss

* rounding
2025-12-26 05:19:36 -05:00
Cameron Lennox f8826d6335 Surgery fixes (#18846)
* Surgery fixes

* Update organs_internal.dm

* bonebreaking!

* Mend the bone

* magic numbeers

* Update implant.dm

* Update implant.dm

* Update implant.dm

* Fixes the germs on internal organs

* Peri is needed again

* Optimize this

This was runtiming when you attempted to target a limb that was amputated.

Also optimizes the code a bit.

* Set to the correct open stage.

* Update medical_issues.dm
2025-12-10 09:55:51 -05:00
Cameron Lennox 9a2fa8b1cf More surgery tweaks and fixes (#18823)
* Surgery Defines

Adds some defines to surgery to make it easier to track how 'open' someone is instead of magical numbers.

* Make frankensurgery less punishing

Makes frankensurgery less painful.

Resleeving is a thing and is MUCH easier to do.

Having brain surgery apply a permanent debuff to people just means that the 'ideal' thing is to always resleeve/clone. This gets rid of the debuff.

* Setting vital in a few places

* Makes infected wounds not kill in stomachs

Wounds still accumulate in stomachs, BUT the germ level of the external organ won't increase while being digested, meaning you won't get massive infections while doing a long-digestion scene.

It was done here instead of in handle_germ_effects() so you can't just eat someone with major infections and act as a statis stomach.

* Internal bleeding tweaks

Makes internal bleeding slower if you have the IB cure (myelamine)
Makes internal bleeding not get worse if you have the dermal equivalents of bicard+inaprovaline

* Update neck.dm

* Some more aggressive reform healing

Makes reform healing do some more healing to bring them back. Instead of healing just 6, heals a flat 25 now of brute, fire, clone, and toxins.

It then sees if you're 'below revival point' and if so, it gives you a much stronger heal to ENSURE you are brought back.

* forgor to check this in the .dmi

This is what happens when you have minitest selected and have your .dme ignored by default!

* Update blood.dm

* this comment is no longer relevent

We have LVADs now!

* Makes tourettes not trigger more if you have slow pulse

This was presumably meant to increase your chance of a tic if you have a higher pulse, not if you have a slower/more calm pulse.

* More edits

* Update generic.dm
2025-11-27 23:39:50 -05:00
Cameron Lennox c2b50ace33 Gets rid of hasorgans() helper proc (#18692)
This was just ishuman()
2025-11-08 03:30:32 +01:00
Will 203ae58380 More Remote View Fixes (#18688)
* Add status effect signals

* fix illegal assignments

* remote view drops on status effects

* missed

* protect turf decouple

* don't bother if we will just restart it anyway

* don't remove

* equiping items should end view too

* inconsistent login behavior

* this is triggering during laggy attach

* seems fixed

* keep order

* docing

* typo

* better doc

* lets try this

* keep old remote views for the decoupling
2025-10-30 01:22:28 +01:00
SatinIsle 85201d0981 Fixes some medical issue stuff (#18112)
* Fixes some medical issue stuff

Fixed medical issues not proccing for species that can't be infected.
Fixed medical issues so that they can be cured by ingested reagents too.

* Make the symptoms less frequent
2025-08-02 16:41:34 +02:00
Will 6f6ab0f281 Dizzy and jittery components (#18054)
* dizzy and jitter component

* no need for set_jittery

* minimize proc differences

* not needed

* jitter

* match old behavior

* jitter medical issue fix
2025-07-31 01:07:57 +02:00
SatinIsle 9122b653c8 Fixed symptoms with medical issues (#18068)
I was so caught up in testing the complicated stuff that I neglected to properly test some of the symptoms and got my mins and maxes confused!
Fixed some symptoms doing doing nothing and added a couple more options.
2025-07-25 12:01:34 +02:00
SatinIsle 2aca759d6a GM Tool - Create Medical Issue (#18033)
* WIP medical issue GM tool

* Progress

* Basics are now working

* Surgery!

Needs more testing for each step, but the few I tried worked fine.

* body scanner complete

* Completed and tested!

* Fixes my terrible TGUI stuff
2025-07-24 14:06:18 +02:00