Add library ruins

- Adds two variants of library ruins: surface (generates in forested biomes) and underground (generates everywhere)
- Adds loot table support to bookshelves
- Adds antique atlas markers for library ruins
- Adds bookshelves and lecterns to the wood type template processor
- Makes bookshelves and lecterns rotate correctly in structure templates
- Generalises most of the methods in WorldGenSurfaceStructure to a new superclass WorldGenWizardryStructure
This commit is contained in:
Electroblob77
2020-07-13 16:51:01 +01:00
parent 05d33ec58e
commit fa0875e63b
27 changed files with 937 additions and 370 deletions
@@ -0,0 +1,63 @@
{
"pools": [
{
"name": "wizardry",
"conditions": [
{
"condition": "random_chance",
"chance": 0.6
}
],
"rolls": {
"min": 0,
"max": 2
},
"entries": [
{
"type": "loot_table",
"name": "ebwizardry:subsets/arcane_tomes",
"weight": 2
},
{
"type": "loot_table",
"name": "ebwizardry:subsets/wand_upgrades",
"weight": 1
},
{
"type": "item",
"name": "ebwizardry:spell_book",
"weight": 20,
"functions": [
{
"function": "ebwizardry:random_spell",
"undiscovered_bias": 0.3
}
]
},
{
"type": "item",
"name": "ebwizardry:scroll",
"weight": 4,
"functions": [
{
"function": "ebwizardry:random_spell",
"undiscovered_bias": 0.3
},
{
"function": "set_count",
"count": {
"min": 1,
"max": 5
}
}
]
},
{
"type": "item",
"name": "ebwizardry:identification_scroll",
"weight": 2
}
]
}
]
}