2023/12/29追記
参考URL
实现已读文本变色、滚轮打开历史记录效果 - 经验教程 - RenPy中文空间
その他の関数と変数 — Ren'Py Documentation
renpy.is_seen()の()内にever=Trueを入れると、
レイヤーによって一度でも読まれているかどうかを確認してくれるようなので
入れたほうがよさそうです(入れない場合は今回のプレイで既読のみ)
既に読んでいる箇所のテキスト色を変えます。
screen say(who, what): style_prefix "say" ~~中略~~ if renpy.is_seen(ever=True): text what id "what" color "#FFFFFFCC" else: text what id "what" color "#FFFFFF"
設定でオンオフつけたいときはこう。
say screen
screen say(who, what): style_prefix "say" ~~中略~~ if persistent.say_seen == True and renpy.is_seen(ever=True): text what id "what" color "#FFFFFFCC" else: text what id "what" color "#FFFFFF"
preference
textbutton _("既読文字色変更オフ") action ToggleVariable("persistent.say_seen", true_value=False, false_value=True)