refactor: Flattened arcane tome item registry

This commit is contained in:
WinDanesz
2022-09-05 23:14:51 +02:00
parent 25b2b0b8a5
commit d30a40bdc4
13 changed files with 62 additions and 74 deletions
@@ -77,7 +77,9 @@ item.ebwizardry\:spell_book.apply_to_wizard=Replaced %1$s's spell %2$s with %3$s
item.ebwizardry\:ruined_spell_book.name=Ruined Spell Book
item.ebwizardry\:ruined_spell_book.desc=The pages of this tattered spell book are too damaged to be read properly, but somehow, you feel there is still magic left within it - if only it could be restored...
item.ebwizardry\:arcane_tome.name=Tome of Arcana
item.ebwizardry\:arcane_tome_apprentice.name=Tome of Arcana
item.ebwizardry\:arcane_tome_advanced.name=Tome of Arcana
item.ebwizardry\:arcane_tome_master.name=Tome of Arcana
item.ebwizardry\:arcane_tome.desc=Upgrades any %1$s wand with sufficient progression to %2$s tier
item.ebwizardry\:wizard_handbook.name=The Wizard's Handbook
@@ -6,39 +6,18 @@
"entries": [
{
"type": "item",
"entryName": "apprentice_tome",
"name": "ebwizardry:arcane_tome",
"weight": 4,
"functions": [
{
"function": "set_data",
"data": 1
}
]
"name": "ebwizardry:arcane_tome_apprentice",
"weight": 4
},
{
"type": "item",
"entryName": "advanced_tome",
"name": "ebwizardry:arcane_tome",
"weight": 2,
"functions": [
{
"function": "set_data",
"data": 2
}
]
"name": "ebwizardry:arcane_tome_advanced",
"weight": 2
},
{
"type": "item",
"entryName": "master_tome",
"name": "ebwizardry:arcane_tome",
"weight": 1,
"functions": [
{
"function": "set_data",
"data": 3
}
]
"name": "ebwizardry:arcane_tome_master",
"weight": 1
}
]
}
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "ebwizardry:items/arcane_tome"
}
}
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "ebwizardry:items/arcane_tome"
}
}
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "ebwizardry:items/arcane_tome"
}
}