Bodywriting

Estimated reading time: less than 1 minute

Add custom bodywriting patterns via maplebirch.tool.patch.addBodywriting(). Use patch.applyBodywriting() to apply bodywriting-related logic.

Access via maplebirch.tool.patch.addBodywriting().

Example

maplebirch.tool.patch.addBodywriting("dragon_tattoo", {
  writing: "Dragon",
  writ_cn: "龙纹",
  type: "text",
  gender: "n",
  lewd: 0,
});

Config Options

OptionTypeDescription
writingstringEnglish name
writ_cnstringChinese name
typestring'text' or 'object'
genderstring'n' / 'f' / 'm' / 'h'
lewdnumber0 or 1
degreenumberIntensity level

boot.json

Object-map form, recommended for registering multiple entries:

{
  "framework": {
    "bodywriting": {
      "my_mod_rune_text": {
        "writing": "Rune",
        "writ_cn": "Rune",
        "type": "text",
        "gender": "n",
        "degree": 1
      }
    }
  }
}

External .json, .yaml, or .yml files are supported:

{
  "framework": {
    "bodywriting": "data/bodywriting.yaml"
  }
}

Array form is also supported. Each item must include key:

- key: my_mod_rune_text
  writing: Rune
  writ_cn: Rune
  type: text
  gender: n
  degree: 1