mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 05:02:42 +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"
|
icon_state = "cell_bay"
|
||||||
|
|
||||||
|
robotic = ORGAN_ROBOT
|
||||||
parent_organ = BP_TORSO
|
parent_organ = BP_TORSO
|
||||||
|
|
||||||
organ_verbs = list(/mob/living/carbon/human/proc/augment_menu) // Verbs added by the organ when present in the body.
|
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
|
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))
|
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>")
|
to_chat(M,"<span class='warning'>Your hand is full. Drop something first.</span>")
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user