Add ability to restore ruined spell books with the imbuement altar

For now this ignores dust elements but may change this in future
This commit is contained in:
Electroblob77
2020-09-14 15:37:05 +01:00
parent ac7e2fda94
commit ea4e07b2c9
7 changed files with 83 additions and 0 deletions
@@ -0,0 +1,19 @@
{
"display": {
"title": {
"translate": "advancement.ebwizardry:restore_ruined_book"
},
"description": {
"translate": "advancement.ebwizardry:restore_ruined_book.desc"
},
"icon": {
"item": "ebwizardry:ruined_spell_book"
}
},
"parent": "ebwizardry:restore_imbuement_altar",
"criteria": {
"criteria_0": {
"trigger": "ebwizardry:restore_ruined_book"
}
}
}
@@ -693,6 +693,8 @@ advancement.ebwizardry\:restore_imbuement_altar=Good As New
advancement.ebwizardry\:restore_imbuement_altar.desc=Restore an imbuement altar to its former glory
advancement.ebwizardry\:create_elemental_armour=Changing Clothes
advancement.ebwizardry\:create_elemental_armour.desc=Imbue a piece of wizard armour with spectral dust of one of the arcane elements
advancement.ebwizardry\:restore_ruined_book=Arcane Archaeologist
advancement.ebwizardry\:restore_ruined_book.desc=Restore a ruined spell book at an imbuement altar
advancement.ebwizardry\:craft_lectern=Arcane Encyclopaedia
advancement.ebwizardry\:craft_lectern.desc=Craft a lectern to keep track of your spell library
@@ -693,6 +693,8 @@ advancement.ebwizardry\:restore_imbuement_altar=Good As New
advancement.ebwizardry\:restore_imbuement_altar.desc=Restore an imbuement altar to its former glory
advancement.ebwizardry\:create_elemental_armour=Changing Clothes
advancement.ebwizardry\:create_elemental_armour.desc=Imbue a piece of wizard armor with spectral dust of one of the arcane elements
advancement.ebwizardry\:restore_ruined_book=Arcane Archaeologist
advancement.ebwizardry\:restore_ruined_book.desc=Restore a ruined spell book at an imbuement altar
advancement.ebwizardry\:craft_lectern=Arcane Encyclopedia
advancement.ebwizardry\:craft_lectern.desc=Craft a lectern to keep track of your spell library
@@ -0,0 +1,21 @@
{
"pools": [
{
"name": "spell_book",
"rolls": 1,
"entries": [
{
"type": "item",
"name": "ebwizardry:spell_book",
"weight": 1,
"functions": [
{
"function": "ebwizardry:random_spell",
"undiscovered_bias": 0.3
}
]
}
]
}
]
}