From f123452ce2f73b985209eb7027538f7154c685de Mon Sep 17 00:00:00 2001 From: ViVi Date: Sat, 7 Jun 2025 12:08:38 +0900 Subject: [PATCH 1/3] =?UTF-8?q?[SW2.5]=20=E6=A5=BD=E7=B4=A0=E8=A8=98?= =?UTF-8?q?=E5=8F=B7=E3=82=92=E3=81=82=E3=82=89=E3=82=8F=E3=81=99=E8=A8=98?= =?UTF-8?q?=E6=B3=95=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _core/lib/subroutine.pl | 4 ++++ _core/lib/sw2/edit-arts.pl | 3 +++ _core/lib/sw2/edit-chara.pl | 3 +++ _core/lib/sw2/edit-item.pl | 3 +++ 4 files changed, 13 insertions(+) diff --git a/_core/lib/subroutine.pl b/_core/lib/subroutine.pl index 37cf40145..120063989 100644 --- a/_core/lib/subroutine.pl +++ b/_core/lib/subroutine.pl @@ -492,6 +492,10 @@ sub unescapeTags { $text =~ s/(\[[常準主補宣]\])+/&textToIcon($&);/egi; $text =~ s/「((?:[○◯〇△>▶〆☆≫»□☐☑🗨]|>>)+)/"「".&textToIcon($1);/egi; } + + $text =~ s|\[⤴\]||g; + $text =~ s|\[⤵\]||g; + $text =~ s|\[♡\]||g; } diff --git a/_core/lib/sw2/edit-arts.pl b/_core/lib/sw2/edit-arts.pl index 1d281c37b..e5c0b26fe 100644 --- a/_core/lib/sw2/edit-arts.pl +++ b/_core/lib/sw2/edit-arts.pl @@ -450,6 +450,9 @@ $text_rule .= <<"HTML";  アルフレイム大陸由来の流派装備:[ア][ア]
 テラスティア大陸由来の流派装備:[テ][テ]
