[MIRROR] Converts many proc overrides to properly use list/modifiers, lots of other smaller things (#3433)

* Converts many proc overrides to properly use list/modifiers, lots of other smaller things

* Update human_defense.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-02-17 14:18:21 +00:00
committed by GitHub
co-authored by LemonInTheDark Gandalf2k15
parent 6f01502b33
commit 43febe3145
254 changed files with 837 additions and 837 deletions
+12 -11
View File
@@ -57,17 +57,18 @@
else
return ..()
/obj/structure/fermenting_barrel/attack_hand(mob/user)
if(can_open)
open = !open
if(open)
reagents.flags &= ~(DRAINABLE)
reagents.flags |= REFILLABLE | TRANSPARENT
to_chat(user, "<span class='notice'>You open [src], letting you fill it.</span>")
else
reagents.flags |= DRAINABLE
reagents.flags &= ~(REFILLABLE | TRANSPARENT)
to_chat(user, "<span class='notice'>You close [src], letting you draw from its tap.</span>")
/obj/structure/fermenting_barrel/attack_hand(mob/user, list/modifiers)
if(!can_open)
return
open = !open
if(open)
reagents.flags &= ~(DRAINABLE)
reagents.flags |= REFILLABLE | TRANSPARENT
to_chat(user, "<span class='notice'>You open [src], letting you fill it.</span>")
else
reagents.flags |= DRAINABLE
reagents.flags &= ~(REFILLABLE | TRANSPARENT)
to_chat(user, "<span class='notice'>You close [src], letting you draw from its tap.</span>")
update_icon()
/obj/structure/fermenting_barrel/update_icon_state()
+1 -1
View File
@@ -82,7 +82,7 @@
foodtypes = FRUIT
wine_power = 50
/obj/item/food/grown/ghost_chili/attack_hand(mob/user)
/obj/item/food/grown/ghost_chili/attack_hand(mob/user, list/modifiers)
. = ..()
if(.)
return
+1 -1
View File
@@ -211,7 +211,7 @@
return ..()
/obj/structure/bonfire/attack_hand(mob/user)
/obj/structure/bonfire/attack_hand(mob/user, list/modifiers)
. = ..()
if(.)
return
+1 -1
View File
@@ -740,7 +740,7 @@
return ..()
/obj/machinery/hydroponics/attack_hand(mob/user)
/obj/machinery/hydroponics/attack_hand(mob/user, list/modifiers)
. = ..()
if(.)
return