Skip to content

Commit

Permalink
add spell book author
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Dec 16, 2023
1 parent ee85072 commit 93f6661
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class SpellBooks {
* value used in recipe outputs to create a spell book
*/
public static final String RECIPE_IDENTIFIER = Arcanus.id("spell_book").toString();
private static final int MAX_AUTHORS = 21;
private static final int MAX_AUTHORS = 22;

public static ItemStack getSpellBook(ItemStack stack, Spell spell, RandomSource random) {
return getSpellBookWithAuthor(stack, spell, getAuthorKey(random.nextInt(MAX_AUTHORS)));
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/arcanus/lang/en_gb.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"book.arcanus.18.author": "MoriyaShiine the King",
"book.arcanus.19.author": "Aelpecyem the Heretic",
"book.arcanus.20.author": "_toErIpNid_ the Coward",
"book.arcanus.21.author": "Csillag_Omega the Scribe",
"book.arcanus.casting_pattern": "\n\n-------------------\n\n Casting Pattern:\n",
"book.arcanus.lunge.description": "This spell will launch you forward with enough force to hurt anything you collide with.",
"book.arcanus.dream_warp.description": "Utilising planar travel, you can \"teleport\" home to escape even the most awkward of dinner parties.",
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/arcanus/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"book.arcanus.18.author": "MoriyaShiine the King",
"book.arcanus.19.author": "Aelpecyem the Heretic",
"book.arcanus.20.author": "_toErIpNid_ the Coward",
"book.arcanus.21.author": "Csillag_Omega the Scribe",
"book.arcanus.casting_pattern": "\n\n-------------------\n\n Casting Pattern:\n",
"book.arcanus.lunge.description": "This spell will launch you forward with enough force to hurt anything you collide with.",
"book.arcanus.dream_warp.description": "Utilizing planar travel, you can \"teleport\" home to escape even the most awkward of dinner parties.",
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/arcanus/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"book.arcanus.18.author": "MoriyaShiine the King",
"book.arcanus.19.author": "Aelpecyem the Heretic",
"book.arcanus.20.author": "_toErIpNid_ the Coward",
"book.arcanus.21.author": "Csillag_Omega the Scribe",
"book.arcanus.casting_pattern": "\n\n-------------------\n\n 铸造模式:\n",
"book.arcanus.lunge.description": "这个法术将把你向前发射,其力量足以伤害你所碰撞的任何东西。",
"book.arcanus.dream_warp.description": "利用平面旅行,你可以\"传送\"回家,以逃避最尴尬的晚餐派对。",
Expand Down

0 comments on commit 93f6661

Please sign in to comment.