XyMinxin / Brothel-King-Chinese-Translate

Brothel King 中文翻译
19 stars 6 forks source link

发生异常:结束第一天的时候发生报错 #19

Closed Yeah-Kun closed 1 year ago

Yeah-Kun commented 1 year ago

在提问之前...

描述你的问题

[code] I'm sorry, but an uncaught exception occurred.

While running game code: File "game/BKendday.rpy", line 70, in script call call new_moon() from _call_new_moon File "game/tl/chinese/BKevents.rpy", line 19, in script "新月" "{i}[calendar.moon.name!t]过了。{/i} [calendar.moon.description!t]" File "renpy/common/00library.rpy", line 268, in say who(what, interact=interact, *args, **kwargs) AttributeError: 'Moon' object has no attribute 'name!t'

-- Full Traceback ------------------------------------------------------------

Full traceback: File "game/BKendday.rpy", line 70, in script call call new_moon() from _call_new_moon File "game/tl/chinese/BKevents.rpy", line 19, in script "新月" "{i}[calendar.moon.name!t]过了。{/i} [calendar.moon.description!t]" File "renpy/ast.py", line 721, in execute renpy.exports.say(who, what, *args, kwargs) File "renpy/exports.py", line 1417, in say renpy.store.say(who, what, *args, *kwargs) File "renpy/common/00library.rpy", line 268, in say who(what, interact=interact, args, kwargs) File "renpy/character.py", line 1236, in call what = self.prefix_suffix("what", self.what_prefix, what, self.what_suffix) File "renpy/character.py", line 1155, in prefix_suffix return (sub(prefix) + sub(body) + sub(suffix)) File "renpy/character.py", line 1135, in sub return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0] File "renpy/substitutions.py", line 270, in substitute s = formatter.vformat(s, (), kwargs) File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 563, in vformat File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 585, in _vformat File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 652, in get_field AttributeError: 'Moon' object has no attribute 'name!t'

Windows-10-10.0.19041 Ren'Py 7.4.11.2266 Brothel King 0.2 v220711 / CN v230330 Sat May 27 22:30:47 2023 [/code]

如何复现

第一天的时候,按下“结束一天”

预期行为

No response

相关 Logs

No response

截图

image

还有别的吗?

No response