Sizzlin’s Justice HQ

If you liked this item, please rate it up on Steam Workshop page.

Author: T-Bag

Last revision: 30 Jun at 13:20 UTC

File size: 7.94 MB

On Steam Workshop

Description:

⚠️ REQUIRES DFHACK TO FUNCTION ⚠️

A powerful DFHack overlay to help you master the Justice mechanic. Sizzlin’s Justice HQ alerts you about villains entering your fort, loops interrogations until they concede, maps villain networks, and allows you to pardon or execute convicts directly by the hands of your Captain of the Guard/Sheriff.

Press J to open Vanilla Justice, then press J again to open CI-HQ, or click the button that resides in Vanilla Justice Tab and it will open up CI-HQ

Key Features
  • Intelligence Dashboard: Maps villain networks, active plots, and contacts currently operating in your fort.
  • Relentless Interrogation: Automatically loops interrogation orders until the suspect finally breaks and concedes.
  • Direct Justice: Bypass the vanilla queues to pardon convicts or order executions directly.
  • Ghost Case Fix: Seamless background fix for the vanilla bug where closed cases revert to "Open" when a convict leaves the map. Justice HQ intelligently recognizes these ghost cases using their eternal historical figure ID and automatically closes them for you!

New Suspect Controls
  • Detain [d]: Instantly detain your suspects. (Requires a dungeon zone with a chain/rope restraint. May be buggy, use with caution)
  • Release [u]: Release a detained suspect. (Requires the suspect in the case files to be restrained by a chain)

New filter: All Citizens (Ctrl+F, cycle to white)
    When a player cycles the Suspects filter to "All Citizens," it will now show every single living citizen, visitor, and resident in the fortress—including children, babies, and anyone with a completely clean record.

Optional Modules (Toggled via gui/control-panel)

These features are optional and can be toggled on or off at any time by opening gui/control-panel and navigating to the Overlays tab.

  • Realistic Arrests: Thieves will no longer trigger instantaneous, omniscient fort-wide alarms! A theft will only trigger the Emergency Detainment popup if a military dwarf physically has Line-of-Sight to the thief when the crime occurs (incorporating 3D z-level checks and pathfinding verification).
  • No-Armok Mode (Fog of War): Hides all villain plot networks and contacts by default. You will only be able to view a villain’s network after your Captain of the Guard successfully extracts a confession from them via interrogation.
  • Vibrant Notifications Overlay: Bypasses the vanilla notification bar entirely and renders all CI-HQ notifications at the top of the screen in full, vibrant color with an age-based fade effect.

Installation & Compatibility

✅ 100% Save Game Compatible!
This mod is a pure DFHack script and does not modify any game raws. You do NOT need to create a new world to use it! Simply subscribe, load your existing fortress, and it will work immediately. It can also be safely uninstalled at any time without breaking your save.


Update v1.3.6, June 30th, bug fixes

It is a good idea to go to gui/control-panel, go to ui overlays, and search up "justice", you can learn and disable some justice-hq features there.


Links & Credits

Join the discussion on the Kitfox Games Discord:
mod-releases / sizzlins justice hq[discord.com]

Thumbnail art: dwarf_justice.png by MK01 on DeviantArt.


Did you know

as of june 28th, gui/justice-hq.lua size is 258 KB with 6110 lines of code

and that the biggest vanilla dfhack script is gui/advfort with 65.9 KB in size and 1845 lines of code

justice-hq.lua has
full featured application with background daemons
5+ overlay widgets, persistent save data, background tick loops
full gui.ZScreen with tabs, lists, hotkeys, dialogs, confirmation modals
read and write (modifies unit jobs, creates orders, manipulates crime data)
Saves/loads via dfhack.persistent.saveSiteData across sessions
Interrogation monitor daemon, crime polling loop, execution watchlist


Question

Q1: i like the functions of this tool but is there a way to make it less intrusive? it seems that it will automatically notify you of any suspected criminal suspects or activity as soon as it appears on the map, even if you don’t witness anything or even have a captain of the guard. basically, it feels like cheating

A: Yes, gui/control-panel, click ui overlay tab, search for justice-hq, then enable the one with the name noarmok, if it still feels like cheating, i can adjust it, tell me how you want it

Q2: is it possible to make a setting that allows you to turn off the notifications that pop up the instant a criminal enters the site, for instance?
or make it so the ui only shows plots that you’ve actually uncovered instead of telling you everything?

A: Already solved by the villain_entry_alerts toggle in gui/control-panel > UI overlays and search for justice-hq. It’s separate from no_armok, so you can disable just the entry popups without losing anything else.


Links

Also check out my other mods:
Sizzlin’s Announcement Settings
Sizzlin’s Dwarven Spotify
Fallout New Vegas Radio Music Pack
Sizzlin’s Mandate Fulfill