Skip to content

Placing a machine ​

Placement mode puts a new machine into the world. Start it with:

  • a vending_crate item (bought from a wholesaler, delivered or picked up from an old spot): the machine itself is paid for, only the permit and the first rent are due;
  • the dashboard's Place new machine, or /vending place [model]: the machine price is due as well.

With Config.Placement.enabled = false nobody can place machines.

Placement mode

Pick a model ​

The left panel lists the models in Config.ModelOrder with price, slot count and how many crates of each you carry. Models you can't place show why (the cigarette machine needs a business_license). The header shows your machines against your limit (7 / 10 owned). If you act for a company or gang, pick the operator here.

Model picker

Place it ​

A ghost of the machine follows your aim. On the ground every nearby machine gets a ring, coloured by the rule that applies to it.

Key Action
Mouse wheel Rotate (Shift for fine steps)
G Snap to the wall
R Show or hide the rings
E Place the machine
Backspace Cancel

The right panel is the checklist, live:

Check Passes when
Your own machines Far enough from your own machines (sameOwner, 25 m)
Other operators Far enough from other operators' machines (otherOwner, 60 m)
Same type, other operator Far enough from rivals of the same family (sameTypeOther, 90 m)
City machines Far enough from unbought map machines (worldMachine, 15 m)
Shops Far enough from shop entrances (shop, 40 m)
Zone The zone allows it (staff zones: staff only; off: nobody) and isn't full
Limit You are under your machine limit
Surface Ground within 1.5 m below the ghost and no more than 0.3 m away, slope under 15°, no water, nothing (wall, prop, vehicle) in the space the machine takes, and you are not in a vehicle or in water. The reason shows in the row

A failed check names the machine in the way and the distance missing ("Move 12 m away from Rico's Snacks"), and a free spot nearby is marked. Every distance is the one that applies here: zones and models can change it (see Configuration → Spacing rules).

A failed check All checks passed
Failed OK

Below the checklist, This spot shows the foot traffic, the estimated sales per day (Config.Economy.estimate) and how many rivals stand within 150 m. The cost card adds up what is due now:

Line
Machine The model price, or nothing with a crate
Placement permit Config.Limits.permitFee ($1,200)
Spot rent One week of rent (Config.Placement.firstRentWeek): the zone's rent, or by traffic $90 / $200 / $350

The server decides ​

The client only draws. When you press E the server runs the same rule engine again, with your real position: the spot may be at most Config.Placement.maxDistance (8 m) from you. Then the money is taken (or the crate), the machine is created with an empty slot grid and you get the deed.

Another resource can veto a placement with the canPlace hook, or ask the same question with CanPlaceAt.

When the rules change ​

Staff can make a rule stricter at any time. Existing machines stay where they are. With Config.Spacing.tighten = 'flag' the staff screen lists the machines that now break a rule. A machine that is moved later (picked up and placed again) has to pass the new rules.