Reagent transfer to a mob is split up into a type proc.

This commit is contained in:
MistakeNot4892
2022-08-27 16:02:17 +10:00
parent b36de76c15
commit 68a209597c
7 changed files with 27 additions and 26 deletions

View File

@@ -219,7 +219,7 @@
update_icon()
if(trans)
to_chat(user, "<span class='notice'>You inject [trans] units of the solution. The syringe now contains [src.reagents.total_volume] units.</span>")
to_chat(user, SPAN_NOTICE("You inject [trans] unit\s of the solution. The syringe now contains [src.reagents.total_volume] unit\s."))
if(ismob(target))
add_attack_logs(user,target,"Injected with [src.name] containing [contained], trasferred [trans] units")
else