mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Moves External Organs to Nullspace (#15548)
* Moves External Organs to Nullspace * additions * oops * further cleanup
This commit is contained in:
+2
-8
@@ -1515,14 +1515,8 @@
|
||||
else if(href_list["common"])
|
||||
switch(href_list["common"])
|
||||
if("undress")
|
||||
if(ishuman(current))
|
||||
var/mob/living/carbon/human/H = current
|
||||
// Don't "undress" organs right out of the body
|
||||
for(var/obj/item/W in H.contents - (H.bodyparts | H.internal_organs))
|
||||
current.unEquip(W, 1)
|
||||
else
|
||||
for(var/obj/item/W in current)
|
||||
current.unEquip(W, 1)
|
||||
for(var/obj/item/I in current)
|
||||
current.unEquip(I, TRUE)
|
||||
log_admin("[key_name(usr)] has unequipped [key_name(current)]")
|
||||
message_admins("[key_name_admin(usr)] has unequipped [key_name_admin(current)]")
|
||||
if("takeuplink")
|
||||
|
||||
@@ -125,9 +125,9 @@
|
||||
|
||||
// Copy cybernetic implants
|
||||
O.cybernetic_implants = list()
|
||||
for(var/obj/item/organ/internal/CI in contents)
|
||||
if(istype(CI))
|
||||
O.cybernetic_implants |= CI.type
|
||||
for(var/org in internal_organs)
|
||||
var/obj/item/organ/internal/aug = org
|
||||
O.cybernetic_implants |= aug.type
|
||||
|
||||
// Copy accessories
|
||||
var/obj/item/clothing/under/uniform_slot = get_item_by_slot(slot_w_uniform)
|
||||
|
||||
Reference in New Issue
Block a user