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

atoms

Vars

created_atomsinitAtom() adds the atom its creating to this list iff InitializeAtoms() has been given a list to populate as an argument
initialized_changedA count of how many initalize changes we've made. We want to prevent old_initialize being overriden by some other value, breaking init code
queued_deletionsAtoms that will be deleted once the subsystem is initialized

Procs

CreateAtomsActually creates the list of atoms. Exists soley so a runtime in the creation logic doesn't cause initalized to totally break
InitAtomInit this specific atom
prepare_deletionPrepares an atom to be deleted once the atoms SS is initialized.
set_tracked_initalizedUse this to set initialized to prevent error states where old_initialized is overriden. It keeps happening and it's cheesing me off

Var Details

created_atoms

initAtom() adds the atom its creating to this list iff InitializeAtoms() has been given a list to populate as an argument

initialized_changed

A count of how many initalize changes we've made. We want to prevent old_initialize being overriden by some other value, breaking init code

queued_deletions

Atoms that will be deleted once the subsystem is initialized

Proc Details

CreateAtoms

Actually creates the list of atoms. Exists soley so a runtime in the creation logic doesn't cause initalized to totally break

InitAtom

Init this specific atom

prepare_deletion

Prepares an atom to be deleted once the atoms SS is initialized.

set_tracked_initalized

Use this to set initialized to prevent error states where old_initialized is overriden. It keeps happening and it's cheesing me off