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

mob_spawn

Vars

facial_haircolorsets a human's facial hair color
facial_hairstylesets a human's facial hair
haircolorsets a human's hair color (use special for gradients, sorry)
hairstylesets a human's hairstyle
infinite_useCan this spawner be used up?
mob_nameA forced name of the mob, though can be overridden if a special name is passed as an argument
mob_species/Human specific stuff. Don't set these if you aren't using a human, the unit tests will put a stop to your sinful hand. sets the human as a species, use a typepath (example: /datum/species/skeleton)
mob_typethe type of the mob, you best inherit this
outfitequips the human with an outfit.
outfit_overridefor mappers to override parts of the outfit. really only in here for secret away missions, please try to refrain from using this out of laziness
skin_tonesets a human's skin tone
spawned_mob_refWeakref to the mob this spawner created - just if you needed to do something with it.

Procs

createThis edit would cause somewhat ugly diffs, so I'm just replacing it. Original proc in code/modules/mob_spawn/mob_spawn.dm ~line 39.

Var Details

facial_haircolor

sets a human's facial hair color

facial_hairstyle

sets a human's facial hair

haircolor

sets a human's hair color (use special for gradients, sorry)

hairstyle

sets a human's hairstyle

infinite_use

Can this spawner be used up?

mob_name

A forced name of the mob, though can be overridden if a special name is passed as an argument

mob_species

/Human specific stuff. Don't set these if you aren't using a human, the unit tests will put a stop to your sinful hand. sets the human as a species, use a typepath (example: /datum/species/skeleton)

mob_type

the type of the mob, you best inherit this

outfit

equips the human with an outfit.

outfit_override

for mappers to override parts of the outfit. really only in here for secret away missions, please try to refrain from using this out of laziness

skin_tone

sets a human's skin tone

spawned_mob_ref

Weakref to the mob this spawner created - just if you needed to do something with it.

Proc Details

create

This edit would cause somewhat ugly diffs, so I'm just replacing it. Original proc in code/modules/mob_spawn/mob_spawn.dm ~line 39.