mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Ports the TG Dish Drive. A quality of life machine for service. (#18855)
* ILOVEBARTENDING * improvements * oopsie daisy * Apply suggestions from code review Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Co-authored-by: ElorgRHG <71735193+ElorgRHG@users.noreply.github.com> * Update cable.dm * fixes cable runtimes * Apply suggestions from code review Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> * applies for code critique * steelslayerreview * Update code/game/machinery/constructable_frame.dm Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Co-authored-by: ElorgRHG <71735193+ElorgRHG@users.noreply.github.com> Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
co-authored by
SteelSlayer
ElorgRHG
Sirryan2002
parent
021fd9a416
commit
1c7882cb11
@@ -975,6 +975,15 @@
|
||||
visible_message("<span class='notice'>[user] butchers [src].</span>")
|
||||
gib()
|
||||
|
||||
/mob/living/proc/can_use(atom/movable/M, be_close = FALSE)
|
||||
if(HAS_TRAIT(src, TRAIT_HANDS_BLOCKED))
|
||||
to_chat(src, "<span class='warning'>You can't do that right now!</span>")
|
||||
return FALSE
|
||||
if(be_close && !in_range(M, src))
|
||||
to_chat(src, "<span class='warning'>You are too far away!</span>")
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/mob/living/movement_delay(ignorewalk = 0)
|
||||
. = ..()
|
||||
if(isturf(loc))
|
||||
|
||||
Reference in New Issue
Block a user