Skip to main content
A workshop is a door somewhere in the world that leads into its own copy of the forgery room (the biker fake ID interior from bob74_ipl). It belongs to one job or to nobody.
No workshop is configured out of the box. The whole forgery side stays invisible until you add one in config/forgery.lua or in game with /documents config.

Add a workshop

In Config.Forgery.workshops (config/forgery.lua):
It’s easier in game: on the workshop page of /documents config press Place, walk to the door and click. Admins also add and remove workshops there while the server runs, and give a workshop to a job or take it away.

Buying and owning

  • Buying: a workshop without an owner shows “Workshop for sale” at its door. The boss of a job buys it for the job with black money (Config.Forgery.payAccount).
  • Several per job: a job can own as many as it can pay, or as many as ownership.perJob allows.
  • Who is the boss: the highest rank of the owning job, and as many ranks below it as ownership.bossDepth says. The boss buys, sells, hires and upgrades.
  • Members of the owning job enter from the workshop’s minGrade. Others ring the bell, and a member inside can let them in.
  • Selling: the boss sells it at the workshop laptop (Upgrades page) and gets ownership.refund of what was paid back (nothing for a workshop an admin gave). ownership.sellable = false turns that off.

What stays when a workshop loses its owner

Black money: on ESX the black_money account, on QBCore the markedbills item (its value in metadata.worth), on Qbox the stackable black_money item.

Upgrades

The boss buys upgrades at the laptop, with black money. Prices are in Config.Forgery.upgrades, or in game.

The boss laptop

The laptop on the boss desk shows its page on the real screen in the room, with tabs:
  • Overview: workers, devices and desks
  • Staff: hire and fire workers and the guard, pay wages, choose what the workers destroy during a raid
  • Tickets: the order queue
  • Material: order material, delivered to the raw material storage after a delay
  • Upgrades: buy upgrades, sell the workshop

Storages

Every workshop has three storages that open at their shelves: Sizes are in Config.Forging.stores. Workers put the documents of one order into an ID stack (id_stack), a container that holds them in one slot. Dragging one document onto another makes a stack too. qb-inventory has no containers, so there the documents arrive one by one.
Every target reaches 2 metres (Config.TargetDistance), and the server takes actions only from a member standing at the station. Guests and officers inside see none of the stations.