module things, jfc
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
to_chat(M, "<span class='notice'>You [apply_method] yourself with [src].</span>")
|
||||
|
||||
else
|
||||
add_logs(user, M, "attempted to apply", src, reagents.log_list())
|
||||
log_combat(user, M, "attempted to apply", src, reagents.log_list())
|
||||
M.visible_message("<span class='danger'>[user] attempts to [apply_method] [src] on [M].</span>", \
|
||||
"<span class='userdanger'>[user] attempts to [apply_method] [src] on [M].</span>")
|
||||
if(!do_mob(user, M))
|
||||
@@ -60,7 +60,7 @@
|
||||
return
|
||||
|
||||
else
|
||||
add_logs(user, M, "applied", src, reagents.log_list())
|
||||
log_combat(user, M, "applied", src, reagents.log_list())
|
||||
playsound(src, 'sound/effects/spray2.ogg', 50, 1, -6)
|
||||
var/fraction = min(amount_per_transfer_from_this/reagents.total_volume, 1)
|
||||
reagents.reaction(M, apply_type, fraction)
|
||||
|
||||
Reference in New Issue
Block a user