Lambs can now be killed with swords (#71500)

Previously hitting a sheep with any item which was not "a razor" or
"some grass" would have no effect whatsoever.
Now hitting a sheep with a sword, axe, toolbox, or implement of your
choice will hurt it.
If you do this a sufficient number of times (more than you might expect)
the sheep will expire.
This commit is contained in:
Jacquerel
2022-11-26 04:27:55 -06:00
committed by GitHub
parent 37f42d801b
commit e285b75fc5
+3 -1
View File
@@ -109,10 +109,12 @@
if(istype(used_item, harvest_tool))
INVOKE_ASYNC(src, PROC_REF(harvest_item), user)
return COMPONENT_NO_AFTERATTACK
if(istype(used_item, fed_item))
remove_wait_time(user)
qdel(used_item)
return COMPONENT_NO_AFTERATTACK
return COMPONENT_NO_AFTERATTACK
/// Signal proc for [COMSIG_ATOM_UPDATE_ICON_STATE]
/datum/component/mob_harvest/proc/on_update_icon_state(datum/source)