qdel replacing del, time for bugs

This commit is contained in:
Sood
2015-12-03 23:42:06 -08:00
parent f7f2783829
commit 3cdf89b675
261 changed files with 659 additions and 679 deletions

View File

@@ -250,7 +250,7 @@ Pipelines + Other Objects -> Pipe network
if(pipe_parent)
transit.divide(pipe_parent.members.len) //we get the total pressure over the number of pipes to find gas per pipe
env_air.add(transit) //put it in the air
del(transit) //remove the carrier
qdel(transit) //remove the carrier
else
to_chat(user, "<span class='warning'>You cannot unwrench this [src], it too exerted due to internal pressure.</span>")
return 1

View File

@@ -50,7 +50,7 @@
"<span class='notice'>You have removed \the [src].</span>", \
"You hear a ratchet.")
//new /obj/item/pipe(T, make_from=src)
del(src)
qdel(src)
/obj/machinery/atmospherics/unary/vent/burstpipe/heat_exchanging
icon_state = "burst_he"
@@ -62,4 +62,4 @@
initialize_directions = SOUTH
/obj/machinery/atmospherics/unary/vent/burstpipe/heat_exchanging/getNodeType(var/node_id)
return PIPE_TYPE_HE
return PIPE_TYPE_HE

View File

@@ -16,7 +16,7 @@
returnToPool(network)
if(air && air.volume) //For the pipeline rebuild next tick
temporarily_store_air()
del(air)
qdel(air)
//Null the fuck out of all these references
for(var/obj/machinery/atmospherics/pipe/M in members) //Edges are a subset of members
M.parent = null

View File

