Tweaks ear equipping restrictions and add food renaming limit (#7281)

-makes so that any hat won't stop you from equipping stuff in your ear
-fixes #7279
-fixes a custom item sprite
-fixes mousedrop not unequipping clothing properly
This commit is contained in:
Alberyk
2019-10-28 15:44:35 +02:00
committed by Erki
parent 4a6de6a7b9
commit 1e3cd89f03
5 changed files with 12 additions and 3 deletions
@@ -334,7 +334,7 @@ This saves us from having to call add_fingerprint() any time something is put in
covering = src.wear_suit
if(slot_l_ear, slot_r_ear)
covering = src.head
check_flags = HEAD
check_flags = FACE //this is to stop regular hats from stopping you from changing your ears stuff, but this should work for closed ones, like space helmets
if(covering && (covering.body_parts_covered & (I.body_parts_covered|check_flags)))
to_chat(user, "<span class='warning'>\The [covering] is in the way.</span>")