mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-26 22:28:03 +01:00
19 lines
873 B
Plaintext
19 lines
873 B
Plaintext
/obj/item/extra_arm
|
|
name = "extra arm installer"
|
|
desc = "Distantly related to the technology of the Man-Machine Interface, this state-of-the-art syndicate device adapts your nervous and circulatory system to the presence of an extra limb..."
|
|
icon = 'modular_sand/icons/obj/device.dmi'
|
|
icon_state = "extra_arm"
|
|
var/used = FALSE
|
|
|
|
/obj/item/extra_arm/attack_self(mob/living/carbon/M)
|
|
if(!used)
|
|
var/limbs = M.held_items.len
|
|
M.change_number_of_hands(limbs+1)
|
|
used = TRUE
|
|
icon_state = "extra_arm_none"
|
|
M.visible_message(span_notice("[M] presses a button on [src], and you hear a disgusting noise."), span_notice("You feel a sharp sting as [src] plunges into your body."))
|
|
M.balloon_alert(M, "arm implanted")
|
|
to_chat(M, span_notice("You feel more dexterous."))
|
|
playsound(get_turf(M), 'sound/misc/splort.ogg', 50, 1)
|
|
desc += "Looks like it's been used up."
|