Passes thrownthing to hitby (#41411)

* Passes thrownthing to hitby

* Items now also pass thrownthing

* No longer uses default arguments

Also fixes bananium shield

* Adds more arguments to hitby calls

* Standardises throw_impact

* Clears up some loose ends

* Adds back wacky comment

* Reinstates can_push=FALSE on bananium shield
This commit is contained in:
4dplanner
2018-11-15 09:25:04 +00:00
committed by AnturK
parent f4dc7b5304
commit c84a92f4ce
57 changed files with 114 additions and 114 deletions

View File

@@ -65,7 +65,7 @@
else
return ..()
/obj/item/ammo_casing/throw_impact(atom/A)
/obj/item/ammo_casing/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum)
if(heavy_metal)
bounce_away(FALSE, NONE)
. = ..()