Mafia King Wiki ← mafiakinggame.com
Wiki / mechanics / map-and-territory

The HQ

Status: Draft. Live in the sandbox campaign. New and subject to change. Every number on this page is TEMP: they are first guesses that are still being tuned.

Your outfit has one HQ, in its seat town. Every building you run is a room of that HQ, not a slot in each town. Towns you hold add squares: space for more rooms. Open it from BASE on the bottom bar.

How you use it

  1. Click BASE on the bottom bar. The HQ opens as a full page: the building in the middle, with everyone who is home walking in it; a rail on the left (BUILD, HIRE, PEOPLE); and AUTO ASSIGN below. Along the top, the page counts rooms, men, how many are home, and open manager spots.
  2. BUILD. Click BUILD, then click an open square, then pick a room from the list. A new room has to touch the building. The door and the jail come with the HQ; you can drag each to another cell.
  3. HIRE opens today's hire page and comes back here when it closes. A new man comes home with no job. PEOPLE lists everyone: who is home, who manages where, who is out.
  4. Click a room for its panel: move it, raise its level, or put a man on a manager spot. AUTO ASSIGN puts men with no job into open manager spots where they do best; a man you placed by hand stays put.
  5. Close the page to go back to the map. Your seat's town card is titled YOUR HQ and lists the rooms against the squares you have. Any other town says HQ SPACE and how many squares it would add. Rooms are not built from a town card.

How it works

The one building

Rule Live
One HQ In the seat town. The rooms are the same building records the game always kept, all on the seat
BASE A 3×2 hall that is always there
Door and jail Default pieces. You can drag each to another cell. The door has to face out of a wall, onto the street
Towns A town holds no buildings of its own. Each town you hold, and nobody occupies, adds its building space as squares. An occupied town adds none. Take a town and the HQ can grow
Start Every outfit starts with an Office, plus the door and the jail

Rooms you can build

Special buildings and permits are off for now. These are the rooms the sandbox lets you place:

Room Job Needs research
Hall Houses men, and is a way through. Nobody works a manager spot here —
Office Cash. Business —
Factory Respect. Muscle —
Social Club Influence. Charm Social Club
Library Research. Business Library
Dojo Experience for every man of the outfit. Cunning Dojo

A working room is run by the guards that come with it, so it pays from the day it stands. A manager (below) raises that pay. Cash, Respect, Influence and research are a day's work; the Dojo's Experience is already a turn's.

Joining, managers and cut-off rooms

Rule Live
A bigger room Rooms of one kind and one level that touch become one bigger room. Doors open by themselves between rooms that touch
Manager spots Every 3 working rooms in that bigger room open one manager spot for a man who is home (the reserve: soldiers in no squad). Halls can join, but they do not open manager spots
A manager's pay His matching skill raises the pay of every room in the bigger room: 4% a point (TEMP). A man with 5 in the skill adds 20%
Cut off A room that does not join to BASE through touching rooms pays nothing and shows red. You may move a standing room onto any empty cell to plan; a new room still has to touch the building
Room cap You may have as many rooms as the squares your towns give. "No space left: your towns give the HQ N squares. Take a town for more."

Room levels

A room has 3 levels. Each level past 1 makes a working room 25% more, and a Hall houses 50% more (4 men, then 6, then 8, before research). The next level costs every joined room its build price × the level it goes to. Rooms only join others of the same level.

BASE's look follows the outfit's tier (cosmetic): ghetto at first, normal from tier 3, fancy from tier 6. A working room wears the look of its own level. You can pick among the looks a level allows; that does not change the numbers.

The door can be raised for more guards at home. The jail is a default piece you can drag; taking and holding prisoners is paused in this campaign.

Numbers (all TEMP)

Number Value Where
BASE 3 cells wide, 2 tall hq.base_w, base_h
Squares from a town That town's building space (slot_cap); occupied towns add none hq.town_squares_share, the town's slot_cap
Manager spots 1 per 3 joined working rooms of one kind and level hq.manager_every
Manager raise 4% of the room's pay per point of the room's skill hq.manager_pct_per_stat
Bare-room pay (guards, level 1) Office $7.40 cash a day · Factory 0.493 Respect a day · Social Club 0.179 Influence a day · Library 0.0658 research a day · Dojo 5 Experience a turn hq.work (per_man + per_stat × 5)
Room levels 3; +25% pay a level past 1 hq.room_levels, level_pct
Hall housing 4 / 6 / 8 men at level 1 / 2 / 3, before research settlement_economy.neighbourhood_soldiers, hq.hall_level_pct
Seat's own room for men 10, plus the Halls settlement_economy.seat_soldiers
Build price Hall, Social Club, Library, Dojo $800 · Factory $1,000 · Office $1,200 building_slots.building_overrides (cost_cash)
Build time 55 days building_slots.building_overrides (build_days)
Upgrade price Each joined room: its build price × the level it goes to hq.level_price_mult
Door / jail Door upgrade $600 × the level it has, +2 guards a level past 1, 3 levels. Jail holds 3 / 5 / 8 at its levels; next level $500 × the level it has hq.door_price, door_guards_per_level, jail_holds, jail_price

See also

Locked vs leftover

Locked (document this) Leftover / do not claim
One HQ in the seat; every room stands there Buildings placed in each town's empty slots; BUILD from a town card
The rooms you can place: Hall, Office, Factory, Social Club, Library, Dojo Specials and permits; Gun Shop, Chop Shop, Sword Shop, Clinic, Casino, Restaurant, Union Local, Burial Spot as rooms you can place now
Rooms of one kind and one level that touch are one bigger room; every 3 working rooms open a manager spot Town managers; a council seat adding its stat to buildings
A cut-off room pays nothing and shows red A room that must always stay legal to place
The door and the jail are default pieces you can drag The council; auto build from a Bookkeeper; naming prisoners as a live system
TAKE OVER still takes unclaimed land, and adds squares to the HQ BUY OUT

Sources

data/campaigns/sandbox.json (hq_base, verb_seat, available_buildings), data/config.json (hq, building_slots.building_overrides, settlement_economy), data/buildings.json, src/systems/hq.gd, src/systems/economy.gd (build_cost_cash, available_buildings), src/systems/council.gd (off), src/ui/hq/hq_screen.gd, src/ui/main.gd (BASE on the bar), src/ui/tabs/map_tab.gd (YOUR HQ / HQ SPACE)