mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Aut'akh unathi fixes: limbs and loadout (#6091)
This commit is contained in:
@@ -961,24 +961,25 @@
|
||||
to_chat(src,"<span class='warning'>Your body fails to interface with this alien technology.</span>")
|
||||
return
|
||||
|
||||
if(organs_by_name[O.limb_name])
|
||||
to_chat(src,"<span class='warning'>You already have a limb of this type.</span>")
|
||||
return
|
||||
|
||||
var/obj/item/organ/external/E = get_organ(zone_sel.selecting)
|
||||
if(!organs_by_name[O.parent_organ])
|
||||
to_chat(src,"<span class='warning'>You are unable to find a place to attach \the [O] to your body.</span>")
|
||||
return
|
||||
|
||||
if(E)
|
||||
to_chat(src,"<span class='warning'>You are not missing that limb.</span>")
|
||||
return
|
||||
last_special = world.time + 20
|
||||
|
||||
last_special = world.time + 20
|
||||
src.drop_from_inventory(O)
|
||||
O.replaced(src)
|
||||
src.update_body()
|
||||
src.updatehealth()
|
||||
src.UpdateDamageIcon()
|
||||
|
||||
src.drop_from_inventory(O)
|
||||
O.replaced(src)
|
||||
src.update_body()
|
||||
src.updatehealth()
|
||||
src.UpdateDamageIcon()
|
||||
update_body()
|
||||
updatehealth()
|
||||
UpdateDamageIcon()
|
||||
|
||||
update_body()
|
||||
updatehealth()
|
||||
UpdateDamageIcon()
|
||||
|
||||
visible_message("<span class='notice'>\The [src] attaches \the [O] to \his body!</span>",
|
||||
"<span class='notice'>You attach \the [O] to your body!</span>")
|
||||
visible_message("<span class='notice'>\The [src] attaches \the [O] to \his body!</span>",
|
||||
"<span class='notice'>You attach \the [O] to your body!</span>")
|
||||
|
||||
Reference in New Issue
Block a user