Click()
if(get_dist(src, usr) > 1) return
var/obj/tool/WC = /obj/tool/Watering_Can
var/obj/tool/H = /obj/tool/Hoe
for(WC in usr.contents)
if(WC.suffix == "Equipped")
src.icon_state = "wet dirt"
src.is_wet = 1
for(H in usr.contents)
if(H.suffix == "Equipped")
src.icon_state = "tilled dirt"
if(src.is_wet == 1)
src.icon_state = "wet tilled dirt"
if(is_night)
src.icon_state = "tilled wet night"
Problem description:
When using the WC, it confuses the icon_states set for H and does "tilled wet night" instead of "wet dirt".