This is the entirety of the Lua, all thirteen lines of it:
Hooks:Add( "LocalizationManagerPostInit", "LocalizationManagerPostInitInnocentCasualtiesDividesByZero", function(loc)
loc:add_localized_strings({
hud_civilian_killed_title = "Dividing by zero!",
hud_civilian_killed_message = "This message will self-destruct in 4 seconds",
})
end )
Hooks:PostHook( HUDPresenter, "_present_information", "icdbz__present_information", function(self, params)if (params.title or""):match(managers.localization:text("hud_civilian_killed_title")) then
DelayedCalls:Add("icdbz__present_information", 4, function()assert((9 + 10) == 21, "you installed a mod to make this crash happen, no surprises")
end)
endend )