mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 02:38:12 +02:00
Added lists to mutations for better recipes (more forgiving).
This commit is contained in:
1 parent
d6fa5572ed
commit
d9bdd74b02
11 files changed
+2249
-21
No files matched your search
@@ -161,6 +161,9 @@ function UpdateAdminMassMutationFieldStates() {
|
||||
AllowImmature: [
|
||||
"AdminMassMutationAllowImmature"
|
||||
],
|
||||
Lists: [
|
||||
"AdminMassMutationLists"
|
||||
],
|
||||
Pattern: [
|
||||
"AdminMassMutationPattern"
|
||||
],
|
||||
@@ -399,6 +402,18 @@ function GetAdminMassMutationPatch() {
|
||||
).value === "true";
|
||||
}
|
||||
|
||||
if (
|
||||
AdminMassMutationFieldEnabled(
|
||||
"Lists"
|
||||
)
|
||||
) {
|
||||
Patch.Lists =
|
||||
ParseAdminMassMutationJson(
|
||||
"AdminMassMutationLists",
|
||||
"Lists JSON"
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
AdminMassMutationFieldEnabled(
|
||||
"Pattern"
|
||||
@@ -489,6 +504,12 @@ function BuildAdminMassMutationPayload(
|
||||
Source.Rotation ?? "None",
|
||||
AllowImmature:
|
||||
Source.AllowImmature === true,
|
||||
Lists:
|
||||
JSON.parse(
|
||||
JSON.stringify(
|
||||
Source.Lists ?? []
|
||||
)
|
||||
),
|
||||
Pattern:
|
||||
JSON.parse(
|
||||
JSON.stringify(
|
||||
|
||||
Reference in new issue
Block a user