Adds Hat Throwing (#45355)

* adds hat throwing on people and borgs

* clothing flags, hats can knock off non-items, borg hat blacklist check

* prevents hats with items in them from being able to land on heads

* removes extra equip, hats can go on the hatless again, tinfoil fix

* if

* bit flag
This commit is contained in:
MMMiracles
2019-07-26 15:23:56 -04:00
committed by Linzolle
parent c37088a767
commit 8fb0a68feb
17 changed files with 104 additions and 30 deletions
+2
View File
@@ -518,6 +518,8 @@
TT.thrower = thrower
TT.diagonals_first = diagonals_first
TT.callback = callback
if(!QDELETED(thrower))
TT.target_zone = thrower.zone_selected
var/dist_x = abs(target.x - src.x)
var/dist_y = abs(target.y - src.y)