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:
DZD
2015-01-22 14:36:11 -05:00
parent add99533fc
commit 2d84ebed13
2 changed files with 9 additions and 3 deletions
+5
View File
@@ -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