Skip to content

Commit 580a867

Browse files
committed
Rename media cube entry to creative items and add spotlights
1 parent 222113b commit 580a867

File tree

3 files changed

+41
-27
lines changed

3 files changed

+41
-27
lines changed

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

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@
11331133

11341134
entry: {
11351135
media: "Media",
1136-
creative_unlocker: "The Media Cube",
1136+
creative_items: "Creative-Only Items",
11371137
geodes: "Geodes",
11381138
couldnt_cast: "A Frustration",
11391139
start_to_see: "WHAT DID I SEE",
@@ -1232,12 +1232,18 @@
12321232
// ^ entries
12331233

12341234
page: {
1235-
creative_unlocker: {
1236-
"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...",
1235+
creative_items: {
1236+
"1": "I have invented some fanciful items that can only be acquired through $(italic)creative/$ means.",
1237+
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...",
12371238
"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.",
1238-
"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.",
1239+
debug_media: {
1240+
// do not localize 'debug media' in the title or description, the item must be named exactly that
1241+
// TODO: we can remove the title if hexdoc-dev/hexdoc#85 is implemented, since the title in Patchouli already defaults to the item name
1242+
title: "debug media",
1243+
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.",
1244+
},
12391245
// 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.
1240-
//"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."
1246+
//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."
12411247
},
12421248
media: {
12431249
"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.",
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+
}

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

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

0 commit comments

Comments
 (0)