Goonstation 13 - Modules - Types

code/modules/materials/Mat_ProcsDefines.dm

/proc/getMaterialReturns one of the base materials by id.
/proc/handleTriggerGenerationsIncreases generations on material triggers and handles removal if over the generation cap.
/proc/getFusedTriggersFuses two material trigger lists.
/proc/getFusedMaterialMerges two materials and returns result as new material.
/proc/getInterpolatedNameMerges two material names into one.
/proc/getMatFailStringReturns a string for when a material fail or breaks depending on its material flags.
/proc/getMatFlagStringTranslates a material flag into a string.
/proc/matchesMaterialRecipeChecks if a material matches a recipe and returns the recipe if a match is found. returns null if nothing matches it.
/proc/hasParentMaterialSearches the parent materials of the given material, up to a given generation, for an id.
/proc/applyCableMaterialsYes hello apparently we need a proc for this because theres a million types of different wires and cables.
/proc/calculateHeatTransferCoefficientReturns the thermal conductivity between two materials, based on thermal and electrical conductivity mat property. Thermal conductivity ranges from 0 (perfect insulator) to infinity. Excellent conductors like copper are about 100