+  高揚の楽素:[⤴]
+  鎮静の楽素:[⤵]
+  魅惑の楽素:[♡]
HTML } print textRuleArea( $text_rule,'「効果」「備考」「由来・逸話など」' ); diff --git a/_core/lib/sw2/edit-chara.pl b/_core/lib/sw2/edit-chara.pl index f48d2209c..47d76cb15 100644 --- a/_core/lib/sw2/edit-chara.pl +++ b/_core/lib/sw2/edit-chara.pl @@ -1710,6 +1710,9 @@ sub chatPaletteFormOptional {  主動作型 :[主][主]
 補助動作型:[補][補]
 宣言型  :[宣][宣]
+  高揚の楽素:[⤴]
+  鎮静の楽素:[⤵]
+  魅惑の楽素:[♡]
HTML print textRuleArea( $text_rule,'「容姿・経歴・その他メモ」「履歴(自由記入)」「所持品」「収支履歴」' ); diff --git a/_core/lib/sw2/edit-item.pl b/_core/lib/sw2/edit-item.pl index 5d681ac23..99d1bcf0e 100644 --- a/_core/lib/sw2/edit-item.pl +++ b/_core/lib/sw2/edit-item.pl @@ -269,6 +269,9 @@ $text_rule .= <<"HTML";  アルフレイム大陸由来の流派装備:[ア]
 テラスティア大陸由来の流派装備:[テ]
+  高揚の楽素:[⤴]
+  鎮静の楽素:[⤵]
+  魅惑の楽素:[♡]
HTML } print textRuleArea( $text_rule,'「効果」「解説」' ); From a3b32a52e7be9a24238106858fd2734a1d00febe Mon Sep 17 00:00:00 2001 From: ViVi Date: Sat, 15 Nov 2025 17:47:29 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=E6=8A=98=E3=82=8A=E7=95=B3=E3=81=BF?= =?UTF-8?q?=E3=81=AE=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=E5=B1=95?= =?UTF-8?q?=E9=96=8B=E8=A8=98=E6=B3=95=E3=81=8B=E3=82=89=20`[=E2=86=93]`?= =?UTF-8?q?=20=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 他の機能に明け渡すため --- _core/lib/edit.pl | 2 +- _core/lib/subroutine.pl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_core/lib/edit.pl b/_core/lib/edit.pl index bcd36a72f..bf304ea33 100644 --- a/_core/lib/edit.pl +++ b/_core/lib/edit.pl @@ -702,7 +702,7 @@ sub textRuleArea {       :      |説明文2行目 項目名を記入しないか、半角スペースで埋めると上と結合します。
折り畳み:行頭に[>]項目名:以降のテキストがすべて折り畳みになります。
     項目名を省略すると、自動的に「詳細」になります。
-      >の代わりにVvのいずれかの文字をもちいると、デフォルトで展開状態となります(例: [v]項目名)。
+      >の代わりにVvのいずれかの文字をもちいると、デフォルトで展開状態となります(例: [v]項目名)。
折り畳み終了:行頭に[---]:(ハイフンは3つ以上任意)
       省略すると、以後のテキストが全て折りたたまれます。
コメントアウト:行頭に//:記述した行を非表示にします。 diff --git a/_core/lib/subroutine.pl b/_core/lib/subroutine.pl index 120063989..cebd8f575 100644 --- a/_core/lib/subroutine.pl +++ b/_core/lib/subroutine.pl @@ -546,12 +546,12 @@ sub unescapeTagsLines { $text =~ s/^RIGHT:/<\/p>

/gim; my $d_count = 0; - $d_count += ($text =~ s/^\[(>|[↓vVv])\]\*\*\*\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); - $d_count += ($text =~ s/^\[(>|[↓vVv])\]\*\*\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); - $d_count += ($text =~ s/^\[(>|[↓vVv])\]\*\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); - $d_count += ($text =~ s/^\[(>|[↓vVv])\]\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); - $d_count += ($text =~ s/^\[(>|[↓vVv])\](.+?)$/"<\/p>

$2<\/summary>

"/gime); - $d_count += ($text =~ s/^\[(>|[↓vVv])\]$/"<\/p>

詳細<\/summary>

"/gime); + $d_count += ($text =~ s/^\[(>|[vVv])\]\*\*\*\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); + $d_count += ($text =~ s/^\[(>|[vVv])\]\*\*\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); + $d_count += ($text =~ s/^\[(>|[vVv])\]\*\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); + $d_count += ($text =~ s/^\[(>|[vVv])\]\*(.*?)$/"<\/p>

$2<\/summary>

"/gime); + $d_count += ($text =~ s/^\[(>|[vVv])\](.+?)$/"<\/p>

$2<\/summary>

"/gime); + $d_count += ($text =~ s/^\[(>|[vVv])\]$/"<\/p>

詳細<\/summary>

"/gime); $d_count -= ($text =~ s/^\[-{3,}\]\n?$/<\/p><\/div><\/details>

/gim); $text =~ s/^-{4,}$/<\/p>


/gim; From e355cefb92fe4b177b27065a5ccfae9b24928f18 Mon Sep 17 00:00:00 2001 From: ViVi Date: Sat, 15 Nov 2025 17:45:07 +0900 Subject: [PATCH 3/3] =?UTF-8?q?[SW2.5]=20=E6=A5=BD=E7=B4=A0=E8=A8=98?= =?UTF-8?q?=E5=8F=B7=E3=82=92=E3=81=82=E3=82=89=E3=82=8F=E3=81=99=E8=A8=98?= =?UTF-8?q?=E6=B3=95=E3=81=AB=E3=80=81=E3=82=88=E3=82=8A=E7=B0=A1=E6=98=93?= =?UTF-8?q?=E3=81=AA=E5=85=A5=E5=8A=9B=E3=81=AE=E3=81=9F=E3=82=81=E3=81=AE?= =?UTF-8?q?=E3=83=90=E3=83=AA=E3=82=A8=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0=EF=BC=88=20`[=E2=86=91]`=20`[?= =?UTF-8?q?=E2=86=93]`=20=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _core/lib/subroutine.pl | 4 ++-- _core/lib/sw2/edit-arts.pl | 4 ++-- _core/lib/sw2/edit-chara.pl | 4 ++-- _core/lib/sw2/edit-item.pl | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_core/lib/subroutine.pl b/_core/lib/subroutine.pl index cebd8f575..7fd5804ef 100644 --- a/_core/lib/subroutine.pl +++ b/_core/lib/subroutine.pl @@ -493,8 +493,8 @@ sub unescapeTags { $text =~ s/「((?:[○◯〇△>▶〆☆≫»□☐☑🗨]|>>)+)/"「".&textToIcon($1);/egi; } - $text =~ s|\[⤴\]||g; - $text =~ s|\[⤵\]||g; + $text =~ s|\[[⤴↑]\]||g; + $text =~ s|\[[⤵↓]\]||g; $text =~ s|\[♡\]||g; } diff --git a/_core/lib/sw2/edit-arts.pl b/_core/lib/sw2/edit-arts.pl index e5c0b26fe..0f44626fa 100644 --- a/_core/lib/sw2/edit-arts.pl +++ b/_core/lib/sw2/edit-arts.pl @@ -450,8 +450,8 @@ $text_rule .= <<"HTML";  アルフレイム大陸由来の流派装備:[ア][ア]
 テラスティア大陸由来の流派装備:[テ][テ]
-  高揚の楽素:[⤴]
-  鎮静の楽素:[⤵]
+  高揚の楽素:[⤴][↑]
+  鎮静の楽素:[⤵][↓]
 魅惑の楽素:[♡]
HTML } diff --git a/_core/lib/sw2/edit-chara.pl b/_core/lib/sw2/edit-chara.pl index 47d76cb15..90684ed39 100644 --- a/_core/lib/sw2/edit-chara.pl +++ b/_core/lib/sw2/edit-chara.pl @@ -1710,8 +1710,8 @@ sub chatPaletteFormOptional {  主動作型 :[主][主]
 補助動作型:[補][補]
 宣言型  :[宣][宣]
-  高揚の楽素:[⤴]
-  鎮静の楽素:[⤵]
+  高揚の楽素:[⤴][↑]
+  鎮静の楽素:[⤵][↓]
 魅惑の楽素:[♡]
HTML print textRuleArea( $text_rule,'「容姿・経歴・その他メモ」「履歴(自由記入)」「所持品」「収支履歴」' ); diff --git a/_core/lib/sw2/edit-item.pl b/_core/lib/sw2/edit-item.pl index 99d1bcf0e..b77c5e4fd 100644 --- a/_core/lib/sw2/edit-item.pl +++ b/_core/lib/sw2/edit-item.pl @@ -269,8 +269,8 @@ $text_rule .= <<"HTML";  アルフレイム大陸由来の流派装備:[ア]
 テラスティア大陸由来の流派装備:[テ]
-  高揚の楽素:[⤴]
-  鎮静の楽素:[⤵]
+  高揚の楽素:[⤴][↑]
+  鎮静の楽素:[⤵][↓]
 魅惑の楽素:[♡]
HTML }