mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Changes to vira and health scanner.
- Antibodies now immunize you once they fight off a disease. - The pathogenic isolator now displays whether blood is infected. - Antibodies now work on monkeys. - Syringes now extract reagents other than blood from humans, too. - Separated the health scanning proc from the health scanner, so that it can later be re-used in the PDA. - Health-scanners now display hints of whether someone may be infected.
This commit is contained in:
@@ -969,7 +969,7 @@
|
||||
user << "\red There is already a blood sample in this syringe"
|
||||
return
|
||||
if(istype(target, /mob/living/carbon))//maybe just add a blood reagent to all mobs. Then you can suck them dry...With hundreds of syringes. Jolly good idea.
|
||||
var/amount = src.reagents.maximum_volume - src.reagents.total_volume
|
||||
var/amount = max(src.reagents.maximum_volume - src.reagents.total_volume - 2, 0)
|
||||
var/mob/living/carbon/T = target
|
||||
var/datum/reagent/B = new /datum/reagent/blood
|
||||
if(!T.dna)
|
||||
@@ -1015,6 +1015,10 @@
|
||||
//for(var/D in B.data)
|
||||
// world << "Data [D] = [B.data[D]]"
|
||||
//debug
|
||||
|
||||
// also transfer some of the reagents other than blood
|
||||
T.reagents.trans_to(src, 2)
|
||||
|
||||
src.reagents.reagent_list += B
|
||||
src.reagents.update_total()
|
||||
src.on_reagent_change()
|
||||
|
||||
Reference in New Issue
Block a user