Alpha
Summary (a quick, 2-3 sentence summary):
Add Osteodaxon; a chemical that repairs bone fractures.
Benefits (How this will benefit the server and game as a whole):
Significantly reduces the workload of massively overworked Medbay staff; fracture repair is by far the biggest time sink in Medbay.
Details (Description of how you think this would work, the benefits, etc):
Each tick, each fracture has a 5% chance of healing per unit of Osteodaxon.
Osteodaxon overdoses at 10 units.
Chemical formula is Bicaridine + Cryptobiolin.
Note that Osteodaxon only works when its recipient's temperatures are sufficiently low (they are or were recently in cryo).
Implementation (Optional, if you have an idea how to implement it):
Have some code:
Chemistry-Reagents.dm:
Code: Select all
osteodaxon
name = "Osteodaxon"
id = "osteodaxon"
description = "A specially formulated concentrate of Bone Gel used in surgical procedures. Used to encourage repair of fractured bone. Medicate cautiously. Works only at low temperatures."
reagent_state = LIQUID
color = "#fffff5" // rgb: 255, 255, 245
overdose = REAGENTS_OVERDOSE/3
scannable = 1
on_mob_life(var/mob/living/M as mob)
if(M.stat == 2.0)
return
if(!M) M = holder.my_atom
if(M.bodytemperature < 170)
if(ishuman(M))
var/mob/living/carbon/human/H = M
var/potency = volume * 5
//Osteodaxon heals only non-robotic limbs
for(var/datum/organ/external/I in H.organs)
if(I != ORGAN_ROBOT && I.is_broken())
if(prob(min(potency,100)))
if(I.mend_fracture())
I.status &= ~ORGAN_BROKEN
I.status &= ~ORGAN_SPLINTED
I.perma_injury = 0
H << "<span class='notice'>You feel something mend itself inside your [I.display_name].</span>"
..()
return
Code: Select all
osteodaxon
name = "Osteodaxon"
id = "osteodaxon"
result = "osteodaxon"
required_reagents = list("bicaridine" = 1, "cryptobiolin" = 1)
result_amount = 2