Missed Mirror: Lambs can now be killed with swords (#71500) (#18851)

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.

(cherry picked from commit e285b75fc5)

Co-authored-by: Jacquerel <hnevard@gmail.com>
This commit is contained in:
nevimer
2023-01-21 16:37:32 -05:00
committed by GitHub
co-authored by Jacquerel
parent 15acb2809a
commit e2d7c9a6d2
+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)