mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] usr to user up to player effects (#9552)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a7e4ef7dad
commit
0180cc74c5
@@ -71,17 +71,17 @@
|
||||
return TRUE
|
||||
if("slot")
|
||||
var/slot = params["slot"]
|
||||
var/obj/item/I = usr.get_active_hand()
|
||||
var/obj/item/I = ui.user.get_active_hand()
|
||||
if(slot <= LAZYLEN(cooking_objs)) // Inserting
|
||||
var/datum/cooking_item/CI = cooking_objs[slot]
|
||||
|
||||
if(istype(I) && can_insert(I)) // Why do hard work when we can just make them smack us?
|
||||
attackby(I, usr)
|
||||
attackby(I, ui.user)
|
||||
else if(istype(CI))
|
||||
eject(CI, usr)
|
||||
eject(CI, ui.user)
|
||||
return TRUE
|
||||
if(istype(I)) // Why do hard work when we can just make them smack us?
|
||||
attackby(I, usr)
|
||||
attackby(I, ui.user)
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/appliance/cooker/examine(var/mob/user)
|
||||
|
||||
Reference in New Issue
Block a user