/tg/ Station 13 - Modules - TypesProc Details

space

Procs

InitializeSpace Initialize
enable_starlightTurns on the stars, if they aren't already
update_starlightUpdates starlight. Called when we're unsure of a turf's starlight state Returns TRUE if we succeed, FALSE otherwise

Proc Details

Initialize

Space Initialize

Doesn't call parent, see /atom/proc/Initialize. When adding new stuff to /atom/Initialize, /turf/Initialize, etc don't just add it here unless space actually needs it.

There is a lot of work that is intentionally not done because it is not currently used. This includes stuff like smoothing, blocking camera visibility, etc. If you are facing some odd bug with specifically space, check if it's something that was intentionally ommitted from this implementation.

enable_starlight

Turns on the stars, if they aren't already

update_starlight

Updates starlight. Called when we're unsure of a turf's starlight state Returns TRUE if we succeed, FALSE otherwise