Skip to content

Commit 6a82e64

Browse files
Improve the media cube documentation (#843)
2 parents 871f938 + 576dfe1 commit 6a82e64

File tree

5 files changed

+43
-39
lines changed

5 files changed

+43
-39
lines changed

Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,16 +1181,12 @@
11811181
It's probably just the ramblings of extinct traditionalists, though -- a pattern's a pattern.$(br2)\
11821182
What could possibly go wrong?",
11831183
},
1184-
creative_unlocker: {
1185-
"": "The Media Cube",
1186-
desc: "I have found a source of near limitless power, The Media Cube.",
1187-
}
11881184
},
11891185
// ^ categories
11901186

11911187
entry: {
11921188
media: "Media",
1193-
media_cube: "The Media Cube",
1189+
creative_items: "Creative-Only Items",
11941190
geodes: "Geodes",
11951191
couldnt_cast: "A Frustration",
11961192
start_to_see: "WHAT DID I SEE",
@@ -1290,12 +1286,18 @@
12901286
// ^ entries
12911287

12921288
page: {
1293-
creative_unlocker: {
1294-
"1": "The $(#74b3f2)Media Cube/$ is a near-limitless source of power, acting as an infinite source of _media for whatever _Hexes I wish to cast. It also looks quite tasty. Eating it might perhaps reveal more about the world, possibly delving into spoiler territory...",
1289+
creative_items: {
1290+
"1": "I have invented some fanciful items that can only be acquired through $(italic)creative/$ means.",
1291+
creative_unlocker: "The $(#74b3f2)Media Cube/$ is a near-limitless source of power, acting as an infinite source of _media for whatever _Hexes I wish to cast. It also looks quite tasty. Eating it might perhaps reveal more about the world, possibly delving into spoiler territory...",
12951292
"2": "Additionally, it seems that by renaming a $(#74b3f2)Media Cube/$ at an Anvil, I should be able to utilize it to test and understand more about my _Hexes. If I have somehow acquired Creative power over the world, I might wish to turn that off before attempting any of the following.",
1296-
"3": "By renaming the $(#74b3f2)Media Cube/$ to 'debug media', I will be given feedback in the chat window about the amount of media consumed.",
1293+
debug_media: {
1294+
// do not localize 'debug media' in the title or description, the item must be named exactly that
1295+
// TODO: we can remove the title if hexdoc-dev/hexdoc#85 is implemented, since the title in Patchouli already defaults to the item name
1296+
title: "debug media",
1297+
desc: "By renaming the $(#74b3f2)Media Cube/$ to 'debug media', I will be given feedback in the chat window about the amount of media consumed.",
1298+
},
12971299
// NOTE: The following feature documented is broken in the current implementation. It should be uncommented and the page in patchouli should be updated when the feature is fixed.
1298-
//"4": "By renaming the $(#74b3f2)Media Cube/$ to 'debug patterns', I will be given feedback in the chat window about the order patterns are ran."
1300+
//debug_patterns: "By renaming the $(#74b3f2)Media Cube/$ to 'debug patterns', I will be given feedback in the chat window about the order patterns are ran."
12991301
},
13001302
media: {
13011303
"1": "_Media is a form of mental energy external to a mind. All living creatures generate trace amounts of _media when thinking about anything; after the thought is finished, the media is released into the environment.$(br2)The art of casting _Hexes is all about manipulating _media to do your bidding.",

Common/src/main/resources/assets/hexcasting/patchouli_books/thehexbook/en_us/categories/creative_unlocker.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

Common/src/main/resources/assets/hexcasting/patchouli_books/thehexbook/en_us/entries/creative_unlocker/media_cube.json

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "hexcasting.entry.creative_items",
3+
"icon": "hexcasting:creative_unlocker",
4+
"category": "hexcasting:items",
5+
"sortnum": 99,
6+
"advancement": "hexcasting:creative_unlocker",
7+
"secret": true,
8+
"pages": [
9+
{
10+
"type": "patchouli:text",
11+
"text": "hexcasting.page.creative_items.1"
12+
},
13+
{
14+
"type": "patchouli:spotlight",
15+
"text": "hexcasting.page.creative_items.creative_unlocker",
16+
"item": "hexcasting:creative_unlocker",
17+
"link_recipe": true
18+
},
19+
{
20+
"type": "patchouli:text",
21+
"text": "hexcasting.page.creative_items.2"
22+
},
23+
{
24+
"type": "patchouli:spotlight",
25+
"title": "hexcasting.page.creative_items.debug_media.title",
26+
"text": "hexcasting.page.creative_items.debug_media.desc",
27+
"item": "hexcasting:creative_unlocker{display:{Name:'{\\\"text\\\":\\\"debug media\\\"}'}}"
28+
}
29+
]
30+
}

doc/resources/data/hexdoc/tags/advancements/spoilered.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"hexcasting:opened_eyes",
55
"hexcasting:y_u_no_cast_angy",
66
"hexcasting:enlightenment",
7-
"hexcasting:lore/*"
7+
"hexcasting:lore/*",
8+
"hexcasting:creative_unlocker"
89
]
910
}

0 commit comments

Comments
 (0)