From f56d7aa5486e12d4fb480c1b62dfb0b3f0c8c9c1 Mon Sep 17 00:00:00 2001 From: WhiteCloud0123 <112397151+WhiteCloud0123@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:35:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E2=80=9C=E5=8F=AF=E4=BB=A5=E7=9C=8B=E5=88=B0?= =?UTF-8?q?=E6=80=AA=E7=89=A9=E7=9A=84=E7=AD=89=E7=BA=A7=E2=80=9D=20+=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E2=80=9C=E9=AA=91=E4=B9=98=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=8F=AF=E4=BB=A5=E4=B8=8B=E6=A5=BC=E2=80=9D=E7=9A=84?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E4=B8=BAtrue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/monster.cpp | 6 ++++-- src/options.cpp | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/monster.cpp b/src/monster.cpp index 38e73057..73e0fbee 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -780,8 +780,10 @@ int monster::print_info(const catacurses::window& w, int vStart, int vLines, int oss << "" << std::string(5 - utf8_width(bar_str), '.') << " "; oss << get_tag_from_color(basic_symbol_color()) << name() << " "; oss << "" << get_effect_status() << ""; - - + if (get_option("可以看到怪物的等级") == true) { + oss << "\n"; + oss << "" << "等级 : " << lv_breeze << ""; + } /*oss << "\n"; oss << "\n"; oss << "" << "友好度:" << friendly << ""; diff --git a/src/options.cpp b/src/options.cpp index ded5e80d..904d960c 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -1373,10 +1373,13 @@ void options_manager::add_options_general() );*/ add_empty_line(); - add("骑乘状态可以上下楼", "general", to_translation("骑乘状态可以上下楼"), to_translation("当此选项的值为 true 时,骑乘状态可以上下楼。"), false); + add("骑乘状态可以上下楼", "general", to_translation("骑乘状态可以上下楼"), to_translation("当此选项的值为 true 时,骑乘状态可以上下楼。"), true); + add("可以看到怪物的等级", "general", to_translation("可以看到怪物的等级"), to_translation("当此选项的值为 true 时,可以看到怪物的等级。"), true); add_empty_line(); + + add( "AUTO_PICKUP", "general", to_translation( "Auto pickup enabled" ), to_translation( "If true, enable item auto pickup. Change pickup rules with the Auto pickup manager." ), false From dc6cec3c56edf76f909af7046a8b29d3711247f6 Mon Sep 17 00:00:00 2001 From: WhiteCloud0123 <112397151+WhiteCloud0123@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:39:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?Update=20=E5=86=85=E5=AE=B9=E6=B1=87?= =?UTF-8?q?=E6=80=BB.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "\345\206\205\345\256\271\346\261\207\346\200\273.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/\345\206\205\345\256\271\346\261\207\346\200\273.md" "b/\345\206\205\345\256\271\346\261\207\346\200\273.md" index 9fd66993..b560bfcd 100644 --- "a/\345\206\205\345\256\271\346\261\207\346\200\273.md" +++ "b/\345\206\205\345\256\271\346\261\207\346\200\273.md" @@ -56,4 +56,4 @@ 28 骑乘状态下,被骑乘的怪物可以对玩家的近战攻击的目标进行近战攻击。 - +29 添加了名为“可以看到怪物的等级”的选项。