mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
OpenDream linting (#16468)
* I wanna set the universe on fire * dfsaaf * setup * dir issue? * dsf * Perhaps the script * saf * cry * pain * sdfas * Try reintroduction of tag-matcher * Failed * Tries to suppress dotnet compile warnings * Like this maybe? * woopsie * Damn pathings * Hate * Pragmas * unlint? * Maybe? * GDI * Redundant ifdef removed and changelog * Did I forgot the tag matcher, or it was still broken? * Yea no that script is still broken * Removed tag-matcher as requested * *sigh* * test * bro what? * hope * just fixing the input * Let's see if we catch it...
This commit is contained in:
@@ -681,7 +681,7 @@
|
||||
user.visible_message(SPAN_WARNING("[user.name] welds [src]."), \
|
||||
"You start welding the APC frame...", \
|
||||
"You hear welding.")
|
||||
playsound(loc, 'sound/items/welder.ogg', 50, 1)
|
||||
playsound(loc, 'sound/items/Welder.ogg', 50, 1)
|
||||
if(W.use_tool(src, user, 50, volume = 50))
|
||||
if(!src || !WT.use(3, user))
|
||||
return
|
||||
@@ -765,7 +765,7 @@
|
||||
if (WT.get_fuel() <1)
|
||||
to_chat(user, SPAN_WARNING("You need more welding fuel to complete this task."))
|
||||
return
|
||||
playsound(loc, 'sound/items/welder.ogg', 50, 1)
|
||||
playsound(loc, 'sound/items/Welder.ogg', 50, 1)
|
||||
if(W.use_tool(src, user, 10, volume = 50))
|
||||
if(!src || !WT.use(1, user))
|
||||
return
|
||||
|
||||
@@ -156,7 +156,7 @@ By design, d1 is the smallest direction and d2 is the highest
|
||||
|
||||
for(var/mob/O in viewers(src, null))
|
||||
O.show_message(SPAN_WARNING("[user] cuts the cable."), 1)
|
||||
playsound(src.loc, 'sound/items/wirecutter.ogg', 50, 1)
|
||||
playsound(src.loc, 'sound/items/Wirecutter.ogg', 50, 1)
|
||||
|
||||
if(d1 == 11 || d2 == 11)
|
||||
var/turf/turf = GetBelow(src)
|
||||
@@ -605,7 +605,7 @@ By design, d1 is the smallest direction and d2 is the highest
|
||||
)
|
||||
affecting.heal_damage(burn = 15, robo_repair = TRUE)
|
||||
user.visible_message(SPAN_NOTICE("\The [user] [pick(repair_messages)] in [target]'s [affecting.name] with \the [src]."))
|
||||
playsound(target, 'sound/items/wirecutter.ogg', 15)
|
||||
playsound(target, 'sound/items/Wirecutter.ogg', 15)
|
||||
repair_organ(user, target, affecting)
|
||||
else
|
||||
to_chat(user, SPAN_WARNING("You don't have enough cable for this!"))
|
||||
@@ -1043,7 +1043,7 @@ By design, d1 is the smallest direction and d2 is the highest
|
||||
/obj/structure/noose/attackby(obj/item/I, mob/user, params)
|
||||
if(I.iswirecutter())
|
||||
user.visible_message("<b>[user]</b> cuts \the [src].", SPAN_NOTICE("You cut \the [src]."))
|
||||
playsound(src.loc, 'sound/items/wirecutter.ogg', 50, 1)
|
||||
playsound(src.loc, 'sound/items/Wirecutter.ogg', 50, 1)
|
||||
if(istype(buckled, /mob/living))
|
||||
var/mob/living/M = buckled
|
||||
M.visible_message(SPAN_DANGER("[M] falls over and hits the ground!"),\
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
icon_state = "bulb-construct-stage1"
|
||||
new /obj/item/stack/cable_coil(get_turf(src), 1, "red")
|
||||
user.visible_message(SPAN_NOTICE("\The [user] removes the wiring from \the [src]."), SPAN_NOTICE("You remove the wiring from [src]."), SPAN_WARNING("You hear something being cut."))
|
||||
playsound(get_turf(src), 'sound/items/wirecutter.ogg', 100, TRUE)
|
||||
playsound(get_turf(src), 'sound/items/Wirecutter.ogg', 100, TRUE)
|
||||
return
|
||||
|
||||
if(W.iscoil())
|
||||
|
||||
@@ -125,7 +125,7 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
|
||||
if(prob(25))
|
||||
qdel(src)
|
||||
return
|
||||
else
|
||||
|
||||
return
|
||||
|
||||
/obj/structure/particle_accelerator/update_icon()
|
||||
@@ -273,7 +273,7 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
|
||||
if(prob(25))
|
||||
qdel(src)
|
||||
return
|
||||
else
|
||||
|
||||
return
|
||||
|
||||
/obj/machinery/particle_accelerator/proc/update_state()
|
||||
|
||||
@@ -384,7 +384,7 @@
|
||||
|
||||
/obj/machinery/power/solar_control/attackby(var/obj/I, user as mob)
|
||||
if(I.isscrewdriver())
|
||||
playsound(src.loc, 'sound/items/screwdriver.ogg', 50, 1)
|
||||
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
if(do_after(user, 20))
|
||||
if (src.stat & BROKEN)
|
||||
to_chat(user, "<span class='notice'>The broken glass falls out.</span>")
|
||||
|
||||
Reference in New Issue
Block a user