diff --git a/src/generated/resources/assets/occultism/lang/en_us.json b/src/generated/resources/assets/occultism/lang/en_us.json index 60efb71a3..ef0fe528e 100644 --- a/src/generated/resources/assets/occultism/lang/en_us.json +++ b/src/generated/resources/assets/occultism/lang/en_us.json @@ -338,6 +338,8 @@ "book.occultism.dictionary_of_spirits.getting_started.familiar_rituals.more.text": "To find more about Familiars, see the [Familiar Rituals](category://familiar_rituals) Category.\n", "book.occultism.dictionary_of_spirits.getting_started.familiar_rituals.more.title": "More Information", "book.occultism.dictionary_of_spirits.getting_started.familiar_rituals.name": "Familiar Rituals", + "book.occultism.dictionary_of_spirits.getting_started.first_ritual.automation.text": "Instead of right-clicking the golden sacrificial bowl with the final ingredient, you can also use a Hopper or any type of pipe to insert the item into the bowl. The ritual will start automatically.\\\nNote that any rituals that summon tamed animals or familiars will summon them untamed instead.\n", + "book.occultism.dictionary_of_spirits.getting_started.first_ritual.automation.title": "Automatic Rituals", "book.occultism.dictionary_of_spirits.getting_started.first_ritual.bowl_placement.text": "Possible locations for the sacrificial bowls.\n", "book.occultism.dictionary_of_spirits.getting_started.first_ritual.bowl_text.text": "Next, place *at least* 4 [Sacrificial Bowls](item://occultism:sacrificial_bowl) close to the pentacle.\n\\\n\\\nThey must be placed **anywhere** within 8 blocks of the central [](item://occultism:golden_sacrificial_bowl). **The exact location does not matter.**\n", "book.occultism.dictionary_of_spirits.getting_started.first_ritual.bowl_text.title": "Sacrificial Bowls", diff --git a/src/generated/resources/data/occultism/modonomicon/books/dictionary_of_spirits/entries/getting_started/first_ritual.json b/src/generated/resources/data/occultism/modonomicon/books/dictionary_of_spirits/entries/getting_started/first_ritual.json index 018ebd7b3..802733acf 100644 --- a/src/generated/resources/data/occultism/modonomicon/books/dictionary_of_spirits/entries/getting_started/first_ritual.json +++ b/src/generated/resources/data/occultism/modonomicon/books/dictionary_of_spirits/entries/getting_started/first_ritual.json @@ -98,6 +98,17 @@ "text": "book.occultism.dictionary_of_spirits.getting_started.first_ritual.start_ritual.text", "title": "book.occultism.dictionary_of_spirits.getting_started.first_ritual.start_ritual.title", "use_markdown_in_title": false + }, + { + "type": "modonomicon:text", + "anchor": "", + "condition": { + "type": "modonomicon:none" + }, + "show_title_separator": true, + "text": "book.occultism.dictionary_of_spirits.getting_started.first_ritual.automation.text", + "title": "book.occultism.dictionary_of_spirits.getting_started.first_ritual.automation.title", + "use_markdown_in_title": false } ], "parents": [ diff --git a/src/main/java/com/klikli_dev/occultism/datagen/OccultismBookProvider.java b/src/main/java/com/klikli_dev/occultism/datagen/OccultismBookProvider.java index 68ebdeb08..72dca61f7 100644 --- a/src/main/java/com/klikli_dev/occultism/datagen/OccultismBookProvider.java +++ b/src/main/java/com/klikli_dev/occultism/datagen/OccultismBookProvider.java @@ -1287,6 +1287,17 @@ Now it is time to place the ingredients you see on the next page in the (regular Now all that remains is to drop appropriate ores near the crusher and wait for it to turn it into dust. """.formatted(COLOR_PURPLE)); + this.context().page("automation"); + var automationText = BookTextPageModel.create() + .withTitle(this.context().pageTitle()) + .withText(this.context().pageText()); + this.lang.add(this.context().pageTitle(), "Automatic Rituals"); + this.lang.add(this.context().pageText(), + """ + Instead of right-clicking the golden sacrificial bowl with the final ingredient, you can also use a Hopper or any type of pipe to insert the item into the bowl. The ritual will start automatically.\\ + Note that any rituals that summon tamed animals or familiars will summon them untamed instead. + """.formatted(COLOR_PURPLE)); + return BookEntryModel.create(this.modLoc(this.context().categoryId() + "/" + this.context().entryId()), this.context().entryName()) .withDescription(this.context().entryDescription()) @@ -1300,7 +1311,8 @@ Now it is time to place the ingredients you see on the next page in the (regular ritualText, ritualRecipe, pentacleLinkHint, - startRitualText + startRitualText, + automationText ); }