LambdaHack/LambdaHack

Add a config file option for default examination detail level

开放

#217 创建于 2020年8月4日

 (1 条评论) (0 个反应) (0 位负责人)Haskell (57 个派生)auto 404
UIcode smelleasygood first issuehelp wantedself-contained

仓库指标

星标
 (660 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Currently the default is hardwired here:

https://github.com/LambdaHack/LambdaHack/blob/98dc0fe411b702398704bd8d327c3d096fe094ef/engine-src/Game/LambdaHack/Client/UI/EffectDescription.hs#L38

I guess it makes the most sense if it's given as an integer that matches HUD indicator of the level and then converted to the detail level type using toEnum and maxBound.

贡献者指南