function updateSettings() {
	useColor = sGet("core.menuSettings.useColor");
	descriptions = sGet("core.stateNames").split(/[,;]\s*/);
	smooth = sGet("core.menuSettings.smoothGradient");
	deathStateName = sGet("core.deathStateName");
	showDead = sGet("core.deathState");
	NPCsJustDie = sGet("core.NPCsJustDie");
	deathMarker = sGet("core.deathMarker");
	colors = sGet("core.variables.colors");
	outline = sGet("core.variables.outline");
	deadColor = sGet("core.variables.deadColor");
	deadOutline = sGet("core.variables.deadOutline");
	perfectionism = sGet("core.perfectionism");
	outputChat = sGet("core.outputChat");

	const margin = `${sGet("core.menuSettings.positionAdjustment")}em`;
	const alignment = sGet("core.menuSettings.position");
	document.documentElement.style.setProperty("--healthEstimate-margin", margin);
	document.documentElement.style.setProperty("--healthEstimate-alignment", alignment);
	document.documentElement.style.setProperty("--healthEstimate-text-size", sGet("core.menuSettings.fontSize"));
}
/**
 * Updates the variables if any setting was changed.
 */
Updates the variables if any setting was changed.
Updates the variables if any setting was changed .
function updateSettings() {
	useColor = sGet("core.menuSettings.useColor");
	descriptions = sGet("core.stateNames").split(/[,;]\s*/);
	smooth = sGet("core.menuSettings.smoothGradient");
	deathStateName = sGet("core.deathStateName");
	showDead = sGet("core.deathState");
	NPCsJustDie = sGet("core.NPCsJustDie");
	deathMarker = sGet("core.deathMarker");
	colors = sGet("core.variables.colors");
	outline = sGet("core.variables.outline");
	deadColor = sGet("core.variables.deadColor");
	deadOutline = sGet("core.variables.deadOutline");
	perfectionism = sGet("core.perfectionism");
	outputChat = sGet("core.outputChat");
	const margin = `${sGet("core.menuSettings.positionAdjustment")}em`;
	const alignment = sGet("core.menuSettings.position");
	document.documentElement.style.setProperty("--healthEstimate-margin", margin);
	document.documentElement.style.setProperty("--healthEstimate-alignment", alignment);
	document.documentElement.style.setProperty("--healthEstimate-text-size", sGet("core.menuSettings.fontSize"));
}
function updateSettings ( ) { useColor = sGet ( "core.menuSettings.useColor" ) ; descriptions = sGet ( "core.stateNames" ) . split ( / [,;]\s* / ) ; smooth = sGet ( "core.menuSettings.smoothGradient" ) ; deathStateName = sGet ( "core.deathStateName" ) ; showDead = sGet ( "core.deathState" ) ; NPCsJustDie = sGet ( "core.NPCsJustDie" ) ; deathMarker = sGet ( "core.deathMarker" ) ; colors = sGet ( "core.variables.colors" ) ; outline = sGet ( "core.variables.outline" ) ; deadColor = sGet ( "core.variables.deadColor" ) ; deadOutline = sGet ( "core.variables.deadOutline" ) ; perfectionism = sGet ( "core.perfectionism" ) ; outputChat = sGet ( "core.outputChat" ) ; const margin = ` ${ sGet ( "core.menuSettings.positionAdjustment" ) } ` ; const alignment = sGet ( "core.menuSettings.position" ) ; document . documentElement . style . setProperty ( "--healthEstimate-margin" , margin ) ; document . documentElement . style . setProperty ( "--healthEstimate-alignment" , alignment ) ; document . documentElement . style . setProperty ( "--healthEstimate-text-size" , sGet ( "core.menuSettings.fontSize" ) ) ; }
Updates the variables if any setting was changed.
Updates the variables if any setting was changed .