mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-06 12:48:22 +02:00
track with warnings will be shown as "/" in multiplayers menu
This commit is contained in:
parent
4604aae270
commit
13c7e1d165
5 changed files with 29 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"mode": "match",
|
"mode": "match",
|
||||||
"match_regex": "[!R]*_*.szs"
|
"match_regex": "[!R]*[!i]_*.szs"
|
||||||
}
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"mode": "match",
|
||||||
|
"match_regex": "MenuMulti_*.szs"
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"mode": "edit",
|
||||||
|
"operation": {
|
||||||
|
"bmg-decode": {},
|
||||||
|
"bmgtxt-edit": {
|
||||||
|
"layers": [
|
||||||
|
{
|
||||||
|
"mode": "ctfile",
|
||||||
|
"template": "{{ '\\c{red3}/\\c{off}' if getattr(track, 'warning', 0) != 0 else '' }}{{ ('\\c{YOR2}\\x'+hex(65296+getattr(track, 'score'))[2:]+'\\c{off} ') if hasattr(track, 'score') and getattr(track, 'warning', 0) == 0 else '' }}{{ (prefix+' ') if prefix and getattr(track, 'warning', 0) == 0 else '' }}{{ getattr(track, 'name', '') if getattr(track, 'warning', 0) == 0 else '' }}{{ (' ('+suffix +')') if suffix and getattr(track, 'warning', 0) == 0 else '' }}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mode": "format-original-track",
|
||||||
|
"template": "{{ (prefix+' ') if prefix else '' }}{{ getattr(track, 'name', '') }}{{ (' ('+suffix +')') if suffix else '' }}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mode": "patch",
|
||||||
|
"patchs": ["LE-FORCE-COPY"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"bmg-encode": {}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"mode": "match",
|
"mode": "match",
|
||||||
"match_regex": "R*_*.szs"
|
"match_regex": "Race_*.szs"
|
||||||
}
|
}
|
Loading…
Reference in a new issue