mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
var/obj/item/weapon/paper/carbon/C = P
|
||||
if (!C.iscopy && !C.copied)
|
||||
to_chat(user, "<span class='notice'>Take off the carbon copy first.</span>")
|
||||
|
||||
add_fingerprint(user)
|
||||
return
|
||||
|
||||
@@ -33,7 +32,6 @@
|
||||
if(screen == 2)
|
||||
screen = 1
|
||||
to_chat(user, "<span class='notice'>You add [(P.name == "paper") ? "the paper" : P.name] to [(src.name == "paper bundle") ? "the paper bundle" : src.name].</span>")
|
||||
|
||||
user.unEquip(P)
|
||||
P.loc = src
|
||||
if(istype(user,/mob/living/carbon/human))
|
||||
@@ -45,7 +43,6 @@
|
||||
if(screen == 2)
|
||||
screen = 1
|
||||
to_chat(user, "<span class='notice'>You add [(W.name == "photo") ? "the photo" : W.name] to [(src.name == "paper bundle") ? "the paper bundle" : src.name].</span>")
|
||||
|
||||
user.unEquip(W)
|
||||
W.loc = src
|
||||
else if(istype(W, /obj/item/weapon/lighter))
|
||||
@@ -59,7 +56,6 @@
|
||||
if(screen == 2)
|
||||
screen = 1
|
||||
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))
|
||||
@@ -100,14 +96,12 @@
|
||||
else
|
||||
to_chat(user, "\red You must hold \the [P] steady to burn \the [src].")
|
||||
|
||||
|
||||
/obj/item/weapon/paper_bundle/examine(mob/user)
|
||||
if(..(user, 1))
|
||||
src.show_content(user)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>It is too far away.</span>")
|
||||
|
||||
|
||||
/obj/item/weapon/paper_bundle/proc/show_content(mob/user as mob)
|
||||
var/dat
|
||||
var/obj/item/weapon/W = src[page]
|
||||
@@ -169,7 +163,6 @@
|
||||
var/obj/item/weapon/W = src[page]
|
||||
usr.put_in_hands(W)
|
||||
to_chat(usr, "<span class='notice'>You remove the [W.name] from the bundle.</span>")
|
||||
|
||||
if(amount == 1)
|
||||
var/obj/item/weapon/paper/P = src[1]
|
||||
usr.unEquip(src)
|
||||
@@ -184,7 +177,6 @@
|
||||
update_icon()
|
||||
else
|
||||
to_chat(usr, "<span class='notice'>You need to hold it in your hands to change pages.</span>")
|
||||
|
||||
if (istype(src.loc, /mob))
|
||||
src.attack_self(src.loc)
|
||||
updateUsrDialog()
|
||||
@@ -209,7 +201,6 @@
|
||||
set src in usr
|
||||
|
||||
to_chat(usr, "<span class='notice'>You loosen the bundle.</span>")
|
||||
|
||||
for(var/obj/O in src)
|
||||
O.loc = usr.loc
|
||||
O.layer = initial(O.layer)
|
||||
|
||||
Reference in New Issue
Block a user