/tg/ Station 13 - Modules - TypesVar Details - Proc Details

nearsighted

Nearsighted

Vars

overlay_severityHow severe is our nearsightedness right now
update_signalsStatic list of signals that, when received, we force an update to our nearsighted overlay

Procs

set_nearsighted_severitySets the severity of our nearsighted overlay
should_be_nearsightedChecks if we should be nearsighted currently, or if we should clear the overlay
update_nearsighted_overlayUpdates our nearsightd overlay, either removing it if we have the trait or adding it if we don't
update_nearsightednessSignal proc for when we gain or lose TRAIT_NEARSIGHTED_CORRECTED - (temporarily) disable the overlay if we're correcting it

Var Details

overlay_severity

How severe is our nearsightedness right now

update_signals

Static list of signals that, when received, we force an update to our nearsighted overlay

Proc Details

set_nearsighted_severity

Sets the severity of our nearsighted overlay

should_be_nearsighted

Checks if we should be nearsighted currently, or if we should clear the overlay

update_nearsighted_overlay

Updates our nearsightd overlay, either removing it if we have the trait or adding it if we don't

update_nearsightedness

Signal proc for when we gain or lose TRAIT_NEARSIGHTED_CORRECTED - (temporarily) disable the overlay if we're correcting it