@@ -52,6 +52,18 @@ It will enclose the expansion of sub-queries in parentheses while expanding, in
5252
5353In order to use one query inside another, use the sub-query's name in brackets inside the outer query. See sample.json for an example.
5454
55+ Sample input:
56+
57+ {
58+ "home": "{go_to} next {corner}",
59+ "go_to": "See you",
60+ "corner": "Saturday"
61+ }
62+
63+ Sample output:
64+
65+ (See you) next (Saturday)
66+
5567## How Many Do I Need?
5668The minecraft/hmdin script is basically a counting formatter that can help you keep track of large item quantities in Minecraft.
5769By default, it will print a human-readable listing of all nonzero "units of quantity" necessary to amass the specified amount of items.
@@ -69,6 +81,9 @@ You can specify a nonstandard stack size (e.g. 16 for eggs or similar) using `--
6981
7082The actual helper/split functions are:
7183
72- hmdin(count, stack_size=64, container_size=27) # will return the tuple of <chests>, <stacks>, <items>
73- pretty_print(chests, stacks, items) # will format the list of items as human readable (without prefix), e.g. "3 chests and 14 items"
74- csv_print(chests, stacks, items, separator=",") #will format the list of all three items for CSV output, e.g. comma-separated
84+ # will return the tuple of <chests>, <stacks>, <items>
85+ hmdin(count, stack_size=64, container_size=27)
86+ # will format the list of items as human readable (without prefix), e.g. "3 chests and 14 items"
87+ pretty_print(chests, stacks, items)
88+ #will format the list of all three items for CSV output, e.g. comma-separated
89+ csv_print(chests, stacks, items, separator=",")
0 commit comments