Files
Bubberstation/code/datums
LT3 0005020c86 Unfucking disease outbreaks/transmission (#1919)
## About The Pull Request

Disease transmission is nonsensical and broken. Goes through disease
outbreak and transmission vectors from start to finish fixing things
that don't work properly, or not as expected. Also adds some constraints
on the disease outbreak event based on medical staff.

This is mostly nonmodular edits as it's a test before I make the PR on
TG. It's been tested for a long while with NPCs on stations, but live
testing it here gives better visibility into how it goes in a real world
environment, and there is some extra game logging added for the duration
of the TM to validate the new disease calculations and spread are
working as expected.

Mainly the test is to see if the new values for disease transmission
"feel" right in a live environment, to perform some tweaks to the
percentages if required.

- Event diseases are no longer hidden from health analyzers during
incubation periods
- Masks and head slot items actually provide protection from airborne
disease spread
- People other than the original airborne hosts spread via respiration
- Reduced infection chance for contact/airborne diseases from current
95%+ on all diseases to values 15%-40% based on the transmissibility
strength
- Airborne spread is rolled per target, not source (smoother infections
compared to suddenly infecting 5 people with a single sneeze)
- Disease outbreak won't spawn during rounds with less than 3 medical
staff
- Disease outbreak begins with 2-3 original hosts but lower spread speed

## Why It's Good For The Game
- Disease outbreaks and transmission work more in line with how people
think they do/are supposed to.
- Gloves, masks, face shields etc. properly get calculated to protect
you from getting infected/infecting others.
- Disease outbreaks can immediately be identified by med staff with
analyzers, but borgs can't see the HUD icon as soon as the event starts
and instantly find patient zero.

## Changelog

🆑 LT3
balance: Event diseases are no longer hidden from health analyzers
during incubation periods
fix: Masks and head slot items actually provide protection from airborne
disease spread
fix: People other than the original airborne hosts spread diseases via
respiration
balance: Reduced infection chance for contact/airborne diseases from
current 95%+ on all diseases to values 15%-40% based on the
transmissibility strength
code: Airborne disease spread is rolled per target, not source
balance: Disease outbreak won't spawn during rounds with less than 3
medical staff
balance: Disease outbreak begins with 2-3 original hosts but lower
spread speed
fix: Disease cure won't request both antihol and alcohol mixed together
/🆑

---------

Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com>
2025-02-16 02:08:33 +02:00
..
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-11-16 00:44:54 -08:00
2024-12-07 16:17:34 -07:00
2025-01-21 00:33:01 -07:00
2024-12-07 16:17:29 -07:00
2024-10-19 08:04:33 -07:00
2025-01-11 11:38:00 -08:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00
2024-10-19 08:04:33 -07:00