thanks ghom

This commit is contained in:
Linzolle
2019-10-27 17:26:55 -05:00
parent 5bafab9447
commit bdd553d4f7
2 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -71,7 +71,7 @@
///if the hat manages to knock something off
if(H.dropItemToGround(WH))
H.visible_message("<span class='warning'>[src] knocks [WH] off [H]'s head!</span>", "<span class='warning'>[WH] is suddenly knocked off your head by [src]!</span>")
if(H.equip_to_slot_if_possible(src, SLOT_HEAD, 0, 1, 1))
if(H.equip_to_slot_if_possible(src, SLOT_HEAD, FALSE, TRUE))
H.visible_message("<span class='notice'>[src] lands neatly on [H]'s head!", "<span class='notice'>[src] lands perfectly onto your head!</span>")
return
if(iscyborg(hit_atom))