DogMammoth
Member
- May 24, 2018
- 103
- 192
- 157
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 thatGot this after winning against Sarina ( happening often). Seems its for her to drop " Iron ", but on the page is " Iron Recipe ".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
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.