mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Machinery Use Logging
- Implements use logging (attack log-like var list) to machinery, viewable in VV, can be used within any machine. - The virus incubator in virology logs whenever somebody transfers a virus to a blood sample, as well as that virus' symptoms.
This commit is contained in:
@@ -192,6 +192,11 @@
|
||||
var/list/virus = list("[dish.virus2.uniqueID]" = dish.virus2.getcopy())
|
||||
B.data["virus2"] += virus
|
||||
|
||||
var/list/virus_effects
|
||||
for(var/datum/disease2/effectholder/symptom in dish.virus2.effects)
|
||||
virus_effects += "\[" + symptom.effect.name + "\]"
|
||||
use_log += text("\[[time_stamp()]\] <font color='red'>[user.name] ([user.ckey]) has transferred a virus containing [virus_effects] to a blood sample.</font>")
|
||||
|
||||
ping("\The [src] pings, \"Injection complete.\"")
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user