jinrou
jinrou copied to clipboard
about easyYaminabe
I noticed that in this block, server generates ruleinfo_str
before the job replacement. Is that exactly what you want?
if query.jobrule == "特殊ルール.easyYaminabe"
# かんたん闇鍋のときは普通1がデフォ
joblist = libcasting.fillJoblist Shared.game.normal1 playersnumber
# 残りは村人
joblist.Human = frees - libcasting.countJobsInJoblist(joblist)
ruleinfo_str = getrulestr game.i18n, query.jobrule, joblist
# ランダムに役職を選択して闇鍋化
joblist = libcasting.easyReplaceJoblist joblist
https://github.com/Sunev/jinrou/issues/89
It's intentional; to not confuse users (especially without much experience), the server first shows the initial rule setting. Depending on setting, the result of manipulation should also by shown.
...However, it's a bug that one can enable 希望役職制 along with easyYaminabe.