Configuration

Edit config.lua for the settings below, shared/catalog.lua for the tattoos and their prices, and locales/en.lua for the text players see.

Shop locations

Config.Locations holds the shops. 6 are set up by default.

FieldWhat it does
coordsThe shop
clerkWhere the artist stands and faces
style'city' or 'country', picks the artist model from Config.Ped.models
nameThe shop's name, shown in the menu
presetOptional. A look from Config.Presets for this shop only
{ coords = vec3(322.14, 180.20, 103.59), clerk = vec4(319.72, 181.42, 103.59, 245.60),
  style = 'city', name = 'Blazing Tattoo' },

Config.Counters sets where players browse, as an offset from the artist:

Config.Counters = {
    { filter = 'all', label = 'Tattoos', offset = vec3(0.0, 1.0, 0.0) },
}

Menu look

OptionDefaultWhat it does
Config.Preset'blazing'Look for every shop: 'blazing', 'blackout', 'bone' or 'midnight'
Config.Theme'blazing'Theme, only used when Config.Preset is nil
Config.Layout'left''left' or 'center', only used when Config.Preset is nil
Config.Presets4 presetsEach preset's theme and layout
Config.Brands['Blazing Tattoo'] = 'blazing'Shop name to preset, so a brand always gets its look
Config.StoreName'Blazing Tattoo'Name for a shop that does not set its own
Config.ListRows8Rows shown in the list
Config.Language'en'Which locale to use

Prices

OptionDefaultWhat it does
Config.Account'cash'Account that pays: 'cash' or 'bank'
Config.PriceScale1.0Multiplies every price in shared/catalog.lua
Config.AllowRemovaltruePlayers can remove tattoos they have
Config.RemovalFee0Cost to remove one tattoo
Config.PurchaseCooldown1Seconds between purchases
Config.Discount.enabledfalseTurn on a discount on every tattoo
Config.Discount.percent10Discount in percent

Prompt and markers

OptionDefaultWhat it does
Config.Interaction.key38Prompt key (E)
Config.Interaction.padKey190Prompt button on a controller (D-pad right)
Config.Interaction.showHelptrueHelp text at the top of the screen
Config.Interaction.keyGlyph'~INPUT_PICKUP~'Key shown in the help text
Config.Interaction.padGlyph'~INPUT_FRONTEND_RIGHT~'Button shown in the help text
Config.Interaction.drawPromptfalseDraw a 3D prompt above the counter
Config.Interaction.keyLabel'~INPUT_PICKUP~'Key shown in the 3D prompt
Config.Interaction.drawMarkertrueDraw a marker at the counter
Config.Interaction.markerssee belowMarker style
markers = {
    all = { type = 21, r = 235, g = 128, b = 32, a = 120, scale = 0.28 },
},

Controller

OptionDefaultWhat it does
Config.Controller.enabledtrueController support
Config.Controller.rumbletrueRumble on purchase
Config.Controller.deadzone0.14Stick deadzone
Config.Controller.navDelay300ms before a held direction repeats
Config.Controller.navRepeat95ms between repeats
Config.Controller.controlssee configControl IDs for menu movement, accept and cancel

Turning the character

OptionDefaultWhat it does
Config.Turntable.enabledtruePlayers can turn their character
Config.Turntable.left{ 37, 205, 194 }Controls that turn left
Config.Turntable.right{ 206, 81, 193 }Controls that turn right
Config.Turntable.speed14.0Mouse turn speed
Config.Turntable.stickSpeed55.0Degrees per second while a button is held
Config.Turntable.rightStickSpeed160.0Degrees per second at full right stick
Config.Turntable.maxStep3.0Most it turns in one movement

Undress, stand spot and instance

OptionDefaultWhat it does
Config.Strip.enabledtrueUndress the player while browsing
Config.Stand.enabledtrueMove the player to a set spot while browsing
Config.Stand.coordsvec4(323.73, 180.11, 103.59, 76.98)That spot
Config.Instance.enabledtruePut the player in a private routing bucket while browsing
Config.Instance.firstBucket600000Buckets from here up. Keep clear of other scripts' buckets
Config.Instance.clearAreatrueNo ambient peds or traffic inside the instance
Config.Instance.hideClerktrueHide the artist while browsing

Camera

OptionDefaultWhat it does
Config.Camera.enabledtrueShop camera
Config.Camera.blendIn700ms to ease in when the shop opens
Config.Camera.blendOut500ms to ease out
Config.Camera.transition0ms to move between zones (0 = cut)
Config.Camera.shift0.34Moves the camera to the side, clear of the menu
Config.Camera.zoom{ step = 0.12, min = 0.55, max = 1.9 }Zoom step and limits
Config.Camera.invertZoomfalseFlip the zoom direction
Config.Camera.shotssee configCamera height, distance, pitch, aim and turn for each zone

Artist

OptionDefaultWhat it does
Config.Ped.spawnDistance70.0How close before the artist appears
Config.Ped.groundSnapfalseSnap the artist to the ground
Config.Ped.removeDefaulttrueRemove the game's own artist peds at the shops
Config.Ped.scenario'WORLD_HUMAN_STAND_IMPATIENT'What the artist does while idle
Config.Ped.modelsu_m_y_tattoo_01 for bothModel for city and country shops

Greeting

OptionDefaultWhat it does
Config.Greeting.enabledtrueArtist greets players who walk in
Config.Greeting.triggerRange9.0How close before the greeting
Config.Greeting.cooldown90Seconds before the same shop greets again
Config.Greeting.speechtrueSpoken greeting
Config.Greeting.speechLines'GENERIC_HI', 'GENERIC_HOWS_IT_GOING'Speech lines to pick from
Config.Greeting.showSubtitlefalseShow a subtitle as well
Config.Greeting.subtitles3 linesSubtitles to pick from

Chatter

OptionDefaultWhat it does
Config.Chatter.enabledtrueArtist talks while players are in the shop
Config.Chatter.range12.0How close the player must be
Config.Chatter.gap22Minimum seconds between lines
Config.Chatter.scatter18Up to this many extra seconds
Config.Chatter.avoidRepeatstrueNever the same line twice in a row
Config.Chatter.speechtrueSpoken with the ped's own voice
Config.Chatter.speechLines6 linesSpeech lines to pick from
Config.Chatter.showTextfalseShow the line as text
Config.Chatter.duration4000ms a line stays up when showText is on
Config.Chatter.linesany listText lines. Add a list named after a brand preset to give that brand its own lines

Blip

OptionDefaultWhat it does
Config.Blip.enabledtrueShow shop blips
Config.Blip.sprite75Blip icon
Config.Blip.color1Blip color
Config.Blip.scale0.8Blip size
Config.Blip.label'Tattoo Parlor'Blip name
Config.Blip.shortRangetrueOnly shows on the minimap when nearby

Sounds

OptionDefaultWhat it does
Config.Sounds.enabledtrueMenu sounds
nav, select, back, toggle, purchase, deniedgame frontend soundsEach sound's name and set

Tattoo list

shared/catalog.lua holds every tattoo, per zone, with its price. Change a price to change what it costs. See Custom tattoos to add your own.