Yes, the "angry gods" mechanic is literally a bug mitigation strategy. The source turns runtime errors into game difficulty. Out of bounds array access? A polymorphine pixel appears. Stack overflow? The screen fills with concentrated mana.
Nolla Games exposed a massive chunk of the game’s guts via a robust Lua API. When people say they want to "read the Noita source code," what they usually want is to understand why a certain spell crashes the game, or how to make a custom biome. That information is sitting in your Steam folder right now. noita source code
// If player draws a pentagram in the air with mouse while holding "Essence of Earth" // Unlock "The Forgotten Spell" // - This is never explained. Let them find it. Yes, the "angry gods" mechanic is literally a