@@ -512,7 +512,7 @@ var/global/list/nlist = list( \
else
// If the pipe's still around, nuke it.
if(P)
del(P)
qdel(P)
return 1
//TODO: DEFERRED
@@ -544,7 +544,7 @@ var/global/list/nlist = list( \
new/obj/machinery/meter(src.loc, pipe)
playsound(get_turf(src), 'sound/items/Ratchet.ogg', 50, 1)
to_chat(user, "<span class='notice'>You have fastened the meter to the pipe</span>")
del(src)
qdel(src)
/obj/item/pipe_meter/dropped()
..()
@@ -572,4 +572,4 @@ var/global/list/nlist = list( \
new/obj/machinery/air_sensor( src.loc )
playsound(get_turf(src), 'sound/items/Ratchet.ogg', 50, 1)
to_chat(user, "<span class='notice'>You have fastened the gas sensor</span>")
del(src)
qdel(src)

View File

@@ -280,7 +280,7 @@
BP.level=src.level
BP.do_connect()
del(src) // NOT qdel.
qdel(src) // NOT qdel.
/obj/machinery/atmospherics/pipe/simple/proc/normalize_dir()
@@ -1092,7 +1092,7 @@
if(direction != dir && user.ventcrawl_layer != PIPING_LAYER_DEFAULT) // The mob is moving to the single pipe outlet, we need to align it if it's on a layer that's not the default layer
user.ventcrawl_layer = PIPING_LAYER_DEFAULT
to_chat(user, "You are redirected into the [user.ventcrawl_layer]\th piping layer.")
return ..()
@@ -1255,4 +1255,4 @@
if(direction & initialize_directions)
user.ventcrawl_layer = (direction == dir) ? PIPING_LAYER_DEFAULT : piping_layer
to_chat(user, "You are redirected into the [user.ventcrawl_layer]\th piping layer.")
return ..()
return ..()

View File

@@ -3,7 +3,7 @@
/turf/var/zone/zone
/turf/assume_air(datum/gas_mixture/giver) //use this for machines to adjust air
del(giver)
qdel(giver)
return 0
/turf/return_air()
@@ -137,7 +137,7 @@
/turf/simulated/Destroy()
if(active_hotspot)
del(active_hotspot)
qdel(active_hotspot)
if(blocks_air)
for(var/direction in list(NORTH, SOUTH, EAST, WEST))
var/turf/simulated/tile = get_step(src,direction)
@@ -405,4 +405,4 @@
var/turf/T = get_step(src,d)
if(istype(T,/turf/space) && T.CanPass(0,src,0,0))
zone.AddSpace(T)
*/
*/

View File

@@ -66,7 +66,7 @@ proc
text_image.color = AverageColor(atom_icon)
text_image.pixel_x = 6
text_image.pixel_y = 5
del(atom_icon)
qdel(atom_icon)
return text_image
//For photo camera.

View File

@@ -5,7 +5,7 @@
timed_alert = new(target,message,title,button1,button2,button3)
sleep(time)
del(timed_alert)
qdel(timed_alert)
/mob/proc/timed_alert(time,message,title,button1,button2,button3)
var/selected_button = ""

View File

@@ -80,14 +80,14 @@ var/const/tk_maxrange = 15
if(focus.Adjacent(loc))
focus.loc = loc
del(src)
qdel(src)
return
//stops TK grabs being equipped anywhere but into hands
equipped(var/mob/user, var/slot)
if( (slot == slot_l_hand) || (slot== slot_r_hand) ) return
del(src)
qdel(src)
return
@@ -101,10 +101,10 @@ var/const/tk_maxrange = 15
if(!target || !user) return
if(last_throw+3 > world.time) return
if(!host || host != user)
del(src)
qdel(src)
return
if(!(M_TK in host.mutations))
del(src)
qdel(src)
return
if(isobj(target) && !isturf(target.loc))
return
@@ -158,7 +158,7 @@ var/const/tk_maxrange = 15
proc/focus_object(var/obj/target, var/mob/living/user)
if(!istype(target,/obj)) return//Cant throw non objects atm might let it do mobs later
if(target.anchored || !isturf(target.loc))
del src
qdel(src)
return
focus = target
update_icon()
@@ -211,4 +211,3 @@ var/const/tk_maxrange = 15
var/Z = source:z
*/

View File

@@ -272,7 +272,7 @@ proc/get_id_photo(var/mob/living/carbon/human/H)
preview_icon.Blend(eyes_s, ICON_OVERLAY)
if(clothes_s)
preview_icon.Blend(clothes_s, ICON_OVERLAY)
del(eyes_s)
del(clothes_s)
qdel(eyes_s)
qdel(clothes_s)
return preview_icon
return preview_icon

View File

@@ -755,7 +755,7 @@
special_role = null
current.remove_changeling_powers()
current.verbs -= /datum/changeling/proc/EvolutionMenu
if(changeling) del(changeling)
if(changeling) qdel(changeling)
to_chat(current, "<FONT color='red' size = 3><B>You grow weak and lose your powers! You are no longer a changeling and are stuck in your current form!</B></FONT>")
log_admin("[key_name_admin(usr)] has de-changeling'ed [current].")
if("changeling")
@@ -793,7 +793,7 @@
ticker.mode.vampires -= src
special_role = null
current.remove_vampire_powers()
if(vampire) del(vampire)
if(vampire) qdel(vampire)
to_chat(current, "<FONT color='red' size = 3><B>You grow weak and lose your powers! You are no longer a vampire and are stuck in your current form!</B></FONT>")
log_admin("[key_name_admin(usr)] has de-vampired [current].")
if("vampire")
@@ -925,7 +925,7 @@
src = null
m2h.inject(M)
src = mobfinder.loc:mind
del(mobfinder)
qdel(mobfinder)
current.radiation -= 50
else if (href_list["silicon"])
@@ -944,7 +944,7 @@
A.laws = new base_law_type
del(A.malf_picker)
qdel(A.malf_picker)
A.show_laws()
A.icon_state = "ai"

View File

@@ -24,7 +24,7 @@ var/list/modules = list( // global associative list
var/mneed = mods.inmodlist(type) // find if this type has modules defined
if(!mneed) // not found in module list?
del(src) // delete self, thus ending proc
qdel(src) // delete self, thus ending proc
var/needed = mods.getbitmask(type) // get a bitmask for the number of modules in this object
status = needed
@@ -58,5 +58,3 @@ var/list/modules = list( // global associative list
modcount["[type]"] = num
return 2**num-1

View File

@@ -75,12 +75,12 @@ proc/sd_Alert(client/who, message, title, buttons = list("Ok"), default, duratio
var/sd_alert/T = locate(tag)
if(T)
if(istype(T)) del(T)
if(istype(T)) qdel(T)
else CRASH("sd_Alert: tag \"[tag]\" is already in use by datum '[T]' (type: [T.type])")
T = new(who, tag)
if(duration)
spawn(duration)
if(T) del(T)
if(T) qdel(T)
return
T.Display(message,title,buttons,default,unfocus,size,table,style,select,flags)
. = T.Response()
@@ -162,5 +162,5 @@ sd_alert
else if(response in validation) validated = 1
else response=null
else validated = 1
spawn(2) del(src)
spawn(2) qdel(src)
return response

View File

@@ -616,7 +616,7 @@ var/list/transparent_icons = list("diagonalWall3","swall_f5","swall_f6","swall_f
X.icon = 'icons/turf/shuttle.dmi'
X.icon_state = replacetext(O.icon_state, "_f", "_s") // revert the turf to the old icon_state
X.name = "wall"
del(O) // prevents multiple shuttle corners from stacking
qdel(O) // prevents multiple shuttle corners from stacking
continue
if(!istype(O,/obj)) continue
O.forceMove(X)

View File

@@ -626,7 +626,7 @@ its easier to just keep the beam vertical.
//Cleaning up shit.
if(fingerprints && !fingerprints.len)
del(fingerprints)
qdel(fingerprints)
return

View File

@@ -327,7 +327,7 @@
if(prob(75))
for(var/atom/movable/A as mob|obj in src)
A.loc = src.loc
del(src)
qdel(src)
/obj/machinery/computer/scan_consolenew
name = "DNA Modifier Access Console"

View File

@@ -91,7 +91,7 @@
I.imp_in = O
// O.update_icon = 1 //queue a full icon update at next life() call
H.monkeyizing = 0
del(M)
qdel(M)
return
/datum/dna/gene/monkey/deactivate(var/mob/living/M, var/connected, var/flags)
@@ -181,5 +181,5 @@
affected.implants += I
// O.update_icon = 1 //queue a full icon update at next life() call
Mo.monkeyizing = 0
del(M)
qdel(M)
return

View File

@@ -24,7 +24,7 @@
/obj/effect/blob/core/Destroy()
blob_cores -= src
if(overmind)
del(overmind)
qdel(overmind)
processing_objects.Remove(src)
..()
@@ -76,7 +76,7 @@
overmind_get_delay = world.time + 300 // 30 seconds
if(overmind)
del(overmind)
qdel(overmind)
var/client/C = null
var/list/candidates = list()
@@ -100,4 +100,3 @@
mode.infected_crew += B.mind
return 1
return 0

View File

@@ -418,7 +418,7 @@
O.verbs += /mob/proc/changeling_lesser_transform
O.changeling_update_languages(O.mind.changeling.absorbed_languages)
feedback_add_details("changeling_powers","LF")
del(C)
qdel(C)
return 1
@@ -463,7 +463,7 @@
animation.master = src
flick("monkey2h", animation)
sleep(48)
del(animation)
qdel(animation)
for(var/obj/item/W in src)
C.u_equip(W, 1)
@@ -504,7 +504,7 @@
O.changeling_update_languages(changeling.absorbed_languages)
feedback_add_details("changeling_powers","LFT")
del(C)
qdel(C)
return 1

View File

@@ -160,7 +160,7 @@
if(istype(M, /mob/living/silicon/robot))
var/mob/living/silicon/robot/Robot = M
if(Robot.mmi)
del(Robot.mmi)
qdel(Robot.mmi)
else
for(var/obj/item/W in M)
if(istype(W, /obj/item/weapon/implant)) //TODO: Carn. give implants a dropped() or something

View File

@@ -471,7 +471,7 @@ var/global/mr_clean_targets = list(
var/mob/living/silicon/robot/R = L
if (R.mmi)
del(R.mmi) // Nuke MMI.
qdel(R.mmi) // Nuke MMI.
qdel(L) // Just delete it.
else if (is_type_in_list(A, mr_clean_targets))
qdel(A)

View File

@@ -1357,25 +1357,25 @@
if("Juggernaut")
var/mob/living/simple_animal/construct/armoured/C = new /mob/living/simple_animal/construct/armoured (get_turf(src.loc))
M.mind.transfer_to(C)
del(M)
qdel(M)
to_chat(C, "<B>You are now a Juggernaut. Though slow, your shell can withstand extreme punishment, create temporary walls and even deflect energy weapons, and rip apart enemies and walls alike.</B>")
ticker.mode.update_cult_icons_added(C.mind)
if("Wraith")
var/mob/living/simple_animal/construct/wraith/C = new /mob/living/simple_animal/construct/wraith (get_turf(src.loc))
M.mind.transfer_to(C)
del(M)
qdel(M)
to_chat(C, "<B>You are a now Wraith. Though relatively fragile, you are fast, deadly, and even able to phase through walls.</B>")
ticker.mode.update_cult_icons_added(C.mind)
if("Artificer")
var/mob/living/simple_animal/construct/builder/C = new /mob/living/simple_animal/construct/builder (get_turf(src.loc))
M.mind.transfer_to(C)
del(M)
qdel(M)
to_chat(C, "<B>You are now an Artificer. You are incredibly weak and fragile, but you are able to construct new floors and walls, to break some walls apart, to repair allied constructs (by clicking on them), </B><I>and most important of all create new constructs</I><B> (Use your Artificer spell to summon a new construct shell and Summon Soulstone to create a new soulstone).</B>")
ticker.mode.update_cult_icons_added(C.mind)
if("Harvester")
var/mob/living/simple_animal/construct/harvester/C = new /mob/living/simple_animal/construct/harvester (get_turf(src.loc))
M.mind.transfer_to(C)
del(M)
qdel(M)
to_chat(C, "<B>You are now an Harvester. You are as fast and powerful as Wraiths, but twice as durable.<br>No living (or dead) creature can hide from your eyes, and no door or wall shall place itself between you and your victims.<br>Your role consists of neutralizing any non-cultist living being in the area and transport them to Nar-Sie. To do so, place yourself above an incapacited target and use your \"Harvest\" spell.")
ticker.mode.update_cult_icons_added(C.mind)
else
@@ -1385,19 +1385,19 @@
if("Juggernaut")
var/mob/living/simple_animal/construct/armoured/C = new /mob/living/simple_animal/construct/armoured (get_turf(src.loc))
M.mind.transfer_to(C)
del(M)
qdel(M)
to_chat(C, "<B>You are now a Juggernaut. Though slow, your shell can withstand extreme punishment, create temporary walls and even deflect energy weapons, and rip apart enemies and walls alike.</B>")
ticker.mode.update_cult_icons_added(C.mind)
if("Wraith")
var/mob/living/simple_animal/construct/wraith/C = new /mob/living/simple_animal/construct/wraith (get_turf(src.loc))
M.mind.transfer_to(C)
del(M)
qdel(M)
to_chat(C, "<B>You are a now Wraith. Though relatively fragile, you are fast, deadly, and even able to phase through walls.</B>")
ticker.mode.update_cult_icons_added(C.mind)
if("Artificer")
var/mob/living/simple_animal/construct/builder/C = new /mob/living/simple_animal/construct/builder (get_turf(src.loc))
M.mind.transfer_to(C)
del(M)
qdel(M)
to_chat(C, "<B>You are now an Artificer. You are incredibly weak and fragile, but you are able to construct new floors and walls, to break some walls apart, to repair allied constructs (by clicking on them), </B><I>and most important of all create new constructs</I><B> (Use your Artificer spell to summon a new construct shell and Summon Soulstone to create a new soulstone).</B>")
ticker.mode.update_cult_icons_added(C.mind)
qdel(src)

View File

@@ -50,7 +50,7 @@
for(var/atom/movable/A in T)
if(A)
if(istype(A,/mob/living))
del(A)
qdel(A)
else if(istype(A,/mob)) // Observers, AI cameras.
continue
qdel(A)

View File

@@ -239,7 +239,7 @@ The access requirements on the Asteroid Shuttles' consoles have now been revoked
M.current.remove_changeling_powers()
M.current.verbs -= /datum/changeling/proc/EvolutionMenu
if(M.changeling)
del(M.changeling)
qdel(M.changeling)
to_chat(M.current, "<span class='danger'><FONT size = 3>You grow weak and lose your powers. You are no longer a changeling and are stuck in your current form.</FONT></span>")
if(M in ticker.mode.vampires)
@@ -247,7 +247,7 @@ The access requirements on the Asteroid Shuttles' consoles have now been revoked
M.special_role = null
M.current.remove_vampire_powers()
if(M.vampire)
del(M.vampire)
qdel(M.vampire)
to_chat(M.current, "<span class='danger'><FONT size = 3>You grow weak and lose your powers. You are no longer a vampire and are stuck in your current form.</FONT></span>")
if(M in ticker.mode.syndicates)
@@ -280,7 +280,7 @@ The access requirements on the Asteroid Shuttles' consoles have now been revoked
A.laws = new base_law_type
del(A.malf_picker)
qdel(A.malf_picker)
A.show_laws()
A.icon_state = "ai"

View File

@@ -339,7 +339,7 @@ var/global/list/datum/stack_recipe/snow_recipes = list (
new /obj/item/stack/sheet/snow(get_turf(src), 1)
new /obj/item/stack/sheet/snow(get_turf(src), 1)
new /obj/item/stack/sheet/snow(get_turf(src), 1)
del(src)
qdel(src)
..()
/obj/structure/window/barricade/snow/ex_act(severity)
@@ -362,7 +362,7 @@ var/global/list/datum/stack_recipe/snow_recipes = list (
src.health -= 25
if (src.health <= 0)
visible_message("<span class='danger'>The blob eats through \the [src]!</span>")
del(src)
qdel(src)
return
/obj/structure/window/barricade/snow/CanPass(atom/movable/mover, turf/target, height=1.5, air_group = 0)//So bullets will fly over and stuff.

View File

@@ -61,7 +61,7 @@
hat.loc = T
if(carrot)
carrot.loc = T
del(src)
qdel(src)
else if(fire_alert)
src.say(pick("Oh god the heat...","I'm meltiiinggg...","Someone turn off the heater!"))
@@ -116,4 +116,4 @@
if(istype(A,/mob/living/carbon/))
var/mob/living/carbon/C = A
if(C.bodytemperature >= SNOWBALL_MINIMALTEMP)
C.bodytemperature -= 5
C.bodytemperature -= 5

View File

@@ -23,4 +23,4 @@
P.icon_state = "anom"
P.name = "wormhole"
spawn(rand(100,150))
del(P)
qdel(P)

View File

@@ -16,12 +16,12 @@
while(src)
if(!isturf(loc))
del(src)
qdel(src)
return
//DESTROYING STUFF AT THE EPICENTER
for(var/mob/living/M in orange(1,src))
del(M)
qdel(M)
for(var/obj/O in orange(1,src))
qdel(O)
for(var/turf/simulated/ST in orange(1,src))
@@ -57,7 +57,7 @@
/obj/effect/bhole/proc/grav(var/r, var/ex_act_force, var/pull_chance, var/turf_removal_chance)
if(!isturf(loc)) //blackhole cannot be contained inside anything. Weird stuff might happen
del(src)
qdel(src)
return
for(var/t = -r, t < r, t++)
affect_coord(x+t, y-r, ex_act_force, pull_chance, turf_removal_chance)

View File

@@ -36,7 +36,7 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
if(clong.density || prob(10))
clong.ex_act(2)
else
del(src)
qdel(src)
if(clong && prob(25))
src.loc = clong.loc
@@ -81,9 +81,9 @@ In my current plan for it, 'solid' will be defined as anything with density == 1
if (immrod.z != 1)
immrod.z = 1
if(immrod.loc == end)
del(immrod)
qdel(immrod)
sleep(10)
for(var/obj/effect/immovablerod/imm in world)
return
sleep(50)
command_alert("What the fuck was that?!", "General Alert")
command_alert("What the fuck was that?!", "General Alert")

View File

@@ -14,7 +14,7 @@
evil_tree.icon_living = evil_tree.icon_state
evil_tree.icon_dead = evil_tree.icon_state
evil_tree.icon_gib = evil_tree.icon_state
del(xmas)
qdel(xmas)
/obj/item/weapon/toy/xmas_cracker
name = "xmas cracker"
@@ -37,7 +37,7 @@
"What do you get from eating tree decorations?\n\n<i>Tinsilitis!</i>",
"What do snowmen wear on their heads?\n\n<i>Ice caps!</i>",
"Why is Christmas just like life on ss13?\n\n<i>You do all the work and the fat guy gets all the credit.</i>",
"Why doesn<73>t Santa have any children?\n\n<i>Because he only comes down the chimney.</i>")
"Why doesn<73>t Santa have any children?\n\n<i>Because he only comes down the chimney.</i>")
new /obj/item/clothing/head/festive(target.loc)
user.update_icons()
cracked = 1
@@ -57,4 +57,3 @@
flags_inv = 0
flags = FPRINT
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0)

View File

@@ -135,7 +135,7 @@
for(var/obj/effect/landmark/A in landmarks_list)
if(A.name == "Syndicate-Spawn")
synd_spawn += get_turf(A)
del(A)
qdel(A)
continue
var/obj/effect/landmark/uplinklocker = locate("landmark*Syndicate-Uplink") //i will be rewriting this shortly

View File

@@ -27,7 +27,7 @@
/obj/effect/rend/New()
spawn(50)
new /obj/machinery/singularity/narsie/wizard(get_turf(src))
del(src)
qdel(src)
return
return
@@ -164,4 +164,4 @@
#undef ZOMBIE
#undef SKELETON
//#undef FAITHLESS
//#undef FAITHLESS

View File

@@ -24,7 +24,7 @@
/obj/effect/rend/New()
spawn(50)
new /obj/machinery/singularity/narsie/wizard(get_turf(src))
del(src)
qdel(src)
return
return
@@ -36,4 +36,3 @@
visible_message("<span class='danger'>[src] hums with power as [usr] deals a blow to reality itself!</span>")
else
to_chat(user, "<span class='warning'>The unearthly energies that powered the blade are now dormant</span>")

View File

@@ -79,7 +79,7 @@
verbs += rotate_verbs
if(node)
node.disconnect(src)
del(network)
qdel(network)
node = null
else if(anchored)
verbs -= rotate_verbs
@@ -246,7 +246,7 @@
verbs += rotate_verbs
if(node)
node.disconnect(src)
del(network)
qdel(network)
node = null
else if(anchored)
verbs -= rotate_verbs
@@ -325,4 +325,4 @@
to_chat(usr, "It is fastened to the floor!")
return 0
src.dir = turn(src.dir, 90)
return 1
return 1

View File

@@ -44,14 +44,14 @@
/obj/machinery/optable/blob_act()
if(prob(75))
del(src)
qdel(src)
/obj/machinery/optable/attack_paw(mob/user as mob)
if ((M_HULK in usr.mutations))
to_chat(usr, text("<span class='notice'>You destroy the operating table.</span>"))
visible_message("<span class='warning'>[usr] destroys the operating table!</span>")
src.density = 0
del(src)
qdel(src)
if (!( locate(/obj/machinery/optable, user.loc) ))
step(user, get_dir(user, src))
if (user.loc == src.loc)
@@ -64,7 +64,7 @@
to_chat(usr, text("<span class='notice'>You destroy the table.</span>"))
visible_message("<span class='warning'>[usr] destroys the operating table!</span>")
src.density = 0
del(src)
qdel(src)
return
/obj/machinery/optable/CanPass(atom/movable/mover, turf/target, height=1.5, air_group = 0)
@@ -180,4 +180,4 @@
return
if(isrobot(user)) return
user.drop_item(W, src.loc)
return
return

View File

@@ -34,7 +34,7 @@
update_icon()
/obj/machinery/portable_atmospherics/Destroy()
del(air_contents)
qdel(air_contents)
..()
/obj/machinery/portable_atmospherics/update_icon()

View File

@@ -32,7 +32,7 @@
caught = 1
if(B.feral < 0)
caught_bees += B.strength
del(B)
qdel(B)
user.visible_message("<span class='notice'>[user] nets some bees.</span>","<span class='notice'>You net up some of the becalmed bees.</span>")
else
user.visible_message("<span class='warning'>[user] swings at some bees, they don't seem to like it.</span>","<span class='warning'>You swing at some bees, they don't seem to like it.</span>")
@@ -48,7 +48,7 @@
caught = 1
if(B.feral < 0)
caught_bees += B.strength
del(B)
qdel(B)
user.visible_message("<span class='notice'>[user] nets some bees.</span>","<span class='notice'>You net up some of the becalmed bees.</span>")
else
user.visible_message("<span class='warning'>[user] swings at some bees, they don't seem to like it.</span>","<span class='warning'>You swing at some bees, they don't seem to like it.</span>")

View File

@@ -221,7 +221,7 @@
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
s.set_up(3, 1, src)
s.start()
del(src)
qdel(src)
return
/obj/machinery/bot/farmbot/process()
@@ -542,7 +542,7 @@
to_chat(user, "You add the robot arm to the [src]")
src.loc = A //Place the water tank into the assembly, it will be needed for the finished bot
del(S)
qdel(S)
/obj/item/weapon/farmbot_arm_assembly/attackby(obj/item/weapon/W as obj, mob/user as mob)
..()
@@ -550,19 +550,19 @@
src.build_step++
to_chat(user, "You add the plant analyzer to [src]!")
src.name = "farmbot assembly"
del(W)
qdel(W)
else if(( istype(W, /obj/item/weapon/reagent_containers/glass/bucket)) && (src.build_step == 1))
src.build_step++
to_chat(user, "You add a bucket to [src]!")
src.name = "farmbot assembly with bucket"
del(W)
qdel(W)
else if(( istype(W, /obj/item/weapon/minihoe)) && (src.build_step == 2))
src.build_step++
to_chat(user, "You add a minihoe to [src]!")
src.name = "farmbot assembly with bucket and minihoe"
del(W)
qdel(W)
else if((isprox(W)) && (src.build_step == 3))
src.build_step++
@@ -573,8 +573,8 @@
S.tank = wTank
S.loc = get_turf(src)
S.name = src.created_name
del(W)
del(src)
qdel(W)
qdel(src)
else if(istype(W, /obj/item/weapon/pen))
var/t = input(user, "Enter new robot name", src.name, src.created_name) as text

View File

@@ -488,7 +488,7 @@ var/global/list/floorbot_targets=list()
T.amount = 4
if(M.amount==1)
returnToPool(M)
//del(M)
//qdel(M)
else
M.amount--
floorbot_targets -= src.target
@@ -700,7 +700,7 @@ var/global/list/floorbot_targets=list()
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
s.set_up(3, 1, src)
s.start()
del(src)
qdel(src)
return
@@ -713,23 +713,23 @@ var/global/list/floorbot_targets=list()
return
if(user.s_active)
user.s_active.close(user)
del(T)
qdel(T)
var/obj/item/weapon/toolbox_tiles/B = new /obj/item/weapon/toolbox_tiles
user.put_in_hands(B)
to_chat(user, "<span class='notice'>You add the tiles into the empty toolbox. They protrude from the top.</span>")
user.drop_from_inventory(src)
del(src)
qdel(src)
/obj/item/weapon/toolbox_tiles/attackby(var/obj/item/W, mob/user as mob)
..()
if(isprox(W))
del(W)
qdel(W)
var/obj/item/weapon/toolbox_tiles_sensor/B = new /obj/item/weapon/toolbox_tiles_sensor()
B.created_name = src.created_name
user.put_in_hands(B)
to_chat(user, "<span class='notice'>You add the sensor to the toolbox and tiles!</span>")
user.drop_from_inventory(src)
del(src)
qdel(src)
else if (istype(W, /obj/item/weapon/pen))
var/t = copytext(stripped_input(user, "Enter new robot name", src.name, src.created_name),1,MAX_NAME_LEN)
@@ -743,13 +743,13 @@ var/global/list/floorbot_targets=list()
/obj/item/weapon/toolbox_tiles_sensor/attackby(var/obj/item/W, mob/user as mob)
..()
if(istype(W, /obj/item/robot_parts/l_arm) || istype(W, /obj/item/robot_parts/r_arm))
del(W)
qdel(W)
var/turf/T = get_turf(user.loc)
var/obj/machinery/bot/floorbot/A = new /obj/machinery/bot/floorbot(T)
A.name = src.created_name
to_chat(user, "<span class='notice'>You add the robot arm to the odd looking toolbox assembly! Boop beep!</span>")
user.drop_from_inventory(src)
del(src)
qdel(src)
else if (istype(W, /obj/item/weapon/pen))
var/t = stripped_input(user, "Enter new robot name", src.name, src.created_name)

View File

@@ -495,7 +495,7 @@
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
s.set_up(3, 1, src)
s.start()
del(src)
qdel(src)
return
/obj/machinery/bot/medbot/Bump(M as mob|obj) //Leave no door unopened!
@@ -570,11 +570,11 @@
else if(istype(src,/obj/item/weapon/storage/firstaid/o2))
A.skin = "o2"
del(S)
qdel(S)
user.put_in_hands(A)
to_chat(user, "<span class='notice'>You add the robot arm to the first aid kit.</span>")
user.drop_from_inventory(src)
del(src)
qdel(src)
/obj/item/weapon/firstaid_arm_assembly/attackby(obj/item/weapon/W as obj, mob/user as mob)
@@ -608,7 +608,7 @@
S.skin = src.skin
S.name = src.created_name
user.drop_from_inventory(src)
del(src)
qdel(src)
/obj/machinery/bot/medbot/declare()

View File

@@ -32,7 +32,7 @@
if(!src || !WT.remove_fuel(0, user)) return
to_chat(user, "<span class='notice'>You deconstruct the frame.</span>")
new /obj/item/stack/sheet/plasteel( loc, 4)
del(src)
qdel(src)
if(1)
if(istype(P, /obj/item/weapon/wrench))
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
@@ -69,7 +69,8 @@
playsound(loc, 'sound/items/Deconstruct.ogg', 50, 1)
if(do_after(user, src, 20))
P:amount -= 5
if(!P:amount) del(P)
if(!P:amount) qdel(P)
if(!P:amount) qdel(P)
to_chat(user, "<span class='notice'>You add cables to the frame.</span>")
state = 3
icon_state = "3"
@@ -91,7 +92,8 @@
if(do_after(user, src, 20))
if (P)
P:amount -= 2
if(!P:amount) del(P)
if(!P:amount) qdel(P)
if(!P:amount) qdel(P)
to_chat(user, "<span class='notice'>You put in the glass panel.</span>")
state = 4
icon_state = "4"
@@ -166,10 +168,11 @@
playsound(loc, 'sound/items/Screwdriver.ogg', 50, 1)
to_chat(user, "<span class='notice'>You connect the monitor.</span>")
var/mob/living/silicon/ai/A = new /mob/living/silicon/ai ( loc, laws, brain )
if(A) //if there's no brain, the mob is deleted and a structure/AIcore is created
if(A) //if there's no brain, the mob is deleted and a structure/AIcore is created
A.rename_self("ai", 1)
feedback_inc("cyborg_ais_created",1)
del(src)
qdel(src)
/obj/structure/AIcore/deactivated
name = "Inactive AI"
@@ -239,7 +242,7 @@ That prevents a few funky behaviors.
A.cancel_camera()
to_chat(A, "You have been uploaded to a stationary terminal. Remote device connection restored.")
to_chat(U, "<span class='notice'><b>Transfer successful</b>:</span> [A.name] ([rand(1000,9999)].exe) installed and executed succesfully. Local copy has been removed.")
del(T)
qdel(T)
if("AIFIXER")//AI Fixer terminal.
var/obj/machinery/computer/aifixer/T = target
switch(interaction)
@@ -287,4 +290,4 @@ That prevents a few funky behaviors.
to_chat(U, "<span class='danger'>ERROR:</span> Unable to locate artificial intelligence.")
else
to_chat(U, "<span class='danger'>ERROR:</span> AI flush is in progress, cannot execute transfer protocol.")
return
return

View File

@@ -64,7 +64,7 @@
if (src.projector.hologram)
src.projector.icon_state = "hologram0"
//src.projector.hologram = null
del(src.projector.hologram)
qdel(src.projector.hologram)
else
src.projector.hologram = new(src.projector.loc)
src.projector.hologram.icon = 'icons/mob/human.dmi'

View File

@@ -216,7 +216,7 @@
if (href_list["del_all2"])
for(var/datum/data/record/R in data_core.medical)
//R = null
del(R)
qdel(R)
//Foreach goto(494)
src.temp = "All records deleted."
@@ -382,7 +382,7 @@
if (href_list["del_r2"])
if (src.active2)
//src.active2 = null
del(src.active2)
qdel(src.active2)
if (href_list["d_rec"])
var/datum/data/record/R = locate(href_list["d_rec"])
@@ -508,7 +508,7 @@
continue
else if(prob(1))
del(R)
qdel(R)
continue
..(severity)
@@ -525,5 +525,3 @@
density = 0
light_color = LIGHT_COLOR_GREEN

View File

@@ -179,7 +179,7 @@ var/prison_shuttle_timeleft = 0
for(var/atom/movable/AM as mob|obj in T)
AM.Move(D)
if(istype(T, /turf/simulated))
del(T)
qdel(T)
start_location.move_contents_to(end_location)
if(1)
@@ -209,6 +209,6 @@ var/prison_shuttle_timeleft = 0
for(var/atom/movable/AM as mob|obj in T)
AM.Move(D)
if(istype(T, /turf/simulated))
del(T)
qdel(T)
start_location.move_contents_to(end_location)
return
return

View File

@@ -356,7 +356,7 @@ What a mess.*/
// END AUTOFIX
if ("Purge All Records")
for(var/datum/data/record/R in data_core.security)
del(R)
qdel(R)
temp = "All Security records deleted."
if ("Add Entry")
@@ -553,17 +553,17 @@ What a mess.*/
if ("Delete Record (Security) Execute")
if (active2)
del(active2)
qdel(active2)
if ("Delete Record (ALL) Execute")
if (active1)
for(var/datum/data/record/R in data_core.medical)
if ((R.fields["name"] == active1.fields["name"] || R.fields["id"] == active1.fields["id"]))
del(R)
qdel(R)
else
del(active1)
qdel(active1)
if (active2)
del(active2)
qdel(active2)
else
temp = "This function does not appear to be working at the moment. Our apologies."
@@ -594,7 +594,7 @@ What a mess.*/
continue
else if(prob(1))
del(R)
qdel(R)
continue
..(severity)

View File

@@ -46,7 +46,7 @@
emergency_shuttle.online = 1
emergency_shuttle.settimeleft(10)
//src.authorized = null
del(src.authorized)
qdel(src.authorized)
src.authorized = list( )
if("Repeal")

View File

@@ -290,7 +290,7 @@ What a mess.*/
if ("Purge All Records")
for(var/datum/data/record/R in data_core.security)
del(R)
qdel(R)
temp = "All Employment records deleted."
if ("Delete Record (ALL)")
@@ -381,9 +381,9 @@ What a mess.*/
if (active1)
for(var/datum/data/record/R in data_core.medical)
if ((R.fields["name"] == active1.fields["name"] || R.fields["id"] == active1.fields["id"]))
del(R)
qdel(R)
else
del(active1)
qdel(active1)
else
temp = "This function does not appear to be working at the moment. Our apologies."
@@ -414,7 +414,7 @@ What a mess.*/
continue
else if(prob(1))
del(R)
qdel(R)
continue
..(severity)
..(severity)

View File

@@ -76,7 +76,7 @@ var/specops_shuttle_timeleft = 0
for(var/atom/movable/AM as mob|obj in T)
AM.Move(D)
if(istype(T, /turf/simulated))
del(T)
qdel(T)
start_location.move_contents_to(end_location)
@@ -89,7 +89,7 @@ var/specops_shuttle_timeleft = 0
for(var/obj/machinery/computer/specops_shuttle/S in machines)
S.specops_shuttle_timereset = world.time + SPECOPS_RETURN_DELAY
del(announcer)
qdel(announcer)
/proc/AliceAnnounce(var/atom/movable/announcer,var/message)
var/datum/speech/speech = announcer.create_speech(message=message, frequency=radiochannels["Response Team"], transmitter=announcer)
//speech.name="A.L.I.C.E."
@@ -226,7 +226,7 @@ var/specops_shuttle_timeleft = 0
for(var/atom/movable/AM as mob|obj in T)
AM.Move(D)
if(istype(T, /turf/simulated))
del(T)
qdel(T)
start_location.move_contents_to(end_location)
@@ -237,7 +237,7 @@ var/specops_shuttle_timeleft = 0
for(var/obj/machinery/computer/specops_shuttle/S in machines)
S.specops_shuttle_timereset = world.time + SPECOPS_RETURN_DELAY
del(announcer)
qdel(announcer)
/proc/specops_can_move()
if(specops_shuttle_moving_to_station || specops_shuttle_moving_to_centcom)
@@ -489,7 +489,7 @@ var/specops_shuttle_timeleft = 0
for(var/atom/movable/AM as mob|obj in T)
AM.Move(D)
if(istype(T, /turf/simulated))
del(T)
qdel(T)
start_location.move_contents_to(end_location)
@@ -583,4 +583,4 @@ var/specops_shuttle_timeleft = 0
add_fingerprint(usr)
updateUsrDialog()
return
*/
*/

View File

@@ -162,7 +162,7 @@ var/syndicate_elite_shuttle_timeleft = 0
for(var/atom/movable/AM as mob|obj in T)
AM.Move(D)
if(istype(T, /turf/simulated))
del(T)
qdel(T)
start_location.move_contents_to(end_location)
@@ -250,4 +250,4 @@ var/syndicate_elite_shuttle_timeleft = 0
add_fingerprint(usr)
updateUsrDialog()
return
return

View File

@@ -332,7 +332,7 @@ var/global/list/cryo_health_indicator = list( "full" = image("icon" = 'icons/obj
return
var/mob/M = G:affecting
if(put_mob(M))
del(G)
qdel(G)
updateUsrDialog()
return

View File

@@ -150,7 +150,7 @@
if(do_after(user, src, 30))
to_chat(user, "<span class='notice'>You detach \the [src] from the wall.</span>")
new/obj/item/mounted/frame/driver_button(get_turf(src))
del(src)
qdel(src)
return 1
return src.attack_hand(user)

View File

@@ -1218,7 +1218,7 @@ About the new airlock wires panel:
S.victim = L
spawn (20)
del(S)
qdel(S)
L.emote("scream",,, 1)

View File

@@ -43,7 +43,7 @@
to_chat(usr, "<span class='notice'>You unscrew \the [src] from the wall.</span>")
playsound(get_turf(src), 'sound/items/Screwdriver.ogg', 50, 1)
new /obj/item/mounted/frame/airlock_controller(get_turf(src))
del(src)
qdel(src)
return 1
if(istype(W, /obj/item/weapon/circuitboard))
var/obj/item/weapon/circuitboard/C=W
@@ -112,7 +112,7 @@
user.visible_message(\
"<span class='warning'>[user.name] has finished \the [src]!</span>",\
"You finish \the [src].")
del(src)
qdel(src)
return 1
if(build<2)
return ..()
@@ -207,7 +207,7 @@
if(radio_connection)
return radio_connection.post_signal(src, signal)
else
del(signal)
qdel(signal)
/obj/machinery/embedded_controller/radio/proc/set_frequency(new_frequency)
radio_controller.remove_object(src, frequency)

View File

@@ -19,7 +19,7 @@
src.visible_message("[src] dispenses a capsule!")
var/obj/item/weapon/capsule/b = new(src.loc)
b.icon_state = "capsule[rand(1,12)]"
del(O)
qdel(O)
else
return ..()
@@ -109,4 +109,4 @@
I.add_fingerprint(M)
to_chat(M, "<span class='notice'>You got \a [I]!</span>")
qdel(src)
return
return

View File

@@ -107,7 +107,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/
/obj/machinery/hologram/holopad/proc/clear_holo()
// hologram.SetLuminosity(0)//Clear lighting. //handled by the lighting controller when its ower is deleted
del(hologram)//Get rid of hologram.
qdel(hologram)//Get rid of hologram.
if(master.current == src)
master.current = null
master = null//Null the master, since no-one is using it now.
@@ -172,7 +172,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/
return
/obj/machinery/hologram/blob_act()
del(src)
qdel(src)
return
/obj/machinery/hologram/Destroy()
@@ -208,4 +208,4 @@ Holographic project of everything else.
name = "hologram projector"
desc = "It makes a hologram appear...with magnets or something..."
icon = 'icons/obj/stationobjs.dmi'
icon_state = "hologram0"
icon_state = "hologram0"

View File

@@ -222,7 +222,7 @@ obj/machinery/hydroponics/proc/updateicon()
obj/machinery/hydroponics/proc/weedinvasion() // If a weed growth is sufficient, this happens.
dead = 0
if(myseed) // In case there's nothing in the tray beforehand
del(myseed)
qdel(myseed)
switch(rand(1,18)) // randomly pick predominative weed
if(16 to 18)
myseed = new /obj/item/seeds/reishimycelium
@@ -337,26 +337,26 @@ obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant!
if ( istype(myseed, /obj/item/seeds/nettleseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/deathnettleseed
else if ( istype(myseed, /obj/item/seeds/amanitamycelium ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/angelmycelium
else if ( istype(myseed, /obj/item/seeds/lemonseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/cashseed
else if ( istype(myseed, /obj/item/seeds/ambrosiavulgarisseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/ambrosiadeusseed
else if ( istype(myseed, /obj/item/seeds/plumpmycelium ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/walkingmushroommycelium
else if ( istype(myseed, /obj/item/seeds/synthmeatseed ))
del(myseed)
qdel(myseed)
switch(rand(1,100))
if(1 to 50)
myseed = new /obj/item/seeds/synthbuttseed
@@ -364,7 +364,7 @@ obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant!
myseed = new /obj/item/seeds/synthbrainseed
else if ( istype(myseed, /obj/item/seeds/chiliseed ))
del(myseed)
qdel(myseed)
switch(rand(1,100))
if(1 to 60)
myseed = new /obj/item/seeds/icepepperseed
@@ -372,11 +372,11 @@ obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant!
myseed = new /obj/item/seeds/chillighost
else if ( istype(myseed, /obj/item/seeds/appleseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/goldappleseed
else if ( istype(myseed, /obj/item/seeds/berryseed ))
del(myseed)
qdel(myseed)
switch(rand(1,100))
if(1 to 50)
myseed = new /obj/item/seeds/poisonberryseed
@@ -384,11 +384,11 @@ obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant!
myseed = new /obj/item/seeds/glowberryseed
else if ( istype(myseed, /obj/item/seeds/poisonberryseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/deathberryseed
else if ( istype(myseed, /obj/item/seeds/tomatoseed ))
del(myseed)
qdel(myseed)
switch(rand(1,100))
if(1 to 35)
myseed = new /obj/item/seeds/bluetomatoseed
@@ -398,11 +398,11 @@ obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant!
myseed = new /obj/item/seeds/killertomatoseed
else if ( istype(myseed, /obj/item/seeds/bluetomatoseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/bluespacetomatoseed
else if ( istype(myseed, /obj/item/seeds/grapeseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/greengrapeseed
/*
else if ( istype(myseed, /obj/item/seeds/tomatoseed ))
@@ -410,14 +410,14 @@ obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant!
myseed = new /obj/item/seeds/gibtomatoseed
*/
else if ( istype(myseed, /obj/item/seeds/eggplantseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/eggyseed
else if ( istype(myseed, /obj/item/seeds/soyaseed ))
del(myseed)
qdel(myseed)
myseed = new /obj/item/seeds/koiseed
else if ( istype(myseed, /obj/item/seeds/sunflowerseed ))
del(myseed)
qdel(myseed)
switch(rand(1,100))
if(1 to 60)
myseed = new /obj/item/seeds/moonflowerseed
@@ -446,7 +446,7 @@ obj/machinery/hydroponics/proc/mutatespecie() // Mutagent produced a new plant!
obj/machinery/hydroponics/proc/mutateweed() // If the weeds gets the mutagent instead. Mind you, this pretty much destroys the old plant
if ( weedlevel > 5 )
del(myseed)
qdel(myseed)
var/newWeed = pick(/obj/item/seeds/libertymycelium, /obj/item/seeds/angelmycelium, /obj/item/seeds/deathnettleseed, /obj/item/seeds/kudzuseed)
myseed = new newWeed
dead = 0
@@ -523,7 +523,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
yieldmod = myNut.yieldmod
mutmod = myNut.mutmod
to_chat(user, "You replace the nutrient solution in the [src].")
del(O)
qdel(O)
updateicon()
else if(istype(O, /obj/item/weapon/reagent_containers/syringe)) // Syringe stuff
@@ -788,7 +788,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
toxic = 100
to_chat(user, "You apply the weedkiller solution into the [src].")
playsound(loc, 'sound/effects/spray3.ogg', 50, 1, -6)
del(O)
qdel(O)
updateicon()
else if (istype(O, /obj/item/weapon/storage/bag/plants))
@@ -810,18 +810,18 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
toxic = 100
to_chat(user, "You apply the pestkiller solution into the [src].")
playsound(loc, 'sound/effects/spray3.ogg', 50, 1, -6)
del(O)
qdel(O)
updateicon()
else if(istype(O, /obj/item/weapon/shovel))
if(istype(src, /obj/machinery/hydroponics/soil))
to_chat(user, "You clear up the [src]!")
del(src)
qdel(src)
else if(istype(O, /obj/item/apiary))
if(planted)
to_chat(user, "<span class='warning'>The hydroponics tray is already occupied!</span>")
else
user.drop_item()
del(O)
qdel(O)
var/obj/machinery/apiary/A = new(src.loc)
A.icon = src.icon
@@ -831,7 +831,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
A.contents = contents.Copy()
contents.len = 0
component_parts.len = 0
del(src)
qdel(src)
return
/obj/machinery/hydroponics/togglePanelOpen(var/obj/toggleitem, mob/user)
@@ -852,7 +852,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
planted = 0
dead = 0
to_chat(usr, text("You remove the dead plant from the [src]."))
del(myseed)
qdel(myseed)
updateicon()
else
if(planted && !dead)
@@ -981,7 +981,7 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)
else
to_chat(user, text("You harvest from the [myseed.plantname]."))
if(myseed.oneharvest)
del(myseed)
qdel(myseed)
planted = 0
dead = 0
updateicon()

View File

@@ -74,7 +74,7 @@ var/global/list/igniters = list()
"<span class='notice'>You have disassembled \the [src].</span>", \
"You hear welding.")
src.assembly.loc=src.loc
del(src)
qdel(src)
return
else:
to_chat(user, "<span class='warning'>You need more welder fuel to do that.</span>")
@@ -201,4 +201,4 @@ var/global/list/igniters = list()
icon_state = "launcherbtt"
active = 0
return
return

View File

@@ -154,7 +154,7 @@
for (var/obj/item/weapon/reagent_containers/food/snacks/O in src.contents)
var/r_id = get_juice_id(O)
beaker.reagents.add_reagent(r_id,get_juice_amount(O))
del(O)
qdel(O)
if (beaker.reagents.total_volume >= beaker.reagents.maximum_volume)
break
@@ -173,4 +173,3 @@
new/obj/item/weapon/reagent_containers/food/snacks/grown/carrot(src)
new/obj/item/weapon/reagent_containers/food/snacks/grown/berries(src)
new/obj/item/weapon/reagent_containers/food/snacks/grown/banana(src)

View File

@@ -422,7 +422,7 @@
var/id = O.reagents.get_master_reagent_id()
if (id)
amount+=O.reagents.get_reagent_amount(id)
del(O)
qdel(O)
src.reagents.clear_reagents()
ffuu.reagents.add_reagent("carbon", amount)
ffuu.reagents.add_reagent("toxin", amount/10)

View File

@@ -51,7 +51,7 @@
to_chat(user, "<span class='warning'>The monkey may not have abiotic items on.</span>")
else
user.drop_item(G)
del(target)
qdel(target)
to_chat(user, "<span class='notice'>You stuff the monkey in the machine.")
playsound(get_turf(src), 'sound/machines/juicer.ogg', 50, 1)
use_power(500)

View File

@@ -45,7 +45,7 @@
if (src.output && loc)
new src.output(loc)
if (what)
del(what)
qdel(what)
/* objs */
meat
@@ -155,7 +155,7 @@
I.loc = loc
I.throw_at(pick(throwzone),rand(2,5),0)
hgibs(loc, target.viruses, target.dna, target.species.flesh_color, target.species.blood_color)
del(target)
qdel(target)
for(var/i = 1;i<=6;i++)
new /obj/item/weapon/reagent_containers/food/snacks/chicken_nuggets(loc)
sleep(2)
@@ -239,4 +239,4 @@
"You hear [src] stop")
/obj/machinery/processor/MouseDrop_T(atom/movable/O as mob|obj, mob/user as mob)
attackby(O,user)
attackby(O,user)

View File

@@ -235,7 +235,7 @@ Class Procs:
/obj/machinery/blob_act()
if(prob(50))
del(src)
qdel(src)
/obj/machinery/proc/auto_use_power()
if(!powered(power_channel))

View File

@@ -368,7 +368,7 @@
// N, S, E, W are directional
// C is center
// R is random (in magnetic field's bounds)
del(signal)
qdel(signal)
break // break the loop if the character located is invalid
signal.data["command"] = nextmove

View File

@@ -38,7 +38,7 @@ var/list/mass_drivers = list()
F.anchored = 1
F.build = 4
F.update_icon()
del(src)
qdel(src)
return 1
return ..()
@@ -120,7 +120,7 @@ var/list/mass_drivers = list()
if(do_after(user, src, 30) && (build == 0))
to_chat(user, "<span class='notice'>You detach the plasteel sheets from each others.</span>")
new /obj/item/stack/sheet/plasteel(get_turf(src),3)
del(src)
qdel(src)
return 1
if(istype(W, /obj/item/weapon/wrench))
to_chat(user, "You begin to anchor \the [src] on the floor.")
@@ -208,7 +208,7 @@ var/list/mass_drivers = list()
playsound(get_turf(src), 'sound/items/Screwdriver.ogg', 50, 1)
var/obj/machinery/mass_driver/M = new(get_turf(src))
M.dir = src.dir
del(src)
qdel(src)
return 1
..()

View File

@@ -165,7 +165,7 @@
//M.Namepick()
M.updatename()
del(user)
qdel(user)
metal=0
building=0
@@ -181,4 +181,4 @@
else if(building)
icon_state="mommispawner-building"
else
icon_state="mommispawner-idle"
icon_state="mommispawner-idle"

View File

@@ -181,8 +181,8 @@
HI.Insert(I, frame=1, delay = 5)
HI.Insert(J, frame=2, delay = 5)
del(I)
del(J)
qdel(I)
qdel(J)
H.icon = HI
H.layer = 25
usr.mapobjs += H
@@ -307,7 +307,7 @@
var/icon/I = imap[i+1]
H.icon = I
del(I)
qdel(I)
H.layer = 25
usr.mapobjs += H
@@ -358,4 +358,3 @@ proc/getb(col)
mapobjs = null
src.unset_machine()

View File

@@ -26,7 +26,7 @@
count++
if (O:amount < 1)
del(O)
qdel(O)
to_chat(user, "You insert [count] metal sheet\s into the fabricator.")
src.overlays -= "fab-load-metal"

View File

@@ -149,7 +149,7 @@
<Font color ='black'><B>Maintenance panel controls</B></font><HR>
<font color ='grey'>The panel is ridden with controls, button and meters, labeled in strange signs and symbols that <BR>you cannot understand. Probably the manufactoring world's language.<BR> Among other things, a few controls catch your eye.<BR><BR>"}
// END AUTOFIX
dat+= text("<font color ='black'>A small dial with a \"<22>\" symbol embroidded on it. It's pointing towards a gauge that reads []</font>.<BR> <font color='blue'><A href='?src=\ref[];toggleUV=1'> Turn towards []</A><BR>",(src.issuperUV ? "15nm" : "185nm"),src,(src.issuperUV ? "185nm" : "15nm") )
dat+= text("<font color ='black'>A small dial with a \"<22>\" symbol embroidded on it. It's pointing towards a gauge that reads []</font>.<BR> <font color='blue'><A href='?src=\ref[];toggleUV=1'> Turn towards []</A><BR>",(src.issuperUV ? "15nm" : "185nm"),src,(src.issuperUV ? "185nm" : "15nm") )
dat+= text("<font color ='black'>A thick old-style button, with 2 grimy LED lights next to it. The [] LED is on.</font><BR><font color ='blue'><A href='?src=\ref[];togglesafeties=1'>Press button</a></font>",(src.safetieson? "<font color='green'><B>GREEN</B></font>" : "<font color='red'><B>RED</B></font>"),src)
dat+= text("<HR><BR><A href='?src=\ref[];mach_close=suit_storage_unit'>Close panel</A>", user)
//user << browse(dat, "window=ssu_m_panel;size=400x500")
@@ -581,7 +581,7 @@
//for(var/obj/O in src)
// O.loc = src.loc
src.add_fingerprint(user)
del(G)
qdel(G)
src.updateUsrDialog()
src.update_icon()
return

View File

@@ -222,7 +222,7 @@
temp = "<font color = #336699>- DELETED ENTRY: [D.name] -</font color>"
SelectedServer.log_entries.Remove(D)
del(D)
qdel(D)
else
temp = "<font color = #D70B00>- FAILED: NO SELECTED MACHINE -</font color>"
@@ -253,4 +253,4 @@
playsound(get_turf(src), 'sound/effects/sparks4.ogg', 75, 1)
emagged = 1
to_chat(user, "<span class='notice'>You you disable the security protocols</span>")
return 1
return 1

View File

@@ -92,7 +92,7 @@
var/obj/machinery/constructable_frame/machine_frame/F = new
F.set_build_state(2)
F.loc = src.loc
del(src)
qdel(src)
/obj/machinery/telecomms/attack_ai(var/mob/user as mob)

View File

@@ -330,7 +330,7 @@
src.stat |= BROKEN
src.icon_state = "destroyed_target_prism"
if (cover!=null)
del(cover)
qdel(cover)
sleep(3)
flick("explosion", src)
spawn(13)

View File

@@ -238,7 +238,7 @@ var/global/num_vending_terminals = 1
if(prob(75))
malfunction()
else
del(src)
qdel(src)
/obj/machinery/vending/emp_act(severity)
if(stat & (BROKEN|NOPOWER))
@@ -1315,7 +1315,7 @@ var/global/num_vending_terminals = 1
to_chat(usr, "<span class='notice'>You unscrew \the [src] from the wall.</span>")
playsound(get_turf(src), 'sound/items/Screwdriver.ogg', 50, 1)
new /obj/item/mounted/frame/wallmed(get_turf(src))
del(src)
qdel(src)
return 1
if(istype(W, /obj/item/weapon/circuitboard))
var/obj/item/weapon/circuitboard/C=W

View File

@@ -203,7 +203,7 @@
for(var/obj/O in contents)
O.loc = T
to_chat(user, "<span class='notice'>You remove the protective coil.</span>")
del(src)
qdel(src)
else
return attack_hand(user)
@@ -212,19 +212,18 @@
for(var/obj/O in contents)
O.loc = T
to_chat(M, "<span class='notice'>You rip the protective coil apart.</span>")
del(src)
qdel(src)
/obj/structure/stackopacks/attack_paw(mob/M as mob)
var/turf/T = get_turf(src)
for(var/obj/O in contents)
O.loc = T
to_chat(M, "<span class='notice'>You rip the protective coil apart.</span>")
del(src)
qdel(src)
/obj/structure/stackopacks/attack_alien(mob/living/carbon/alien/humanoid/M as mob)
var/turf/T = get_turf(src)
for(var/obj/O in contents)
O.loc = T
to_chat(M, "<span class='notice'>You rip the protective coil apart.</span>")
del(src)
qdel(src)

View File

@@ -64,7 +64,7 @@
for(var/obj/item/stack/sheet/hairlesshide/HH in contents)
var/obj/item/stack/sheet/wetleather/WL = new(src)
WL.amount = HH.amount
del(HH)
qdel(HH)
if(crayon)
@@ -98,10 +98,10 @@
new_jumpsuit_icon_state = J.icon_state
new_jumpsuit_item_state = J.item_state
new_jumpsuit_name = J.name
del(J)
qdel(J)
// to_chat(world, "DEBUG: YUP! [new_icon_state] and [new_item_state]")
break
del(J)
qdel(J)
for(var/T in typesof(/obj/item/clothing/gloves))
var/obj/item/clothing/gloves/G = new T
// to_chat(world, "DEBUG: [color] == [J._color]")
@@ -109,49 +109,49 @@
new_glove_icon_state = G.icon_state
new_glove_item_state = G.item_state
new_glove_name = G.name
del(G)
qdel(G)
// to_chat(world, "DEBUG: YUP! [new_icon_state] and [new_item_state]")
break
del(G)
qdel(G)
for(var/T in typesof(/obj/item/clothing/shoes))
var/obj/item/clothing/shoes/S = new T
// to_chat(world, "DEBUG: [color] == [J._color]")
if(color == S._color)
new_shoe_icon_state = S.icon_state
new_shoe_name = S.name
del(S)
qdel(S)
// to_chat(world, "DEBUG: YUP! [new_icon_state] and [new_item_state]")
break
del(S)
qdel(S)
for(var/T in typesof(/obj/item/weapon/bedsheet))
var/obj/item/weapon/bedsheet/B = new T
// to_chat(world, "DEBUG: [color] == [J._color]")
if(color == B._color)
new_sheet_icon_state = B.icon_state
new_sheet_name = B.name
del(B)
qdel(B)
// to_chat(world, "DEBUG: YUP! [new_icon_state] and [new_item_state]")
break
del(B)
qdel(B)
for(var/T in typesof(/obj/item/clothing/head/soft))
var/obj/item/clothing/head/soft/H = new T
// to_chat(world, "DEBUG: [color] == [J._color]")
if(color == H._color)
new_softcap_icon_state = H.icon_state
new_softcap_name = H.name
del(H)
qdel(H)
// to_chat(world, "DEBUG: YUP! [new_icon_state] and [new_item_state]")
break
del(H)
qdel(H)
for(var/T in typesof(/obj/item/stack/cable_coil))
var/obj/item/stack/cable_coil/test = new T
if(test._color == color)
// to_chat(world, "Found the right cable coil, _color: [test._color]")
ccoil_test = 1
del(test)
qdel(test)
break
del(test)
qdel(test)
if(new_jumpsuit_icon_state && new_jumpsuit_item_state && new_jumpsuit_name)
for(var/obj/item/clothing/under/J in contents)
@@ -201,7 +201,7 @@
// to_chat(world, "DEBUG: YUP! FOUND IT!")
H._color = color
H.icon_state = "coil_[color]"
del(crayon)
qdel(crayon)
crayon = null
@@ -239,7 +239,7 @@
var/obj/item/weapon/grab/G = W
if(ishuman(G.assailant) && iscorgi(G.affecting))
G.affecting.loc = src
del(G)
qdel(G)
wash_state = 3
else if(istype(W,/obj/item/stack/sheet/hairlesshide) || \
istype(W,/obj/item/clothing/under) || \
@@ -334,4 +334,4 @@
wash_state = 1
update_icon()
update_icon()

View File

@@ -63,7 +63,7 @@
if(equipment.len)//Now to remove it and equip anew.
for(ME in equipment)
equipment -= ME
del(ME)
qdel(ME)
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/scattershot(src)
ME.attach(src)
ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack(src)
@@ -208,4 +208,4 @@
src.smoke()
if (href_list["toggle_zoom"])
src.zoom()
return
return

View File

@@ -462,7 +462,7 @@
if(do_after_cooldown(target))
if(disabled) return
chassis.spark_system.start()
del(target)
qdel(target)
playsound(target, 'sound/items/Deconstruct.ogg', 50, 1)
chassis.use_power(energy_drain)
if(1)
@@ -1211,4 +1211,4 @@
return 1
#undef MECHDRILL_SAND_SPEED
#undef MECHDRILL_ROCK_SPEED
#undef MECHDRILL_ROCK_SPEED

View File

@@ -296,7 +296,7 @@
/obj/item/missile/throw_impact(atom/hit_atom)
if(primed)
explosion(hit_atom, 0, 1, 2)
del(src)
qdel(src)
else
..()
return
@@ -445,4 +445,4 @@
projectiles--
log_message("Fired from [src.name], targeting [target].")
do_after_cooldown()
return
return

View File

@@ -624,7 +624,7 @@
E.forceMove(T)
E.destroy()
spawn(0)
del(src)
qdel(src)
return
/obj/mecha/ex_act(severity)
@@ -1878,7 +1878,7 @@
if(t_air)
t_air.merge(removed)
else //just delete the cabin gas, we're in space or some shit
del(removed)
qdel(removed)
else
return stop()
return
@@ -1921,7 +1921,7 @@
if(mecha.loc && hascall(mecha.loc,"assume_air"))
mecha.loc.assume_air(leaked_gas)
else
del(leaked_gas)
qdel(leaked_gas)
if(mecha.hasInternalDamage(MECHA_INT_SHORT_CIRCUIT))
if(mecha.get_charge())
mecha.spark_system.start()

View File

@@ -245,7 +245,7 @@ Alien plants should do something if theres a lot of poison
return
*/
if (istype(U, /turf/space))
del(src)
qdel(src)
return
if(!linked_node || (get_dist(linked_node, src) > linked_node.node_range) )

View File

@@ -13,7 +13,7 @@
icon += color
/obj/effect/decal/chemical_puff/Destroy()
del(reagents)
qdel(reagents)
..()
// Reacts with the current turf and its contents

View File

@@ -37,7 +37,7 @@
for(var/datum/disease/D in viruses)
if(D.spread_type == SPECIAL)
D.cure(1)
del(D)
qdel(D)
if(sparks)
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread

View File

@@ -154,4 +154,4 @@
/obj/effect/glowshroom/proc/CheckEndurance()
if(endurance <= 0)
del(src)
qdel(src)

View File

@@ -14,7 +14,7 @@
switch(name) //some of these are probably obsolete
if("shuttle")
shuttle_z = z
del(src)
qdel(src)
if("airtunnel_stop")
airtunnel_stop = x
@@ -27,26 +27,26 @@
if("monkey")
monkeystart += loc
del(src)
qdel(src)
if("start")
newplayer_start += loc
del(src)
qdel(src)
if("wizard")
wizardstart += loc
del(src)
qdel(src)
if("JoinLate")
latejoin += loc
del(src)
qdel(src)
if("AssetJoinLate")
assistant_latejoin += loc
del(src)
qdel(src)
//prisoners
if("prisonwarp")
prisonwarp += loc
del(src)
qdel(src)
// if("mazewarp")
// mazewarp += loc
if("Holding Facility")
@@ -62,22 +62,22 @@
//not prisoners
if("prisonsecuritywarp")
prisonsecuritywarp += loc
del(src)
qdel(src)
if("blobstart")
blobstart += loc
del(src)
qdel(src)
if("xeno_spawn")
xeno_spawn += loc
del(src)
qdel(src)
if("endgame_exit")
endgame_safespawns += loc
del(src)
qdel(src)
if("bluespacerift")
endgame_exits += loc
del(src)
qdel(src)
landmarks_list += src
return 1

View File

@@ -18,5 +18,5 @@
P.info = dat
P.name = "paper- 'Crew Manifest'"
//SN src = null
del(src)
return
qdel(src)
return

View File

@@ -34,7 +34,7 @@
randmutb(obj)
domutcheck(obj,null)
spawn(0)
del(src)
qdel(src)
/obj/effect/mine/proc/triggerstun(obj)
if(ismob(obj))
@@ -44,7 +44,7 @@
s.set_up(3, 1, src)
s.start()
spawn(0)
del(src)
qdel(src)
/obj/effect/mine/proc/triggern2o(obj)
//example: n2o triggerproc
@@ -62,7 +62,7 @@
target.zone.air.merge(payload)
spawn(0)
del(src)
qdel(src)
/obj/effect/mine/proc/triggerplasma(obj)
for (var/turf/simulated/floor/target in range(1,src))
@@ -77,20 +77,20 @@
target.hotspot_expose(1000, CELL_VOLUME)
spawn(0)
del(src)
qdel(src)
/obj/effect/mine/proc/triggerkick(obj)
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
s.set_up(3, 1, src)
s.start()
del(obj:client)
qdel(obj:client)
spawn(0)
del(src)
qdel(src)
/obj/effect/mine/proc/explode(obj)
explosion(loc, 0, 1, 2, 3)
spawn(0)
del(src)
qdel(src)
/obj/effect/mine/dnascramble
name = "Radiation Mine"

View File

@@ -171,4 +171,4 @@
V.update_icon()
del(src)
qdel(src)

View File

@@ -23,4 +23,4 @@
else
new /turf/simulated/floor/vault(locate(i,j,z),type)
del(src)
qdel(src)

View File

@@ -83,7 +83,7 @@
visible_message("[usr] folds up the [src.name]")
new/obj/item/bodybag(get_turf(src))
spawn(0)
del(src)
qdel(src)
return
/obj/structure/closet/body_bag/update_icon()
@@ -103,7 +103,7 @@
/obj/item/bodybag/cryobag/attack_self(mob/user)
var/obj/structure/closet/body_bag/cryobag/R = new /obj/structure/closet/body_bag/cryobag(user.loc)
R.add_fingerprint(user)
del(src)
qdel(src)
/obj/structure/closet/body_bag/cryobag
name = "stasis bag"
@@ -124,10 +124,10 @@
O.icon = src.icon
O.icon_state = "bodybag_used"
O.desc = "Pretty useless now.."
del(src)
qdel(src)
/obj/structure/closet/body_bag/cryobag/MouseDrop(over_object, src_location, over_location)
if((over_object == usr && (in_range(src, usr) || usr.contents.Find(src))))
if(!ishuman(usr)) return
to_chat(usr, "<span class='warning'>You can't fold that up anymore..</span>")
..()
..()

View File

@@ -41,7 +41,7 @@
new/obj/item/trash/candle(src.loc)
if(istype(src.loc, /mob))
src.dropped()
del(src)
qdel(src)
update_icon()
if(istype(loc, /turf)) //Start a fire if possible
var/turf/T = loc

View File

@@ -132,7 +132,7 @@
uses--
if(!uses)
to_chat(user, "<span class='warning'>You used up your crayon!</span>")
del(src)
qdel(src)
return
/obj/item/toy/crayon/attack(mob/M as mob, mob/user as mob)
@@ -143,6 +143,6 @@
uses -= 5
if(uses <= 0)
to_chat(user, "<span class='warning'>You ate your crayon!</span>")
del(src)
qdel(src)
else
..()

View File

@@ -1514,7 +1514,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
var/datum/pda_app/station_map/app = locate(/datum/pda_app/station_map) in applications
var/to_remove = text2num(href_list["rMark"])
var/datum/minimap_marker/mkr = app.markers[to_remove]
del(mkr)
qdel(mkr)
//GAME FUNCTIONS====================================
@@ -2242,7 +2242,7 @@ obj/item/device/pda/AltClick()
if ( !(C:blood_DNA) )
to_chat(user, "<span class='notice'>No blood found on [C]</span>")
if(C:blood_DNA)
del(C:blood_DNA)
qdel(C:blood_DNA)
else
to_chat(user, "<span class='notice'>Blood found on [C]. Analysing...</span>")
spawn(15)
@@ -2304,7 +2304,7 @@ obj/item/device/pda/AltClick()
explosion(T, -1, -1, 2, 3)
del(src)
qdel(src)
return
/obj/item/device/pda/Destroy()

View File

@@ -125,8 +125,8 @@
/obj/item/device/aicard/ex_act(severity)
switch(severity)
if(1.0)
del(src)
qdel(src)
if(2.0)
if(prob(50)) del(src)
if(prob(50)) qdel(src)
if(3.0)
if(prob(25)) del(src)
if(prob(25)) qdel(src)

View File

@@ -75,7 +75,7 @@
return
var/obj/effect/dummy/chameleon/C = new/obj/effect/dummy/chameleon(usr.loc)
C.activate(O, usr, saved_icon, saved_icon_state, saved_overlays, src)
del(O)
qdel(O)
to_chat(usr, "<span class='notice'>You activate [src].</span>")
var/obj/effect/overlay/T = new/obj/effect/overlay(get_turf(src))
T.icon = 'icons/effects/effects.dmi'
@@ -94,7 +94,7 @@
spark_system.start()
eject_all()
if(delete_dummy)
del(active_dummy)
qdel(active_dummy)
active_dummy = null
can_use = 0
spawn(50)
@@ -175,4 +175,4 @@
/obj/effect/dummy/chameleon/Destroy()
master.disrupt(0)
..()
..()

View File

@@ -329,7 +329,7 @@
else
code = S.code
user.drop_item(W)
del(W)
qdel(W)
has_signaler = 1
update_icon()
return

View File

@@ -164,7 +164,7 @@
animation.master = user
flick("blspell", animation)
sleep(5)
del(animation)
qdel(animation)
for(var/mob/living/carbon/M in oviewers(3, null))
if(prob(50))

View File

@@ -86,7 +86,7 @@
G.amount = remaining
if(!G.amount)
user.drop_item(G)
del(G)
qdel(G)
AddUses(increment)
to_chat(user, "You insert a piece of glass into the [src.name]. You have [uses] lights remaining.")
return
@@ -98,7 +98,7 @@
AddUses(1)
to_chat(user, "You insert the [L.name] into the [src.name]. You have [uses] lights remaining.")
user.drop_item(L)
del(L)
qdel(L)
return
else
to_chat(user, "You need a working light.")
@@ -170,7 +170,7 @@
target.brightness_color = L2.brightness_color
target.on = target.has_power()
target.update()
del(L2)
qdel(L2)
if(target.on && target.rigged)
target.explode()
@@ -205,4 +205,4 @@
#undef LIGHT_OK
#undef LIGHT_EMPTY
#undef LIGHT_BROKEN
#undef LIGHT_BURNED
#undef LIGHT_BURNED

View File

@@ -32,7 +32,7 @@
origin_tech = "syndicate=3"
/obj/item/device/radio/headset/syndicate/New()
..()
del(keyslot1)
qdel(keyslot1)
keyslot1 = new /obj/item/device/encryptionkey/syndicate
syndie = 1
recalculateChannels()
@@ -41,7 +41,7 @@
origin_tech = "syndicate=3"
/obj/item/device/radio/headset/binary/New()
..()
del(keyslot1)
qdel(keyslot1)
keyslot1 = new /obj/item/device/encryptionkey/binary
recalculateChannels()
@@ -362,4 +362,4 @@
*/
secure_radio_connections[ch_name] = add_radio(src, radiochannels[ch_name])
return
return

View File

@@ -45,7 +45,7 @@
if(T)
T.hotspot_expose(700,125,surfaces=istype(loc,/turf))
explosion(T, -1, -1, 0, 4)
del(src)
qdel(src)
return
/obj/item/device/taperecorder/verb/record()

View File

@@ -217,10 +217,10 @@
src.loc.ex_act(1,src)
// Delete ourselves.
del(src)
qdel(src)
// this doesn't do anything but the timer etc. expects it to be here
// eventually maybe have it update icon to show state (timer, prox etc.) like old bombs
/obj/item/device/transfer_valve/proc/c_state()
return
return

View File

@@ -77,7 +77,7 @@ obj/structure/sign/poster/attackby(obj/item/weapon/W as obj, mob/user as mob)
playsound(loc, 'sound/items/Wirecutter.ogg', 100, 1)
if(ruined)
to_chat(user, "<span class='notice'>You remove the remnants of the poster.</span>")
del(src)
qdel(src)
else
to_chat(user, "<span class='notice'>You carefully remove the poster from the wall.</span>")
roll_and_drop(user.loc)
@@ -113,4 +113,4 @@ obj/structure/sign/poster/attackby(obj/item/weapon/W as obj, mob/user as mob)
var/name=""
// Description suffix
var/desc=""
var/icon_state=""
var/icon_state=""

Some files were not shown because too many files have changed in this diff Show More