mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #6637 from Mechoid/AugmentsRespectBeds
Augments Respect Beds, Robotic
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
icon_state = "cell_bay"
|
||||
|
||||
robotic = ORGAN_ROBOT
|
||||
parent_organ = BP_TORSO
|
||||
|
||||
organ_verbs = list(/mob/living/carbon/human/proc/augment_menu) // Verbs added by the organ when present in the body.
|
||||
@@ -145,6 +146,12 @@
|
||||
|
||||
var/mob/living/carbon/human/M = src
|
||||
|
||||
if(buckled)
|
||||
var/obj/Ob = buckled
|
||||
if(Ob.buckle_lying)
|
||||
to_chat(M, "<span class='notice'>You cannot use your augments when restrained.</span>")
|
||||
return 0
|
||||
|
||||
if((slot == slot_l_hand && l_hand) || (slot == slot_r_hand && r_hand))
|
||||
to_chat(M,"<span class='warning'>Your hand is full. Drop something first.</span>")
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user