Skip to content

Commit 74fda77

Browse files
committed
Document the ability to use Sorter's Purification on a mote (close #172)
1 parent ceac9c2 commit 74fda77

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

Common/src/main/resources/assets/hexal/lang/en_us.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@
276276
"hexal.page.motes.mote/storage/contains": "Returns true if the Mote Nexus at the given position contains a mote of the given type, or that would stack with the given mote, and false otherwise.",
277277
"hexal.page.motes.mote/make": "Convert an item in the world (either an item entity or an item frame) into a mote on your stack. If passed an existing mote instead adds the items from the entity to the mote. Mediafying an item costs a tenth of an $(l:items/amethyst)$(item)Amethyst Dust/$.",
278278
"hexal.page.motes.mote/return": "Returns all the items from a mote to the world at the location of your choosing. If passed a number returns at most that many items. Costs a tenth of an $(l:items/amethyst)$(item)Amethyst Dust/$.",
279+
"hexal.page.motes.mote/item/get": "Accepts a mote and returns an $(l:casting/item_iotas)$(thing)Item Stack/$ representing the items in the record referenced by that mote.",
279280
"hexal.page.motes.mote/count/get": "Accepts a mote and returns the number of items in the record referenced by that mote.",
280281
"hexal.page.motes.mote/combine": "Combines two motes into one, merging the mote records they point to. Any pointers to the second mote will become null, any pointers to the first will remain. This can make motes holding many more items than I could carry in a stack naturally!",
281282
"hexal.page.motes.mote/combinable": "Returns true if the first mote can be combined with the items in the second argument (which can be a mote, item stack, item entity, or item frame), and false otherwise.",

Common/src/main/resources/assets/hexcasting/patchouli_books/thehexbook/en_us/entries/patterns/spells/motes.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@
8888
"output": "",
8989
"text": "hexal.page.motes.mote/return"
9090
},
91+
{
92+
"type": "hexcasting:pattern",
93+
"op_id": "moreiotas:type/to_item",
94+
"anchor": "moreiotas:type/to_item",
95+
"input": "mote",
96+
"output": "item stack",
97+
"text": "hexal.page.motes.mote/item/get"
98+
},
9199
{
92100
"type": "hexcasting:pattern",
93101
"header": "hexcasting.action.hexal:mote/count/get",
@@ -203,4 +211,4 @@
203211
"text": "hexal.page.motes.mote/use_on"
204212
}
205213
]
206-
}
214+
}

doc/hexdoc.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ resource_dirs = [ # top takes priority
1212
{ path="{^_fabric.src}/generated/resources", required=false },
1313
"{_forge.src}/main/resources",
1414
{ path="{^_forge.src}/generated/resources", required=false },
15+
{ modid="moreiotas" },
1516
{ modid="hexcasting" },
1617
{ modid="minecraft" },
1718
{ modid="hexdoc" },

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ key = "modVersion"
3333

3434
[tool.hatch.metadata.hooks.gradle-properties]
3535
dependencies = [
36-
{ package="hexdoc-hexcasting", op="~=", py-version="1.0.dev20", key="hexcastingVersion" },
36+
{ package="hexdoc-hexcasting", op="~=", py-version="1.0", key="hexcastingVersion" },
37+
{ package="hexdoc-moreiotas", op="~=", py-version="1.0.dev", key="moreIotasVersion" },
3738
]
3839

3940
[tool.hatch.metadata.hooks.gradle-properties.optional-dependencies]

0 commit comments

Comments
 (0)