From 93f66613a1cd2be500455d547e536fb29056de03 Mon Sep 17 00:00:00 2001 From: Up Date: Sat, 16 Dec 2023 12:08:27 +0100 Subject: [PATCH] add spell book author --- src/main/java/dev/cammiescorner/arcanus/util/SpellBooks.java | 2 +- src/main/resources/assets/arcanus/lang/en_gb.json | 1 + src/main/resources/assets/arcanus/lang/en_us.json | 1 + src/main/resources/assets/arcanus/lang/zh_cn.json | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/dev/cammiescorner/arcanus/util/SpellBooks.java b/src/main/java/dev/cammiescorner/arcanus/util/SpellBooks.java index d5f2355..14dac10 100644 --- a/src/main/java/dev/cammiescorner/arcanus/util/SpellBooks.java +++ b/src/main/java/dev/cammiescorner/arcanus/util/SpellBooks.java @@ -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))); diff --git a/src/main/resources/assets/arcanus/lang/en_gb.json b/src/main/resources/assets/arcanus/lang/en_gb.json index 97ddb15..f21a411 100644 --- a/src/main/resources/assets/arcanus/lang/en_gb.json +++ b/src/main/resources/assets/arcanus/lang/en_gb.json @@ -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.", diff --git a/src/main/resources/assets/arcanus/lang/en_us.json b/src/main/resources/assets/arcanus/lang/en_us.json index 42cbe24..87bda41 100644 --- a/src/main/resources/assets/arcanus/lang/en_us.json +++ b/src/main/resources/assets/arcanus/lang/en_us.json @@ -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.", diff --git a/src/main/resources/assets/arcanus/lang/zh_cn.json b/src/main/resources/assets/arcanus/lang/zh_cn.json index 51ef958..039fa80 100644 --- a/src/main/resources/assets/arcanus/lang/zh_cn.json +++ b/src/main/resources/assets/arcanus/lang/zh_cn.json @@ -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": "利用平面旅行,你可以\"传送\"回家,以逃避最尴尬的晚餐派对。",