byond - Modules - TypesProc Details

/datum/suture_handler

Handles sutures for this limb. Doesn't process, updates on limb damage and new suture attempts.

Procs

add_suturesUsed to order a limb to add sutures. COMSIG_LIMB_ADD_SUTURES doesn't return something = no suture datum to answer. suture_brute = heals brute, boolean, also tracks fully-sutured state. suture_burn = ^ but for burns maximum_heal = total amount of each damage type that can be healed - IE TRUE/TRUE/10 = up to 10 brute AND up to 10 burns
check_suturesDetermines how many sutures can be added up to the max of 10 per type. Modifies a list referenced as an arg.
remove_suturesUnregisters datum. The signals are the only references to this.
update_suturesUpdates the amount of sutured damage remaining.

Proc Details

add_sutures

Used to order a limb to add sutures. COMSIG_LIMB_ADD_SUTURES doesn't return something = no suture datum to answer. suture_brute = heals brute, boolean, also tracks fully-sutured state. suture_burn = ^ but for burns maximum_heal = total amount of each damage type that can be healed - IE TRUE/TRUE/10 = up to 10 brute AND up to 10 burns

check_sutures

Determines how many sutures can be added up to the max of 10 per type. Modifies a list referenced as an arg.

remove_sutures

Unregisters datum. The signals are the only references to this.

update_sutures

Updates the amount of sutured damage remaining.