Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/spawn_rule

Represents a "rule" applied to a human or something they are wearing on spawn

Vars

slotThe slot this rule applies to, a null slot means it applies to the human directly. See clothing.dm for defines

Procs

apply_toApply the rule to a human mob, returns the atom to target
as_stringReturn a string representation of this rule to be used to identify it in the removal UI (must be unique)
is_equalDetermine if a given rule should override this one, ie they edit the same var or call the same proc

Var Details

slot

The slot this rule applies to, a null slot means it applies to the human directly. See clothing.dm for defines

Proc Details

apply_to

Apply the rule to a human mob, returns the atom to target

as_string

Return a string representation of this rule to be used to identify it in the removal UI (must be unique)

is_equal

Determine if a given rule should override this one, ie they edit the same var or call the same proc