Skip to content

Commit

Permalink
2 more entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Leclowndu93150 committed Sep 29, 2024
1 parent dd5f977 commit bc00582
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// 1.21.1 2024-09-29T17:14:08.1277793 Languages: en_us
17675d653662e5e131d77eb054261fd9ff33115b assets/nautec/lang/en_us.json
// 1.21.1 2024-09-29T22:09:00.8296621 Languages: en_us
9d734b2c95cfd803a6d4d223eb6a2c659c25da9a assets/nautec/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2024-09-29T17:14:08.1252643 Books: nautec
// 1.21.1 2024-09-29T22:09:00.8266603 Books: nautec
6d944fd1b3f4f8d8baf18317dbdea1e50476ed05 data/nautec/modonomicon/books/nautec_guide/book.json
ea5fe754ad19a1903e7a9d19f39e3b1488e59cfe data/nautec/modonomicon/books/nautec_guide/categories/getting_started.json
41b01f32b9f23cf1eb5a33085b98bd30f0a1f943 data/nautec/modonomicon/books/nautec_guide/categories/laser_augmentation.json
Expand All @@ -23,5 +23,5 @@ d70be2eaf9729ca163499da6d7a33730cf7e07f2 data/nautec/modonomicon/books/nautec_gu
34c421cb513a6d5ac4631180a2bbd14aa09d021a data/nautec/modonomicon/books/nautec_guide/entries/laser_chemistry/drain.json
65716fa85df9020bd445a8da037a326dd41e4887 data/nautec/modonomicon/books/nautec_guide/entries/laser_chemistry/laser_manipulation.json
36b15f5de5e5af848e148b4b01fae16583900bca data/nautec/modonomicon/books/nautec_guide/entries/laser_chemistry/mixer.json
928679f259e0edf901721ea568ce3a90918098e2 data/nautec/modonomicon/books/nautec_guide/entries/laser_chemistry/prismatic_battery.json
ff17de9e527f75fdbe8a985f0254ef4e5d0a3dd4 data/nautec/modonomicon/books/nautec_guide/entries/laser_chemistry/prismatic_battery.json
d7962fa5a5a4e89ba57d4f4ec46d4f98787a6d33 data/nautec/modonomicon/books/nautec_guide/entries/laser_chemistry/tools.json
2 changes: 1 addition & 1 deletion src/generated/resources/assets/nautec/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"book.nautec.nautec_guide.laser_chemistry.name": "Laser Chemistry",
"book.nautec.nautec_guide.laser_chemistry.prismatic_battery.description": "Charger²",
"book.nautec.nautec_guide.laser_chemistry.prismatic_battery.name": "Prismatic Battery",
"book.nautec.nautec_guide.laser_chemistry.prismatic_battery.prismatic_battery.text": "Curios slot, charges inventory\n",
"book.nautec.nautec_guide.laser_chemistry.prismatic_battery.prismatic_battery.text": "The Prismatic Battery is a powerful energy storage device that can store up to 10,000 AP\n\\\nIt is mainly used to charge tools and armor in your inventory.\n\\\nShift-right-clicking with the battery in your hand will enable it.\n\\\nWhen enabled, the battery will charge any item in your inventory that can be charged.\n\\\n(Note: It has to be in it's curios slot to function)\n",
"book.nautec.nautec_guide.laser_chemistry.prismatic_battery.prismatic_battery.title": "Prismatic Battery",
"book.nautec.nautec_guide.laser_chemistry.tools.basic_tools.text": "The Aquarine Steel Tools are quite special. They use Aquatic Power to function and are unbreakable.\n\\\nBy infusing them in EAS fluid, they can be upgraded to have special abilities.\n\\\nEach tool has a unique ability that is explained in the tooltips.\n\\\nShift-right-clicking with the tool in hand will activate the ability.\n",
"book.nautec.nautec_guide.laser_chemistry.tools.basic_tools.title": "Aquarine Steel Tools",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@
"text": "book.nautec.nautec_guide.laser_chemistry.prismatic_battery.prismatic_battery.text",
"title": "book.nautec.nautec_guide.laser_chemistry.prismatic_battery.prismatic_battery.title",
"use_markdown_in_title": false
},
{
"type": "modonomicon:crafting_recipe",
"anchor": "",
"condition": {
"type": "modonomicon:none"
},
"recipe_id_1": "nautec:prismatic_battery",
"text": "",
"title1": "Prismatic Battery Recipe",
"title2": ""
}
],
"parents": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.klikli_dev.modonomicon.api.datagen.EntryBackground;
import com.klikli_dev.modonomicon.api.datagen.EntryProvider;
import com.klikli_dev.modonomicon.api.datagen.book.BookIconModel;
import com.klikli_dev.modonomicon.api.datagen.book.page.BookCraftingRecipePageModel;
import com.klikli_dev.modonomicon.api.datagen.book.page.BookTextPageModel;
import com.mojang.datafixers.util.Pair;
import com.portingdeadmods.nautec.registries.NTItems;
Expand All @@ -20,8 +21,19 @@ protected void generatePages() {
.withText(this.context().pageText()));
this.pageTitle("Prismatic Battery");
this.pageText("""
Curios slot, charges inventory
The Prismatic Battery is a powerful energy storage device that can store up to 10,000 AP
\\
It is mainly used to charge tools and armor in your inventory.
\\
Shift-right-clicking with the battery in your hand will enable it.
\\
When enabled, the battery will charge any item in your inventory that can be charged.
\\
(Note: It has to be in it's curios slot to function)
""");
this.page("batter_recipe",() -> BookCraftingRecipePageModel.create()
.withTitle1("Prismatic Battery Recipe")
.withRecipeId1("nautec:prismatic_battery"));
}

@Override
Expand Down

0 comments on commit bc00582

Please sign in to comment.