mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Quickfix for fax machines not working
This commit is contained in:
@@ -62,6 +62,7 @@
|
|||||||
switch(action)
|
switch(action)
|
||||||
if("make_copy")
|
if("make_copy")
|
||||||
addtimer(CALLBACK(src, .proc/copy_operation, usr), 0)
|
addtimer(CALLBACK(src, .proc/copy_operation, usr), 0)
|
||||||
|
. = TRUE
|
||||||
if("remove")
|
if("remove")
|
||||||
if(copyitem)
|
if(copyitem)
|
||||||
copyitem.loc = usr.loc
|
copyitem.loc = usr.loc
|
||||||
@@ -70,8 +71,10 @@
|
|||||||
copyitem = null
|
copyitem = null
|
||||||
else if(has_buckled_mobs())
|
else if(has_buckled_mobs())
|
||||||
to_chat(buckled_mobs[1], "<span class='notice'>You feel a slight pressure on your ass.</span>") // It can't eject your asscheeks, but it'll try.
|
to_chat(buckled_mobs[1], "<span class='notice'>You feel a slight pressure on your ass.</span>") // It can't eject your asscheeks, but it'll try.
|
||||||
|
. = TRUE
|
||||||
if("set_copies")
|
if("set_copies")
|
||||||
copies = clamp(text2num(params["num_copies"]), 1, maxcopies)
|
copies = clamp(text2num(params["num_copies"]), 1, maxcopies)
|
||||||
|
. = TRUE
|
||||||
if("ai_photo")
|
if("ai_photo")
|
||||||
if(!issilicon(usr))
|
if(!issilicon(usr))
|
||||||
return
|
return
|
||||||
@@ -94,8 +97,7 @@
|
|||||||
else
|
else
|
||||||
p.desc += " - Copied by [tempAI.name]"
|
p.desc += " - Copied by [tempAI.name]"
|
||||||
toner -= 5
|
toner -= 5
|
||||||
|
. = TRUE
|
||||||
return TRUE
|
|
||||||
|
|
||||||
/obj/machinery/photocopier/proc/copy_operation(var/mob/user)
|
/obj/machinery/photocopier/proc/copy_operation(var/mob/user)
|
||||||
if(copying)
|
if(copying)
|
||||||
|
|||||||
Reference in New Issue
Block a user