--- tags: General, Byond --- # BYOND: Quirks and Hellspawn Put stuff that shouldn't work but does, or should work but doesn't here so we don't forget about it. ## \ `\` tells the compiler to read the next line as if it was one of our own. As an example: ``` var/heat = conduction_coefficient*delta_temperature* \ (heat_capacity*sharer.heat_capacity/(heat_capacity+sharer.heat_capacity)) ``` This is fine and valid dm You know how comments are meant to not compile? ``` if(passed) LAZYADD(emag_programs, list(info_this))//this is sent to the js thing\ else LAZYADD(program_cache, list(info_this)) ``` Is actually compiled as ``` if(passed) LAZYADD(emag_programs, list(info_this))//this is sent to the js thingelse LAZYADD(program_cache, list(info_this)) ``` Be mindful of this, it's easy to miss and can trip you up or cause massive issues. ## Icon hell icon_state's in overlays/underlays that share the same name as the icon_state of what they're attached to will cause the overlay to use the parents icon.