DogMammoth

Member
May 24, 2018
102
190
157
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Enemies/Sarina.rpy", line 13, in script call
    call loot (enemy=sarina) from _call_loot_908
  File "game/Enemies/Sarina.rpy", line 13, in script call
    call loot (enemy=sarina) from _call_loot_908
  File "game/Main/loot.rpy", line 96, in script
    if (enemy[8]) == "Syringe":
  File "game/Main/loot.rpy", line 100, in <module>
    elif (equipments[enemy[8]][2]) == "Weapon" and (enemy[8]) not in wrecipes:
KeyError: 'Iron'

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

Full traceback:
  File "game/Enemies/Sarina.rpy", line 13, in script call
    call loot (enemy=sarina) from _call_loot_908
  File "game/Enemies/Sarina.rpy", line 13, in script call
    call loot (enemy=sarina) from _call_loot_908
  File "game/Main/loot.rpy", line 96, in script
    if (enemy[8]) == "Syringe":
  File "C:\Users\User\Downloads\Egames\HeroCorruption 2\renpy\ast.py", line 1849, in execute
    if renpy.python.py_eval(condition):
  File "C:\Users\User\Downloads\Egames\HeroCorruption 2\renpy\python.py", line 1209, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "C:\Users\User\Downloads\Egames\HeroCorruption 2\renpy\python.py", line 1202, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/Main/loot.rpy", line 100, in <module>
    elif (equipments[enemy[8]][2]) == "Weapon" and (enemy[8]) not in wrecipes:
KeyError: 'Iron'

Windows-10-10.0.19041 AMD64
Ren'Py 8.3.4.24120703
  1.95
Sat Jan 17 08:24:33 2026
Got this after winning against Sarina ( happening often). Seems its for her to drop " Iron ", but on the page is " Iron Recipe ".
Yeah, enemies have specific slots for recipes and items for some reason. No idea why that matters, kinda dumb. I went and moved it to the right spot. Thanks for catching that :) I'm traveling a bit rn so I don't have time to test much.

I can't update the mega rn, but I'll send the updated script.rpy and update the Gdrive. All that is needed is that script.rpy and to overwrite the old one.
 

DogMammoth

Member
May 24, 2018
102
190
157
Anyway to change difficulties? currently on hard mode but wanna go back to normal without having re-grind fame
idk what file to manipulate
vanilla btw
Use the console, just enter "persistent.Difficulty = 1" (without quotes). 0 is easy, 1 is normal, and 2 is hard. You'll need to start a new run to see it take effect in most cases. Search the forum posts for specific instructions to access dev mode and the console if you don't have it enabled already.

Off the top of my head, I know you need to find a 00library file and find where it sets dev mode and console to true or false, just delete the if-statements that do that and set both to true instead.
 
3.50 star(s) 35 Votes