mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48: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
@@ -177,6 +177,17 @@ $PageSection = "Admin";
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="AdminMassField AdminEditorWideField">
|
||||
<label class="AdminEditorCheckField AdminMassApplyField">
|
||||
<input type="checkbox" data-admin-mass-apply="Lists">
|
||||
<span>Apply</span>
|
||||
</label>
|
||||
<label class="AdminEditorField">
|
||||
<span>Lists JSON</span>
|
||||
<textarea id="AdminMassMutationLists" rows="7" spellcheck="false">[]</textarea>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="AdminMassField AdminEditorWideField">
|
||||
<label class="AdminEditorCheckField AdminMassApplyField">
|
||||
<input type="checkbox" data-admin-mass-apply="Pattern">
|
||||
|
||||
@@ -281,6 +281,29 @@ $PageSection = "Admin";
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="AdminMutationListsPanel">
|
||||
<div class="AdminMutationListsHeader">
|
||||
<div>
|
||||
<h3>Lists</h3>
|
||||
<p>
|
||||
Lists are numbered by their position. Every reference to the same list uses that list's Once or Any mode.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<button
|
||||
id="AdminMutationAddListButton"
|
||||
class="ActionButton AdminInlineButton"
|
||||
type="button"
|
||||
>
|
||||
Add list
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<ol id="AdminMutationLists" class="AdminMutationLists"></ol>
|
||||
|
||||
<datalist id="AdminMutationTagOptions"></datalist>
|
||||
</div>
|
||||
|
||||
<div class="AdminMutationRecipeFlow">
|
||||
<div class="AdminMutationGridPanel">
|
||||
<h3>Arrange</h3>
|
||||
@@ -323,6 +346,7 @@ $PageSection = "Admin";
|
||||
<option value="Empty">Empty</option>
|
||||
<option value="Plant">Exact plant</option>
|
||||
<option value="Matcher">Tag matcher</option>
|
||||
<option value="List">List</option>
|
||||
</select>
|
||||
</label>
|
||||
|
||||
@@ -335,6 +359,15 @@ $PageSection = "Admin";
|
||||
<select id="AdminMutationPatternPlant"></select>
|
||||
</label>
|
||||
|
||||
<label
|
||||
id="AdminMutationPatternListRow"
|
||||
class="AdminEditorField"
|
||||
hidden
|
||||
>
|
||||
<span>List</span>
|
||||
<select id="AdminMutationPatternList"></select>
|
||||
</label>
|
||||
|
||||
<div
|
||||
id="AdminMutationMatcherRows"
|
||||
class="AdminMatcherFields"
|
||||
@@ -392,6 +425,7 @@ $PageSection = "Admin";
|
||||
<option value="Empty">Empty</option>
|
||||
<option value="Plant">Plant</option>
|
||||
<option value="Capture">Captured plant</option>
|
||||
<option value="List">List</option>
|
||||
</select>
|
||||
</label>
|
||||
|
||||
@@ -404,6 +438,15 @@ $PageSection = "Admin";
|
||||
<select id="AdminMutationResultPlant"></select>
|
||||
</label>
|
||||
|
||||
<label
|
||||
id="AdminMutationResultListRow"
|
||||
class="AdminEditorField"
|
||||
hidden
|
||||
>
|
||||
<span>List</span>
|
||||
<select id="AdminMutationResultList"></select>
|
||||
</label>
|
||||
|
||||
<label
|
||||
id="AdminMutationResultCaptureRow"
|
||||
class="AdminEditorField"
|
||||
|
||||
@@ -132,6 +132,15 @@ $PageSection = "Guide";
|
||||
that same area can try mutating again.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Some recipes use numbered lists instead of one exact
|
||||
plant in a slot. A <strong>Once</strong> list can use
|
||||
each of its entries at most once across the whole
|
||||
recipe, while an <strong>Any</strong> list can reuse a
|
||||
matching entry. This lets a recipe care about a set of
|
||||
plants without caring which order they are arranged in.
|
||||
</p>
|
||||
|
||||
<div class="GuideTip">
|
||||
<strong>
|
||||
Since you were good and actually read this...
|
||||
|
||||
Reference in new issue
Block a user