Module:Enemies/doc

From Risk of Rain 2 Wiki
Jump to navigation Jump to search

This is the documentation page for Module:Enemies

Enemies contains details of Risk of Rain 2's monsters.

Documentation

Package items

enemies.FamilyLink(frame) (function)
Builds a template for a family link.
Parameter: frame Frame object (table)
Returns: Preprocessed wikitext of link. (string)
enemies.MonsterExpansion(frame) (function)
Builds a template for a monster's expansion.
Parameter: frame Frame object (table)
Returns: Preprocessed wikitext of expansion template. (string)
enemies.MonsterGallery(frame) (function)
Builds a gallery of all monsters, or of a specific type.
Parameter: frame Frame object (table)
Returns: Preprocessed wikitext of resultant gallery (string)
Usage: p.MonsterGallery(mw.getCurrentFrame()) or {{#invoke:Enemies|MonsterGallery|type}}
enemies.BuildAllMonstersTable(frame) (function)
Builds a wikitable of all monsters.
Parameter: frame Frame object (table)
Returns: Preprocessed wikitext of resultant wikitable (string)
Usage: p.BuildAllMonstersTable(mw.getCurrentFrame()) or {{#invoke:Enemies|BuildAllMonstersTable}}
enemies.EnvironmentList(frame) (function)
Builds a list of environments, given monster
Parameter: frame Frame object (table)
Returns: Preprocessed wikitext of environment list. (string)