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

Function parse_intelligence

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

Source from the content-addressed store, hash-verified

267
268INTELLIGENCES = {'brainless', 'animal', 'human'}
269def parse_intelligence(s):
270 return parse_enum(s, "I_", INTELLIGENCES)
271
272USE_TYPES = {'nothing', 'open_doors', 'starting_equipment', 'weapons_armour'}
273def parse_use(s):

Callers

nothing calls this directly

Calls 1

parse_enumFunction · 0.70

Tested by

no test coverage detected