MCPcopy Create free account
hub / github.com/crawl/crawl / parse_tile_variants

Function parse_tile_variants

crawl-ref/source/util/mon-gen.py:331–332  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

329
330TVARIES = {'mod', 'cycle', 'random', 'water'}
331def parse_tile_variants(s):
332 return parse_enum(s, "TVARY_", TVARIES)
333
334keyfns = {
335 'glyph': Field(parse_glyph, required = True),

Callers

nothing calls this directly

Calls 1

parse_enumFunction · 0.70

Tested by

no test coverage detected