mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
fix merge conflict, wipe map changes
This commit is contained in:
@@ -83,7 +83,7 @@ obj/item/clipboard/proc/penPlacement(mob/user, obj/item/pen/P, placing)
|
||||
if(containedpen)
|
||||
overlays += "clipboard_pen"
|
||||
overlays += "clipboard_over"
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/clipboard/attackby(obj/item/W, mob/user)
|
||||
if(isPaperwork(W)) //If it's a photo, paper bundle, or piece of paper, place it on the clipboard.
|
||||
@@ -114,6 +114,8 @@ obj/item/clipboard/proc/penPlacement(mob/user, obj/item/pen/P, placing)
|
||||
else if(istype(W, /obj/item/stamp) && toppaper) //We can stamp the topmost piece of paper
|
||||
toppaper.attackby(W, user)
|
||||
update_icon()
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/clipboard/attack_self(mob/user)
|
||||
showClipboard(user)
|
||||
|
||||
@@ -61,6 +61,7 @@ var/global/list/fax_blacklist = list()
|
||||
/obj/machinery/photocopier/faxmachine/emag_act(mob/user)
|
||||
if(!emagged)
|
||||
emagged = 1
|
||||
req_one_access = list()
|
||||
to_chat(user, "<span class='notice'>The transmitters realign to an unknown source!</span>")
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You swipe the card through [src], but nothing happens.</span>")
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
overlays.Cut()
|
||||
if(contents.len)
|
||||
overlays += "folder_paper"
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/folder/attackby(obj/item/W as obj, mob/user as mob, params)
|
||||
if(istype(W, /obj/item/paper) || istype(W, /obj/item/photo) || istype(W, /obj/item/paper_bundle) || istype(W, /obj/item/documents))
|
||||
@@ -43,7 +43,8 @@
|
||||
|
||||
if((loc == usr || Adjacent(usr)) && usr.stat == 0)
|
||||
name = "folder[(n_name ? text("- '[n_name]'") : null)]"
|
||||
return
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/folder/attack_self(mob/user as mob)
|
||||
var/dat = "<title>[name]</title>"
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
updateinfolinks()
|
||||
|
||||
/obj/item/paper/update_icon()
|
||||
..()
|
||||
if(icon_state == "paper_talisman")
|
||||
return
|
||||
if(info)
|
||||
@@ -303,12 +304,6 @@
|
||||
if(user.mind && (user.mind.assigned_role == "Clown"))
|
||||
clown = 1
|
||||
|
||||
if(istype(P, /obj/item/stack/tape_roll))
|
||||
var/obj/item/stack/tape_roll/tape = P
|
||||
tape.stick(src, user)
|
||||
tape.use(1)
|
||||
return
|
||||
|
||||
if(istype(P, /obj/item/paper) || istype(P, /obj/item/photo))
|
||||
if(istype(P, /obj/item/paper/carbon))
|
||||
var/obj/item/paper/carbon/C = P
|
||||
|
||||
@@ -62,8 +62,6 @@
|
||||
to_chat(user, "<span class='notice'>You add \the [W.name] to [(src.name == "paper bundle") ? "the paper bundle" : src.name].</span>")
|
||||
qdel(W)
|
||||
else
|
||||
if(istype(W, /obj/item/stack/tape_roll))
|
||||
return 0
|
||||
if(istype(W, /obj/item/pen) || istype(W, /obj/item/toy/crayon))
|
||||
usr << browse("", "window=[name]") //Closes the dialog
|
||||
P = src[page]
|
||||
@@ -217,6 +215,7 @@
|
||||
|
||||
|
||||
/obj/item/paper_bundle/update_icon()
|
||||
..()
|
||||
if(contents.len)
|
||||
var/obj/item/paper/P = src[1]
|
||||
icon_state = P.icon_state
|
||||
|
||||
@@ -87,14 +87,14 @@
|
||||
|
||||
|
||||
/obj/item/paper_bin/attackby(obj/item/paper/i as obj, mob/user as mob, params)
|
||||
if(!istype(i))
|
||||
return
|
||||
|
||||
user.drop_item()
|
||||
i.loc = src
|
||||
to_chat(user, "<span class='notice'>You put [i] in [src].</span>")
|
||||
papers.Add(i)
|
||||
amount++
|
||||
if(istype(i))
|
||||
user.drop_item()
|
||||
i.loc = src
|
||||
to_chat(user, "<span class='notice'>You put [i] in [src].</span>")
|
||||
papers.Add(i)
|
||||
amount++
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
/obj/item/paper_bin/examine(mob/user)
|
||||
@@ -110,7 +110,7 @@
|
||||
icon_state = "paper_bin0"
|
||||
else
|
||||
icon_state = "paper_bin1"
|
||||
|
||||
..()
|
||||
|
||||
/obj/item/paper_bin/carbon
|
||||
name = "carbonless paper bin"
|
||||
|
||||
@@ -62,6 +62,16 @@
|
||||
if(toner <= 0)
|
||||
break
|
||||
|
||||
if(copier_items_printed >= copier_max_items) //global vars defined in misc.dm
|
||||
if(prob(10))
|
||||
visible_message("<span class='warning'>The printer screen reads \"PC LOAD LETTER\".</span>")
|
||||
else
|
||||
visible_message("<span class='warning'>The printer screen reads \"PHOTOCOPIER NETWORK OFFLINE, PLEASE CONTACT SYSTEM ADMINISTRATOR\".</span>")
|
||||
if(!copier_items_printed_logged)
|
||||
message_admins("Photocopier cap of [copier_max_items] papers reached, all photocopiers are now disabled. This may be the cause of any lag.")
|
||||
copier_items_printed_logged = TRUE
|
||||
break
|
||||
|
||||
if(emag_cooldown > world.time)
|
||||
return
|
||||
|
||||
@@ -86,7 +96,7 @@
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>\The [copyitem] can't be copied by \the [src].</span>")
|
||||
break
|
||||
|
||||
copier_items_printed++
|
||||
use_power(active_power_usage)
|
||||
updateUsrDialog()
|
||||
else if(href_list["remove"])
|
||||
|
||||
Reference in New Issue
Block a user