XyMinxin / Brothel-King-Chinese-Translate

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

AssertionError(stat_name + " 不是一个有效的属性/技能名称 #84

Closed a121bc closed 2 months ago

a121bc commented 2 months ago

描述你的问题

发现翻译不完全,导致出现报错,在与怪老爹和助手对话时,验证条件 charisma 与部分翻译[defense、strength、精力、魅力、美貌、身材、优雅、敏感、性欲、体格、服从、侍奉、性交、肛交和调教]的比较时,不存在导致报错

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 160, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 184, in script call
    call c3_papa_cells from _call_c3_papa_cells
  File "game/BKchapter3.rpy", line 1584, in script
    python:
  File "game/BKchapter3.rpy", line 1586, in <module>
    if girl.get_stat(stat) < val:
  File "game/BKgirlclass.rpy", line 2587, in get_stat
    raise AssertionError(stat_name + " 不是一个有效的属性/技能名称。正确的:" + and_text(["defense", "strength", "energy"] + [s.name.lower() for s in (self.stats+self.sex_stats)]))
AssertionError: charisma 不是一个有效的属性/技能名称。正确的:defense、strength、精力、魅力、美貌、身材、优雅、敏感、性欲、体格、服从、侍奉、性交、肛交和调教

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

Full traceback:
  File "game/BKmain.rpy", line 160, in script call
    $ selected_district = ui.interact()
  File "game/BKchapter3.rpy", line 184, in script call
    call c3_papa_cells from _call_c3_papa_cells
  File "game/BKchapter3.rpy", line 1584, in script
    python:
  File "G:\game\1.doing\【SLG】青楼之王 Brothel_King v0.3t【8.46G】\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "G:\game\1.doing\【SLG】青楼之王 Brothel_King v0.3t【8.46G】\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKchapter3.rpy", line 1586, in <module>
    if girl.get_stat(stat) < val:
  File "game/BKgirlclass.rpy", line 2587, in get_stat
    raise AssertionError(stat_name + " 不是一个有效的属性/技能名称。正确的:" + and_text(["defense", "strength", "energy"] + [s.name.lower() for s in (self.stats+self.sex_stats)]))
AssertionError: charisma 不是一个有效的属性/技能名称。正确的:defense、strength、精力、魅力、美貌、身材、优雅、敏感、性欲、体格、服从、侍奉、性交、肛交和调教

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.1.23060707
Brothel King 0.3t v230923
Mon Aug 12 22:23:45 2024

你的建议说明

No response

截图

traceback.txt

还有别的吗?

No response

XyMinxin commented 2 months ago

原版问题

XyMinxin commented 2 months ago

已修复,等下个版本