MKM/PIP game updates
This commit is contained in:
@@ -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 :=
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user