weixin_39606638 2020-11-21 23:48 采纳率: 0%
浏览 0

Make -r option work properly again

Reported by magnate on 7 Jan 2010 13:58 UTC The -r runtime option rebalanced the monsters, wrote the results to monster.raw, and put a rebalanced monster.txt in lib/user/. Now that raw files have gone, the monster.txt file still goes in user/ ... but the game continues with non-rebalanced monsters ...

One solution is for the new monster.txt file to be placed directly in lib/edit, with any existing one renamed. This could cause problems on multi-user systems since the FHS cleanup, since a normal user may not have write access to edit/. So an alternative is for -r to do what it does now, and output a new monster.txt to user/, but then to exit with the message "Rebalanced monster.txt file written to [dir]. Copy it to your lib/edit/ directory to play with rebalanced monsters."

Given how rarely it is used, the latter seems safest to me. Does anyone really want the former, or a third solution?

该提问来源于开源项目:angband/angband

  • 写回答

7条回答 默认 最新

  • weixin_39606638 2020-11-21 23:48
    关注

    Attachment from pnd10 on 26 Jun 2010 22:47 UTC [PATCH] Correct colour attributes on writing out rebalanced monster.txt REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1075_GIT_3149/0001-Correct-colour-attributes-on-writing-out-rebalanced-.patch

    评论

报告相同问题?