mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Adds the Recycling and Summoner cores to the catalog, which I somehow forgot to do earlier. Adds an instability modifer for different cores. Adds several new healing spells, for dealing with internal organ troubles, as well as for dealing with robotic FBP healing. Makes various healing spells cheaper in the catalog.
32 lines
1019 B
Plaintext
32 lines
1019 B
Plaintext
/datum/technomancer/spell/mend_wires
|
|
name = "Mend Wires"
|
|
desc = "Binds the internal wiring of robotic limbs and components over time. \
|
|
Instability is split between the target and technomancer, if seperate."
|
|
cost = 50
|
|
obj_path = /obj/item/weapon/spell/insert/mend_wires
|
|
ability_icon_state = "tech_mendwounds"
|
|
|
|
/obj/item/weapon/spell/insert/mend_wires
|
|
name = "mend wires"
|
|
desc = "A roboticist is now obsolete."
|
|
icon_state = "mend_wounds"
|
|
cast_methods = CAST_MELEE
|
|
aspect = ASPECT_BIOMED
|
|
light_color = "#FF5C5C"
|
|
inserting = /obj/item/weapon/inserted_spell/mend_wires
|
|
|
|
/obj/item/weapon/inserted_spell/mend_wires/on_insert()
|
|
spawn(1)
|
|
if(ishuman(host))
|
|
var/mob/living/carbon/human/H = host
|
|
for(var/i = 0, i<25,i++)
|
|
if(H)
|
|
for(var/obj/item/organ/external/O in H.organs)
|
|
if(O.robotic < ORGAN_ROBOT) // Robot parts only.
|
|
continue
|
|
O.heal_damage(0, 1, internal = 1, robo_repair = 1)
|
|
|
|
H.adjust_instability(0.5)
|
|
origin.adjust_instability(0.5)
|
|
sleep(10)
|
|
on_expire() |