mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-06 06:19:24 +00:00
Renames is_hot and is_sharp to get_temperature and get_sharpness (#46680)
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
harvested = FALSE
|
||||
|
||||
/obj/structure/flora/ash/attackby(obj/item/W, mob/user, params)
|
||||
if(!harvested && needs_sharp_harvest && W.is_sharp())
|
||||
if(!harvested && needs_sharp_harvest && W.get_sharpness())
|
||||
user.visible_message("<span class='notice'>[user] starts to harvest from [src] with [W].</span>","<span class='notice'>You begin to harvest from [src] with [W].</span>")
|
||||
if(do_after(user, harvest_time, target = src))
|
||||
harvest(user)
|
||||
|
||||
Reference in New Issue
Block a user