mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[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:
co-authored by
LemonInTheDark
Gandalf2k15
parent
6f01502b33
commit
43febe3145
@@ -401,7 +401,7 @@
|
||||
postfire_empty_checks(.)
|
||||
|
||||
//ATTACK HAND IGNORING PARENT RETURN VALUE
|
||||
/obj/item/gun/ballistic/attack_hand(mob/user)
|
||||
/obj/item/gun/ballistic/attack_hand(mob/user, list/modifiers)
|
||||
if(!internal_magazine && loc == user && user.is_holding(src) && magazine)
|
||||
eject_magazine(user)
|
||||
return
|
||||
|
||||
@@ -296,7 +296,7 @@
|
||||
update_icon()
|
||||
|
||||
//ATTACK HAND IGNORING PARENT RETURN VALUE
|
||||
/obj/item/gun/ballistic/automatic/l6_saw/attack_hand(mob/user)
|
||||
/obj/item/gun/ballistic/automatic/l6_saw/attack_hand(mob/user, list/modifiers)
|
||||
if (loc != user)
|
||||
..()
|
||||
return
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
overheat = max(0, overheat - heat_diffusion * delta_time)
|
||||
|
||||
//ATTACK HAND IGNORING PARENT RETURN VALUE
|
||||
/obj/item/minigunpack/attack_hand(mob/living/carbon/user)
|
||||
/obj/item/minigunpack/attack_hand(mob/living/carbon/user, list/modifiers)
|
||||
if(src.loc == user)
|
||||
if(!armed)
|
||||
if(user.get_item_by_slot(ITEM_SLOT_BACK) == src)
|
||||
|
||||
Reference in New Issue
Block a user