mob_spawn
Vars | |
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. |
Procs | |
create | Creates whatever mob the spawner makes. Return FALSE if we want to exit from here without doing that, returning NULL will be logged to admins. |
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
Creates whatever mob the spawner makes. Return FALSE if we want to exit from here without doing that, returning NULL will be logged to admins.