Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/_spacemandmm.dm

SHOULD_BE_PUREA "pure" proc does not make any external changes, or to its output.
PRIVATE_PROCPrivate procs can only be called by things of exactly the same type. This also prevents overriding of the proc.
PROTECTED_PROCProtected procs can only be call by things of the same type or subtypes
VAR_FINALFinal vars forbid overriding their value by types that inherit it.
VAR_PRIVATEPrivate vars can only be called by things of exactly the same type
VAR_PROTECTEDProtected vars can only be call by things of the same type or subtypes

Define Details

PRIVATE_PROC

Private procs can only be called by things of exactly the same type. This also prevents overriding of the proc.

PROTECTED_PROC

Protected procs can only be call by things of the same type or subtypes

SHOULD_BE_PURE

A "pure" proc does not make any external changes, or to its output.

VAR_FINAL

Final vars forbid overriding their value by types that inherit it.

VAR_PRIVATE

Private vars can only be called by things of exactly the same type

VAR_PROTECTED

Protected vars can only be call by things of the same type or subtypes