v3.0 — Correct mod structure with ArchiveXL localization

Structure:
  r6/tweaks/crystal_blades/crystal_blades.yaml     ← TweakXL weapon defs
  archive/pc/mod/crystal_blades.archive.xl         ← ArchiveXL localization registration
  archive/pc/mod/crystal_blades/localization/
    en-us/translation_strings.json                 ← English
    de-de/translation_strings.json                 ← German

Changes:
- .xl file in archive/pc/mod/ (where ArchiveXL scans)
- Localization JSONs as real files (not inside .archive)
- String keys (crystal_katana_name) in YAML, not LocKey#
- primaryKey: 0 for ArchiveXL auto-assignment
- Clean 1:1 structure — just copy into game dir
This commit is contained in:
arch_agent
2026-07-21 22:25:28 +02:00
commit 0fd748d536
5 changed files with 130 additions and 0 deletions
@@ -0,0 +1,26 @@
[
{
"femaleVariant": "Kristallschneider",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_katana_name"
},
{
"femaleVariant": "Ein Katana mit monomolekularer Kristallklinge. Jeder Treffer verursacht unkontrollierbare Blutung — Rüstung ist bedeutungslos.",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_katana_desc"
},
{
"femaleVariant": "Phantom Splitter",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_knife_name"
},
{
"femaleVariant": "Ein Wurfdolch mit monomolekularer Kristallklinge. Geworfene Treffer garantieren Blutung. Wenn das Ziel bereits blutet, verursacht der Dolch innere Blutungen und heilt den Träger.",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_knife_desc"
}
]
@@ -0,0 +1,26 @@
[
{
"femaleVariant": "Crystal Cleaver",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_katana_name"
},
{
"femaleVariant": "A katana with a monomolecular crystal blade. Every strike causes uncontrollable bleeding — armor is meaningless.",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_katana_desc"
},
{
"femaleVariant": "Phantom Splitter",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_knife_name"
},
{
"femaleVariant": "A throwing knife with a monomolecular crystal edge. Thrown hits guarantee bleeding. If the target is already bleeding, the knife causes hemorrhaging and heals the wielder.",
"maleVariant": "",
"primaryKey": 0,
"secondaryKey": "crystal_knife_desc"
}
]