Request: Mod to deduct cleaner costs for killing cop hostages?

As the title says, I would like to request a mod that deducts cleaner costs from the player upon killing a cop hostage. This should, if possible, be reduced with Sixth Sense Aced(?)
Thanks in advance.
Feature RequestFun
...Yeah, could probably do this.
That would make for two times I owe you... Good luck! x3c
You don't owe me anything besides maybe an unban for your Payday servers.
Any preferences for the mod? Higher/lower cleaner cost? Stealth only? Exclusion to gangsters?
@insomnia I believe you were already unbanned a while ago after we chatted and cleared things up, so that's already said and done
As for preferences, I would say either the same cost as or slightly more than killing a civvie, not stealth or loud dependent, and...
I don't think gangsters can be taken hostage anyway, so that shouldn't matter, but in a case where they somehow could, don't deduct anything lol
Okay, here you go.
The cleaner cost will not apply unless the enemy counts as a hostage and has their hands tied. If the enemy has their hands up or their weapon dropped, nothing will happen upon killing them.
I added a 1.5x cleaner cost multiplier for killing a police hostage. If you want to change it, you can do so in line 2 of moneymanager.lua.
Certain mods allow gangsters to surrender and become converts even. Killing a surrendered gangster won't activate the cleaner cost.
Killing a police hostage won't increase the time spent in custody.
I was not able to test if this works in multiplayer or not.
@insomnia Seems good... 1.5 was the exact multiplier I was thinking of ironically. Nice work. I guess I'll see whether this works when somepony next plays the game with me. Thanks for now. :) b
Oh! Wait! I messed up. I noticed too soon that the cleaner cost only applies on bullet damage and not melee damage. Let me fix it...
@insomnia All good, take your time
Okay, I fixed the download link. Should contain the updated mod. Cleaner costs should apply for melee, explosion and damage over time now.
@insomnia Gotcha. Nice catch
Thank you. Enjoy the mod. Feel free to upload it if you want to. If not, I'll probably upload it myself eventually since I'm pretty proud of this one.
@insomnia You're welcome, I certainly will. You may upload this yourself. And I'd be proud of myself too if I were you, that was quick