mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[MIRROR] Fixes 2 really annoying cytology virus bugs. (#2628)
* Fixes 2 really annoying cytology virus bugs. (#56062) This PR fixes the generate_sample proc so it properly uses virus_chance to determine when to generate a virus. Now most samples will be virus free as intended. It also fixes the bug where virus penalty and spaceacillin consumption would be multiplied by the number of cell lines, rather than the number of viruses, as intended. * Fixes 2 really annoying cytology virus bugs. Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ This element is used in vat growing to allow for the object to be
|
||||
var/virus_define
|
||||
///Amount of cell lines on a single sample
|
||||
var/cell_line_amount
|
||||
///Amount of viruses on a single sample
|
||||
///The chance the sample will be infected with a virus.
|
||||
var/virus_chance
|
||||
|
||||
///Listens for the swab signal and then generate a sample based on pre-determined lists that are saved as GLOBs. this allows us to have very few swabbable element instances.
|
||||
|
||||
Reference in New Issue
Block a user