|
27 | 27 | empty_dict: "Creates an empty Dictionary iota.", |
28 | 28 | abs: "Pushes the number of entries in the Dictionary", |
29 | 29 | replace: "Places the iota in the Dictionary at the specified key. Not every \ |
30 | | - iota type is allowed to be used as a key, with notable exceptions being \ |
31 | | - $(l:patterns/entities)$(thing)Entities/$, $(l:patterns/lists)$(thing)Lists/$, \ |
32 | | - $(l:casting/influences)$(thing)Garbage/$, and $(l:patterns/consts#hexcasting:\ |
33 | | - const/null)$(thing)Null/$ iota. Attempting to set the value of a key to \ |
| 30 | + iota type is allowed to be used as a key, with notable the exceptions being \ |
| 31 | + $(l:casting/influences)$(thing)Garbage/$ and $(l:patterns/meta#hexcasting:\ |
| 32 | + eval/cc)$(thing)Jump/$ iota. Attempting to set the value of a key to \ |
34 | 33 | $(l:patterns/consts#hexcasting:const/null)$(thing)Null/$ will remove the \ |
35 | 34 | key the same way using $(l:patterns/dict#hexcasting:remove_from)$(action)\ |
36 | 35 | Excisor's Distillation/$ would.", |
|
40 | 39 | index_of: "Pushes the value present at the provided key, or $(l:patterns/consts\ |
41 | 40 | #hexcasting:const/null)$(thing)Null/$ if no value was present.", |
42 | 41 | dict_keys: "Pushes a list of the keys present in the Dictionary.", |
43 | | - dict_vals: "Pushes a list of the values present in the Dictionary." |
| 42 | + dict_vals: "Pushes a list of the values present in the Dictionary.", |
| 43 | + dict_ents: "Pushes a list of the key-value pairs in this Dictionary, each being \ |
| 44 | + a 2 element list." |
| 45 | + }, |
| 46 | + uiua: { |
| 47 | + "": "Advanced List Operators", |
| 48 | + uiua_take: "Keeps elements of the list based on the second argument. If it's a \ |
| 49 | + number and positive, it keeps the first $(o)n/$ elements of the list, if \ |
| 50 | + negative; the last $(o)n/$. If given a list, then its elements are treated as \ |
| 51 | + indices to keep.", |
| 52 | + uiua_drop: "The exact inverse of $(l:patterns/uiua#hexthings:uiua_take)$(action)\ |
| 53 | + Retention Distillation/$, dropping the specified elements instead of dropping the \ |
| 54 | + rest.", |
| 55 | + uiua_rotate: "Shifts the contents of the list by the specified amount, wrapping elements \ |
| 56 | + that go \"outside\" the list.", |
| 57 | + uiua_where: "Pushes a list containing the indices of values that are \ |
| 58 | + $(l:patterns/logic#hexcasting:bool_coerce)considered true by Nature/$.", |
| 59 | + div: "Pushes a list containing pairs of values corresponding to the values at that \ |
| 60 | + index in each list.", |
| 61 | + mul: "Pushes a list containing every combination of elements between the two lists." |
44 | 62 | } |
45 | 63 | }, |
46 | 64 | info: { |
|
68 | 86 | "header": "Patience Patterns", |
69 | 87 | "text": "Some examples of Patience patterns that can be used." |
70 | 88 | } |
71 | | - }, |
72 | | - tooltip: { |
73 | | - dict: "Dict" |
74 | 89 | } |
75 | 90 | }, |
76 | 91 |
|
|
84 | 99 | isgreatersent: "Shard Reflection", |
85 | 100 | empty_dict: "Impasse Reflection", |
86 | 101 | dict_keys: "Accessor's Purification", |
87 | | - dict_vals: "Accessed's Purification" |
| 102 | + dict_vals: "Accessed's Purification", |
| 103 | + dict_ents: "Entry Purification", |
| 104 | + uiua_take: "Retention Distillation", |
| 105 | + uiua_drop: "Rejection Distillation", |
| 106 | + uiua_rotate: "Ferris Distillation", |
| 107 | + uiua_where: "Deduction Purification" |
88 | 108 | }, |
89 | 109 |
|
90 | 110 | // use this to add shortened versions of pattern names if the full name won't fit in the ingame book |
|
101 | 121 | }, |
102 | 122 | mishap: { |
103 | 123 | "invalid_unquote": "Did not first cast Introjection.", |
104 | | - "invalid_key_type": "Iota of type %s is not allowed as a key." |
| 124 | + "invalid_key_type": "An iota of type %s is not allowed as a key.", |
| 125 | + invalid_value: { |
| 126 | + class: { |
| 127 | + int_list: "a list of numbers" |
| 128 | + } |
| 129 | + } |
105 | 130 | } |
106 | 131 | }, |
107 | 132 |
|
|
0 commit comments