mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Update _appliance.dm
This commit is contained in:
@@ -319,22 +319,13 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
//From here we can start cooking food
|
//From here we can start cooking food
|
||||||
<<<<<<< HEAD
|
|
||||||
. = add_content(I, user)
|
|
||||||
=======
|
|
||||||
add_content(ToCook, user)
|
add_content(ToCook, user)
|
||||||
>>>>>>> f518a31... Hydro upkeep (#7475)
|
|
||||||
update_icon()
|
update_icon()
|
||||||
|
|
||||||
//Override for container mechanics
|
//Override for container mechanics
|
||||||
/obj/machinery/appliance/proc/add_content(var/obj/item/I, var/mob/user)
|
/obj/machinery/appliance/proc/add_content(var/obj/item/I, var/mob/user)
|
||||||
<<<<<<< HEAD
|
|
||||||
if(!user.unEquip(I))
|
|
||||||
return FALSE
|
|
||||||
=======
|
|
||||||
if(!user.unEquip(I) && !isturf(I.loc))
|
if(!user.unEquip(I) && !isturf(I.loc))
|
||||||
return
|
return
|
||||||
>>>>>>> f518a31... Hydro upkeep (#7475)
|
|
||||||
|
|
||||||
var/datum/cooking_item/CI = has_space(I)
|
var/datum/cooking_item/CI = has_space(I)
|
||||||
if (istype(I, /obj/item/weapon/reagent_containers/cooking_container) && CI == 1)
|
if (istype(I, /obj/item/weapon/reagent_containers/cooking_container) && CI == 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user