mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Removes the the vast majority of 'The the' from the the code (#15597)
* The the * Some more * Review 1 * A couple more
This commit is contained in:
@@ -95,7 +95,7 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis).
|
||||
default_deconstruction_crowbar(user, O)
|
||||
return
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You can't load the [src.name] while it's opened.</span>")
|
||||
to_chat(user, "<span class='warning'>You can't load [src] while it's opened.</span>")
|
||||
return
|
||||
if(O.is_open_container())
|
||||
return FALSE
|
||||
|
||||
@@ -62,10 +62,10 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
if(disabled)
|
||||
return
|
||||
if(!linked_console)
|
||||
to_chat(user, "<span class='warning'>The [src.name] must be linked to an R&D console first!</span>")
|
||||
to_chat(user, "<span class='warning'>[src] must be linked to an R&D console first!</span>")
|
||||
return
|
||||
if(busy)
|
||||
to_chat(user, "<span class='warning'>The [src.name] is busy right now.</span>")
|
||||
to_chat(user, "<span class='warning'>[src] is busy right now.</span>")
|
||||
return
|
||||
if(istype(O, /obj/item) && !loaded_item)
|
||||
if(!O.origin_tech)
|
||||
@@ -76,12 +76,12 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
to_chat(user, "<span class='warning'>You cannot deconstruct this item!</span>")
|
||||
return
|
||||
if(!user.drop_item())
|
||||
to_chat(user, "<span class='warning'>\The [O] is stuck to your hand, you cannot put it in the [src.name]!</span>")
|
||||
to_chat(user, "<span class='warning'>[O] is stuck to your hand, you cannot put it in [src]!</span>")
|
||||
return
|
||||
busy = 1
|
||||
loaded_item = O
|
||||
O.loc = src
|
||||
to_chat(user, "<span class='notice'>You add the [O.name] to the [src.name]!</span>")
|
||||
to_chat(user, "<span class='notice'>You add [O] to [src]!</span>")
|
||||
flick("d_analyzer_la", src)
|
||||
spawn(10)
|
||||
icon_state = "d_analyzer_l"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#define FAIL 8
|
||||
/obj/machinery/r_n_d/experimentor
|
||||
name = "E.X.P.E.R.I-MENTOR"
|
||||
name = "\improper E.X.P.E.R.I-MENTOR"
|
||||
icon = 'icons/obj/machines/heavy_lathe.dmi'
|
||||
icon_state = "h_lathe"
|
||||
density = 1
|
||||
@@ -129,16 +129,16 @@
|
||||
return
|
||||
|
||||
if(!checkCircumstances(O))
|
||||
to_chat(user, "<span class='warning'>The [O] is not yet valid for the [src] and must be completed!</span>")
|
||||
to_chat(user, "<span class='warning'>[O] is not yet valid for [src] and must be completed!</span>")
|
||||
return
|
||||
|
||||
if(disabled)
|
||||
return
|
||||
if(!linked_console)
|
||||
to_chat(user, "<span class='warning'>The [src] must be linked to an R&D console first!</span>")
|
||||
to_chat(user, "<span class='warning'>[src] must be linked to an R&D console first!</span>")
|
||||
return
|
||||
if(loaded_item)
|
||||
to_chat(user, "<span class='warning'>The [src] is already loaded.</span>")
|
||||
to_chat(user, "<span class='warning'>[src] is already loaded.</span>")
|
||||
return
|
||||
if(istype(O, /obj/item))
|
||||
if(!O.origin_tech)
|
||||
@@ -152,7 +152,7 @@
|
||||
return
|
||||
loaded_item = O
|
||||
O.loc = src
|
||||
to_chat(user, "<span class='notice'>You add the [O.name] to the machine.</span>")
|
||||
to_chat(user, "<span class='notice'>You add [O] to the machine.</span>")
|
||||
flick("h_lathe_load", src)
|
||||
|
||||
return
|
||||
@@ -263,7 +263,7 @@
|
||||
visible_message("<span class='warning'>[src] malfunctions!</span>")
|
||||
exp = SCANTYPE_OBLITERATE
|
||||
if(prob(EFFECT_PROB_MEDIUM-badThingCoeff))
|
||||
visible_message("<span class='danger'>[src] malfunctions, throwing the [exp_on]!</span>")
|
||||
visible_message("<span class='danger'>[src] malfunctions, throwing [exp_on]!</span>")
|
||||
var/mob/living/target = locate(/mob/living) in oview(7,src)
|
||||
if(target)
|
||||
var/obj/item/throwing = loaded_item
|
||||
@@ -443,7 +443,7 @@
|
||||
if(exp == SCANTYPE_OBLITERATE)
|
||||
visible_message("<span class='warning'>[exp_on] activates the crushing mechanism, [exp_on] is destroyed!</span>")
|
||||
if(prob(EFFECT_PROB_LOW) && criticalReaction)
|
||||
visible_message("<span class='warning'>[src]'s crushing mechanism slowly and smoothly descends, flattening the [exp_on]!</span>")
|
||||
visible_message("<span class='warning'>[src]'s crushing mechanism slowly and smoothly descends, flattening [exp_on]!</span>")
|
||||
new /obj/item/stack/sheet/plasteel(get_turf(pick(oview(1,src))))
|
||||
if(linked_console.linked_lathe)
|
||||
var/datum/component/material_container/linked_materials = linked_console.linked_lathe.GetComponent(/datum/component/material_container)
|
||||
@@ -478,7 +478,7 @@
|
||||
visible_message("<span class='warning'>[exp_on] [a], and [b], the experiment was a failure.</span>")
|
||||
|
||||
if(exp == SCANTYPE_DISCOVER)
|
||||
visible_message("[src] scans the [exp_on], revealing its true nature!")
|
||||
visible_message("[src] scans [exp_on], revealing its true nature!")
|
||||
playsound(src.loc, 'sound/effects/supermatter.ogg', 50, 3, -1)
|
||||
var/obj/item/relic/R = loaded_item
|
||||
R.reveal()
|
||||
@@ -710,17 +710,17 @@
|
||||
to_chat(user, "<span class='danger'>[src] begins to heat up!</span>")
|
||||
spawn(rand(35,100))
|
||||
if(src.loc == user)
|
||||
visible_message("<span class='notice'>The [src]'s top opens, releasing a powerful blast!</span>")
|
||||
visible_message("<span class='notice'>[src]'s top opens, releasing a powerful blast!</span>")
|
||||
explosion(user.loc, -1, rand(1,5), rand(1,5), rand(1,5), rand(1,5), flame_range = 2)
|
||||
warn_admins(user, "Explosion")
|
||||
qdel(src) //Comment this line to produce a light grenade (the bomb that keeps on exploding when used)!!
|
||||
|
||||
/obj/item/relic/proc/teleport(mob/user)
|
||||
to_chat(user, "<span class='notice'>The [src] begins to vibrate!</span>")
|
||||
to_chat(user, "<span class='notice'>[src] begins to vibrate!</span>")
|
||||
spawn(rand(10,30))
|
||||
var/turf/userturf = get_turf(user)
|
||||
if(src.loc == user && is_teleport_allowed(userturf.z)) //Because Nuke Ops bringing this back on their shuttle, then looting the ERT area is 2fun4you!
|
||||
visible_message("<span class='notice'>The [src] twists and bends, relocating itself!</span>")
|
||||
visible_message("<span class='notice'>[src] twists and bends, relocating itself!</span>")
|
||||
throwSmoke(userturf)
|
||||
do_teleport(user, userturf, 8, asoundin = 'sound/effects/phasein.ogg')
|
||||
throwSmoke(get_turf(user))
|
||||
|
||||
@@ -102,7 +102,7 @@ Note: Must be placed west/left of and R&D console to function.
|
||||
default_deconstruction_crowbar(user, O)
|
||||
return 1
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You can't load the [src.name] while it's opened.</span>")
|
||||
to_chat(user, "<span class='warning'>You can't load [src] while it's opened.</span>")
|
||||
return 1
|
||||
if(O.is_open_container())
|
||||
return FALSE
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
if(istype(M.buffer, /obj/machinery/monkey_recycler))
|
||||
connected_recycler = M.buffer
|
||||
connected_recycler.connected += src
|
||||
to_chat(user, "<span class='notice'>You link [src] to the recycler stored in the [M]'s buffer.</span>")
|
||||
to_chat(user, "<span class='notice'>You link [src] to the recycler stored in [M]'s buffer.</span>")
|
||||
|
||||
/datum/action/innate/slime_place
|
||||
name = "Place Slimes"
|
||||
|
||||
Reference in New Issue
Block a user