Converts many proc overrides to properly use list/modifiers, lots of other smaller things (#56847)

Converts many proc overrides to properly use list/modifiers, fixes some spots where modifiers should have been passed, calls modifiers what it is, a lazy list, and cleans up some improper arg names like L, M, C, and N. Oh and I think there was a spot where someone was trying to pass M.name in as a string, but forgot to wrap it in []. I fixed that too.
This commit is contained in:
LemonInTheDark
2021-02-16 09:18:46 -05:00
committed by GitHub
parent 93e98cdd8d
commit 5c22a0cfc1
254 changed files with 837 additions and 837 deletions
+4 -4
View File
@@ -138,7 +138,7 @@
return
. = ..()
/obj/structure/window/attack_hand(mob/living/user)
/obj/structure/window/attack_hand(mob/living/user, list/modifiers)
. = ..()
if(.)
return
@@ -155,8 +155,8 @@
"<span class='warning'>You bash [src]!</span>")
playsound(src, bashsound, 100, TRUE)
/obj/structure/window/attack_paw(mob/user)
return attack_hand(user)
/obj/structure/window/attack_paw(mob/user, list/modifiers)
return attack_hand(user, modifiers)
/obj/structure/window/attack_generic(mob/user, damage_amount = 0, damage_type = BRUTE, damage_flag = 0, sound_effect = 1) //used by attack_alien, attack_animal, and attack_slime
if(!can_be_reached(user))
@@ -777,7 +777,7 @@
for (var/i in 1 to rand(1,4))
. += new /obj/item/paper/natural(location)
/obj/structure/window/paperframe/attack_hand(mob/living/user)
/obj/structure/window/paperframe/attack_hand(mob/living/user, list/modifiers)
. = ..()
if(.)
return