mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Changes a Chemistry Transfer Proc
This commit is contained in:
@@ -51,12 +51,12 @@
|
||||
if (reagents.total_volume > 0)
|
||||
if(M == user)
|
||||
M.visible_message("<span class='notice'>\The [user] eats some [loaded] from \the [src].</span>")
|
||||
reagents.trans_to_ingest(M, reagents.total_volume)
|
||||
reagents.trans_to(M, reagents.total_volume)
|
||||
else
|
||||
M.visible_message("<span class='warning'>\The [user] attempts to feed some [loaded] to \the [M] with \the [src].</span>")
|
||||
if(!do_mob(user, M)) return
|
||||
M.visible_message("<span class='warning'>\The [user] feeds some [loaded] to \the [M] with \the [src].</span>")
|
||||
reagents.trans_to_ingest(M, reagents.total_volume)
|
||||
reagents.trans_to(M, reagents.total_volume)
|
||||
M.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been utensil fed by [user.name] ([user.ckey]) with [src.name]</font>")
|
||||
user.attack_log += text("\[[time_stamp()]\] <font color='red'>Utensil fed [M.name] ([M.ckey]) with [src.name]</font>")
|
||||
playsound(M.loc,'sound/items/eatfood.ogg', rand(10,40), 1)
|
||||
|
||||
Reference in New Issue
Block a user