Tattoo
Player-owned tattoo shops. Each shop is its own job, and its artists do every tattoo by hand: the customer sits, the artist picks designs (the customer sees them on their own ped as they are picked), the customer accepts and pays, and the artist passes the GR1M_Minigames needle check for each design. Laser removal works the same way. Tattoos are saved through GR1M_Clothing, so looks stay in one place.
#Needs
ox_lib, ox_inventory, ox_target, oxmysql, qbx_core, GR1M_Clothing (active mode), GR1M_Minigames 1.3+, GR1M_Placer. Optional: GR1M_Bridge (shop income into society accounts), GR1M_UltraBoss (jobs, vault, boss menu, activity log), GR1M_Skills (Tattooing XP).
server.cfg, after those:
ensure GR1M_Tattoo
Items: add tattoo_ink, tattoo_machine and tattoo_laser from install/ox_inventory-items.lua to ox_inventory/data/items.lua, and copy install/images/* to ox_inventory/web/images/.
#Setting up a shop
/tattooadmin(acegr1m.tattoo.adminorcommand) > Shops > name + sale price > Create shop. This makes the jobtattoo_<id>with Apprentice, Artist, Manager and Owner grades (in UltraBoss when it runs, otherwise in Qbox).- Open the shop card and place its points with GR1M_Placer: up to 6 chairs, a duty point, a boss point and a For Sale sign. Point the arrow where the seated customer should face.
- Either leave it for sale (players buy it at the sign) or type a server id and Give to player.
- Vendors tab > place at least one supply counter.
- Settings tab: prices, needle difficulty, supply prices, XP, and the switch that turns off GR1M_Clothing's NPC Tattoo Parlors.
Chairs: with Settings > Chair prop empty, place the chair point on a chair that is already in the interior and set Seat height near 0. With a prop name set, the prop spawns at each chair point and the customer sits Seat height above it.
#Ranks
Rank comes from the grade level and the grade's boss flag, never the grade name, so renaming grades is safe.
| Rank | Tattoo | Laser | Prices, hidden designs, commission | Hire, vault, stash |
|---|---|---|---|---|
| Boss grades (Manager, Owner) | Yes | Yes | Yes (boss point > Shop prices) | UltraBoss boss menu |
| Artist (level 1+) | Yes | Yes | No | No |
| Apprentice (level 0) | Harder check | No | No | No |
Staff have to be clocked in at their shop's duty point (it switches their active job to the shop through UltraBoss).
#Money
Payment comes from the customer's bank, then cash, and is held until each needle check ends. A design that fails is refunded and its ink stays used. For finished designs, the artist's commission goes to their bank and the rest to the shop's society account (UltraBoss vault or GR1M_Bridge banking). Every sale, removal, refund, price change and supply purchase is logged in gr1m_tattoo_logs and in the shop's UltraBoss activity log when UltraBoss runs.
#Server rules
The client never sends a price, an amount or a finished tattoo. The server keeps each sitting (shop, chair, artist, customer, chosen designs, held money), re-checks duty, rank, items, distance and customer state on every step, and drops the sitting when either player walks off, the customer goes down or gets cuffed, or the artist clocks out. A needle result only counts for the design the server asked for, once, and only if it took about the full run length. No teleports, health or proof natives.
#Custom designs
Custom tattoos are ped decorations, not clothing. A pack resource streams the .ytd, an _overlays.xml and a shop_tattoo.meta, and lists its designs for the catalog in its fxmanifest:
gr1m_tattoo_pack 'designs.json' -- [{ "collection", "male", "female", "label", "zone", "price" }]
GR1M_Clothing adds any design it does not know yet to data/tattoos.json when the pack starts. New designs need the pack rebuilt and a restart.
GR1M