Fixes projectiles not hitting people resting, a bit of refactoring of how projectile target collision is done (#42241)

* Fixes projectiles not hitting mobs, some refactoring too

* some stuff for projectile can hit target to work with not being ontop of an object

* Yeah let's just refactor bullet_act while we're at it.

* Yeah let's just refactor bullet_act while we're at it.

* Yeah let's just refactor bullet_act while we're at it.

* CanPass returns true to projectiles regardless of hit

* snakecase?
This commit is contained in:
kevinz000
2019-01-19 11:17:42 +13:00
committed by oranges
parent 9c0e8b1ee8
commit 7370de6961
46 changed files with 339 additions and 288 deletions
+1 -3
View File
@@ -244,13 +244,11 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
/obj/item/twohanded/required/gibtonite/bullet_act(obj/item/projectile/P)
GibtoniteReaction(P.firer)
..()
. = ..()
/obj/item/twohanded/required/gibtonite/ex_act()
GibtoniteReaction(null, 1)
/obj/item/twohanded/required/gibtonite/proc/GibtoniteReaction(mob/user, triggered_by = 0)
if(!primed)
primed = TRUE