mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -93,7 +93,6 @@ var/global/list/image/splatter_cache=list()
|
||||
var/taken = rand(1,amount)
|
||||
amount -= taken
|
||||
to_chat(user, "<span class='notice'>You get some of \the [src] on your hands.</span>")
|
||||
|
||||
if (!user.blood_DNA)
|
||||
user.blood_DNA = list()
|
||||
user.blood_DNA |= blood_DNA.Copy()
|
||||
@@ -142,7 +141,6 @@ var/global/list/image/splatter_cache=list()
|
||||
..(user)
|
||||
to_chat(user, "It reads: <font color='[basecolor]'>\"[message]\"<font>")
|
||||
|
||||
|
||||
/obj/effect/decal/cleanable/blood/gibs
|
||||
name = "gibs"
|
||||
desc = "They look bloody and gruesome."
|
||||
|
||||
@@ -79,7 +79,6 @@ var/global/list/image/fluidtrack_cache=list()
|
||||
// Process 4 bits
|
||||
for(var/bi=0;bi<4;bi++)
|
||||
to_chat(b=1, bi)
|
||||
|
||||
// COMING BIT
|
||||
// If setting
|
||||
if(comingdir&b)
|
||||
|
||||
@@ -15,14 +15,11 @@
|
||||
if(src.reagents && W.reagents && !noscoop)
|
||||
if(!src.reagents.total_volume)
|
||||
to_chat(user, "<span class='notice'>There isn't enough [src] to scoop up!</span>")
|
||||
|
||||
return
|
||||
if(W.reagents.total_volume >= W.reagents.maximum_volume)
|
||||
to_chat(user, "<span class='notice'>[W] is full!</span>")
|
||||
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You scoop the [src] into [W]!</span>")
|
||||
|
||||
reagents.trans_to(W, reagents.total_volume)
|
||||
if(!reagents.total_volume && !noclear) //scooped up all of it
|
||||
qdel(src)
|
||||
@@ -34,7 +31,6 @@
|
||||
src.reagents.handle_reactions()
|
||||
to_chat(user, "<span class='notice'>You heat [src] with [W]!</span>")
|
||||
|
||||
|
||||
/obj/effect/decal/cleanable/ex_act()
|
||||
if(reagents)
|
||||
for(var/datum/reagent/R in reagents.reagent_list)
|
||||
|
||||
@@ -60,7 +60,6 @@
|
||||
|
||||
if(check)
|
||||
to_chat(user, "<span class='notice'>The wall is far too cluttered to place a poster!</span>")
|
||||
|
||||
return
|
||||
|
||||
resulting_poster.loc = W //Looks like it's uncluttered enough. Place the poster
|
||||
@@ -312,11 +311,9 @@ obj/structure/sign/poster/attackby(obj/item/I, mob/user, params)
|
||||
playsound(loc, 'sound/items/Wirecutter.ogg', 100, 1)
|
||||
if(ruined)
|
||||
to_chat(user, "<span class='notice'>You remove the remnants of the poster.</span>")
|
||||
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You carefully remove the poster from the wall.</span>")
|
||||
|
||||
roll_and_drop(user.loc)
|
||||
return
|
||||
|
||||
@@ -358,18 +355,15 @@ obj/structure/sign/poster/attackby(obj/item/I, mob/user, params)
|
||||
for(var/obj/O in user.loc.contents) //Let's see if it already has a poster on it or too much stuff
|
||||
if(istype(O,/obj/structure/sign))
|
||||
to_chat(user, "<span class='notice'>The wall is far too cluttered to place a poster!</span>")
|
||||
|
||||
return
|
||||
stuff_on_wall++
|
||||
if(stuff_on_wall >= 4)
|
||||
to_chat(user, "<span class='notice'>The wall is far too cluttered to place a poster!</span>")
|
||||
|
||||
return
|
||||
|
||||
to_chat(user, "<span class='notice'>You start placing the poster on the wall...</span>")//Looks like it's uncluttered enough. Place the poster.
|
||||
|
||||
|
||||
|
||||
//declaring D because otherwise if P gets 'deconstructed' we lose our reference to P.resulting_poster
|
||||
var/obj/structure/sign/poster/D = P.resulting_poster
|
||||
|
||||
@@ -390,7 +384,6 @@ obj/structure/sign/poster/attackby(obj/item/I, mob/user, params)
|
||||
D.pixel_y = 0
|
||||
else
|
||||
to_chat(user, "<span class='notice'>You cannot reach the wall from here!</span>")
|
||||
|
||||
return
|
||||
|
||||
flick("poster_being_set",D)
|
||||
@@ -404,7 +397,6 @@ obj/structure/sign/poster/attackby(obj/item/I, mob/user, params)
|
||||
|
||||
if(istype(src,/turf/simulated/wall) && user && user.loc == temp_loc) //Let's check if everything is still there
|
||||
to_chat(user, "<span class='notice'>You place the poster!</span>")
|
||||
|
||||
else
|
||||
D.roll_and_drop(temp_loc)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user