Porteded from yogger

no effort
This commit is contained in:
ReoDaProtovali
2024-05-14 21:51:27 -05:00
parent 94e7f28367
commit fe3bef0f9b

View File

@@ -101,17 +101,7 @@
if(!LAZYLEN(operation_order)) //The list is empty, so we're done here
end_harvesting()
return
var/turf/target
for(var/adir in list(EAST,NORTH,SOUTH,WEST))
var/turf/T = get_step(src,adir)
if(!T)
continue
if(istype(T, /turf/closed))
continue
target = T
break
if(!target)
target = get_turf(src)
var/turf/target = get_turf(src)
for(var/obj/item/bodypart/BP in operation_order) //first we do non-essential limbs
BP.drop_limb()
C.emote("scream")
@@ -146,6 +136,11 @@
return
return FALSE
/obj/machinery/harvester/wrench_act(mob/living/user, obj/item/I)
. = ..()
if(default_change_direction_wrench(user, I))
return TRUE
/obj/machinery/harvester/crowbar_act(mob/living/user, obj/item/I)
if(default_pry_open(I))
return TRUE
@@ -189,4 +184,6 @@
if(state_open)
. += "<span class='notice'>[src] must be closed before harvesting.</span>"
else if(!harvesting)
. += "<span class='notice'>Alt-click [src] to start harvesting.</span>"
. += "<span class='notice'>Alt-click [src] to start harvesting.</span>"
if(in_range(user, src) || isobserver(user))
. += "<span class='notice'>The status display reads: Harvest speed at <b>[interval*0.1]</b> seconds per organ.<span>"