MKM/PIP game updates

This commit is contained in:
cajun
2024-03-01 16:59:23 -06:00
parent 429b775e03
commit 8b1850ef57
15 changed files with 1448 additions and 933 deletions

View File

@@ -1290,9 +1290,13 @@ reverse_list :=
# Keyword functions.
cost_parameter_script :=
{
input := replace(input, match: "</?sym>", replace: "")
if contains(input, match: ",") or contains(input, match: "") then replace(input, match: "^([^,]+)(|,)", replace: "<sym>\\1</sym>\\2")
else ("<sym>" + input + "</sym>")
input := remove_tag(input, tag:"<sym-auto>")
replace(input, match:"\\b([HSVECTQXYZI0-9WUBRG/|]+)\\b(|,|<|$)", replace:"<sym-auto>\\1</sym-auto>\\2")
}
cost_parameter_script_nonspace :=
{
input := remove_tag(input, tag:"<sym-auto>")
replace(input, match:"(?<!<)([HSVECTQXYZI0-9WUBRG/|]+)", replace:"<sym-auto>\\1</sym-auto>")
}
cost_parameter_dash :=
{