mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user