Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ parse_shape
Function
parse_shape
crawl-ref/source/util/mon-gen.py:305–306 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
303
'misc'
,
304
}
305
def
parse_shape(s):
306
return
parse_enum(s,
"MON_SHAPE_"
, SHAPES)
307
308
def
parse_energy(s):
309
if
'move'
in s:
Callers
nothing calls this directly
Calls
1
parse_enum
Function · 0.70
Tested by
no test coverage detected