Healing & aftercare ​

Fresh ink heals for a while before it counts as healed. Healing runs on real time (unix seconds on the server), so it continues while the player is offline. While a piece heals, the skin shows some redness, ointment speeds it up, and swimming can fade it.
Config ​
Config.Healing = {
enabled = true,
minutes = 120,
tickSeconds = 60,
ointment = true, ointmentItem = 'tattoo_ointment', ointmentFactor = 0.5,
swimming = true, swimFade = 0.1, minOpacity = 0.3,
effect = 'blemish',
blemish = { overlay = 11, style = 4, opacity = 0.6 },
enabledFor = { shop = true, crew = true, custom = true, prison = true, temp = false },
}
| Option | Description |
|---|---|
enabled |
false: every new piece is healed right away, no effect, no ointment, no swimming |
minutes |
Healing time in real minutes |
tickSeconds |
How often the server checks for healed pieces (minimum 5) |
ointment / ointmentItem / ointmentFactor |
The ointment item and how much of the remaining time is left after it (0.5 = half) |
swimming / swimFade / minOpacity |
Swimming while healing fades a piece by swimFade, never below minOpacity |
effect |
'blemish' shows a head overlay while something heals, 'none' turns it off |
blemish |
Overlay index (11 = body blemishes), style and opacity of the effect |
enabledFor |
Which design kinds heal at all. Temporary ink never heals by default |
How it works ​
- New pieces (purchase, cover-up,
addInk) getstate = 'healing'andhealsAt = now + minutes. A laser session restarts the healing period as well. - The tick runs every
tickSecondsfor every online player, and once on character load. Due pieces becomehealed, firenp_tattoos:healed (src, cid, ink)and toast "… has healed." - The effect: while any piece heals, the client sets the
blemishhead overlay and restores the previous value when nothing heals any more. If another resource re-applied the appearance in the meantime, its value is kept. - The ink list in the parlour shows "Heals in 1 h 12 min" and "Ointment applied".
- Leaving a parlour with fresh ink shows a reminder: "Fresh ink heals in 120 min. Ointment helps, swimming does not."
Ointment ​
Using tattoo_ointment (see Installation → Items) applies it to every healing piece that has
no ointment yet: the remaining time is multiplied by ointmentFactor. Each piece takes ointment once per healing
period. One item is consumed per use. If nothing is healing, the player gets "Nothing is healing right now." and keeps
the item.
Swimming ​
Every 2 seconds the client checks whether the player swims. If so, it reports the healing pieces that haven't been
reported yet. The server fades each of them by swimFade (not below minOpacity), once per healing period, and toasts
"Water got into N healing piece(s), the ink faded a little." Healed pieces are never affected.