* Moved migrations to beginning of server initialisation

* Added migrations for entity ID changes to existing tables
This commit is contained in:
Ben Wallis 2020-09-17 23:02:14 +00:00 committed by Joshua Yanovski
parent 3ce5a9d0e7
commit 712f2e9c97
442 changed files with 3666 additions and 2205 deletions

5
.gitignore vendored
View File

@ -30,8 +30,9 @@ run.sh
maps
screenshots
todo.txt
armorstats.csv
weaponstats.csv
# Export data
*.csv
# Game data
*.sqlite

View File

@ -8,7 +8,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- New level of detail feature, letting you see all the world's terrain at any view distance.
- Point and directional lights now cast realistic shadows, using shadow mapping.
- Added leaf and chimney particles
@ -35,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved projectile physics
- Improved overhead aiming
- Figure meshing no longer blocks the main thread.
- Overhauled persistence layer including no longer storing serialized JSON items in the database
### Removed

2
Cargo.lock generated
View File

@ -4670,6 +4670,7 @@ dependencies = [
"futures-timer",
"futures-util",
"hashbrown",
"itertools",
"lazy_static",
"libsqlite3-sys",
"portpicker",
@ -4752,7 +4753,6 @@ dependencies = [
"tracing-appender",
"tracing-log",
"tracing-subscriber",
"tracing-tracy",
"treeculler",
"uvth 3.1.1",
"vek 0.12.0",

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Admin's Cape",
description: "With great power comes\ngreat responsibility.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Cultist Cape",
description: "Smells like dark magic and candles.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Agile Cape",
description: "'Tightly packed pieces of leather to endure all weather.'",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Short leather Cape",
description: "Probably made of the finest leather.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Blanket",
description: "Keeps your shoulders warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Assassin Belt",
description: "Only the best for a member of the creed.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Bonerattler Belt",
description: "Made from the strongest bones.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Linen Belt",
description: "Soft and warm",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Linen Belt",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Linen Belt",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Cultist Belt",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Druid's Belt",
description: "Twisted vines to keep everything secure.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Swift Belt",
description: "Swift like the wind.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leather Belt",
description: "A belt made from simple leather.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Agile Belt",
description: "'Tightly packed pieces of leather to endure all weather.'",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Iron Belt",
description: "A belt with a buckle forged from iron.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Steel Belt",
description: "A belt forged from steel.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Tarasque Belt",
description: "As strong as a tarasque shell.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Twig Belt",
description: "A belt made from woven from twigs.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Flowery Belt",
description: "A belt woven from twigs and flowers.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leafy Belt",
description: "A belt woven from twigs and leaves.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Assassin Chest",
description: "Only the best for a member of the creed.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Bonerattler Cuirass",
description: "Made from the strongest bones.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Linen Chest",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Linen Chest",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Linen Chest",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Cultist Chest",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Cultist Chest",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Druid's Vest",
description: "Druidic chest wrappings.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Swift Chest",
description: "Swift like the wind.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leather Cuirass",
description: "A cuirass made of simple leather.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Agile Chest",
description: "'Tightly packed pieces of leather to endure all weather.'",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Iron Chestplate",
description: "A chestplate forged from iron.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Steel Cuirass",
description: "A cuirass of steel plate.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Tarasque Cuirass",
description: "As strong as a tarasque shell.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Twig Shirt",
description: "A shirt woven from twigs.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Flowery Shirt",
description: "A shirt woven from twigs and flowers.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leafy Shirt",
description: "A shirt woven from twigs and leaves.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Orange Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Orange Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Red Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Red Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Yellow Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Yellow Worker Shirt",
description: "Was used by a farmer, until recently.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Assassin Boots",
description: "Only the best for a member of the creed.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Bonerattler Boots",
description: "Made from the strongest bones.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Linen Boots",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Linen Boots",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Linen Boots",
description: "Soft and warm.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Cultist Boots",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Druid's Slippers",
description: "For treading softly through the woods.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Fluffy Jackalope Slippers",
description: "So warm and cozy!",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Swift Boots",
description: "Swift like the wind.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leather Boots",
description: "Boots made of simple leather.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Agile Kickers",
description: "'Tightly packed pieces of leather to endure all weather.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Iron Feet",
description: "Boots forged from iron.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Steel Boots",
description: "Boots forged from steel.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Tarasque Boots",
description: "As strong as a tarasque shell.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Twig Boots",
description: "Boots woven from twigs.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Flowery Boots",
description: "Boots woven from twigs and flowers.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leafy Boots",
description: "Boots woven from twigs and leaves.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Assassin Gloves",
description: "Only the best for a member of the creed.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Bonerattler Gauntlets",
description: "Made from the strongest bones.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Linen Wrists",
description: "A strip of cloth.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Linen Wrists",
description: "A strip of cloth.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Silk Wrists",
description: "A strip of cloth.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Cultist Gloves",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Cultist Gloves",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Druid's Gloves",
description: "Soft, strong, and flexible.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Swift Gloves",
description: "Swift like the wind.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leather Gloves",
description: "Gloves made of simple leather.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Agile Gauntlets",
description: "'Tightly packed pieces of leather to endure all weather.'",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Iron Handguards",
description: "Gauntlets forged from iron.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Steel Gauntlets",
description: "Gauntlets forged from steel.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Tarasque Gauntlets",
description: "As strong as a tarasque shell.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Twig Wraps",
description: "Handwraps woven from twigs.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Flowery Wraps",
description: "Handwraps woven from twigs and flowers.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leafy Wraps",
description: "Handwraps woven from twigs and leaves.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Dark Assassin Mask",
description: "Used to obscure your face.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Swift Leather Cap",
description: "Swift like the wind.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Plain Necklace",
description: "It's become tarnished with age.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Gem of lesser Protection",
description: "Surrounded by a discrete magical glow.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Assassin Pants",
description: "Only the best for a member of the creed.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Bonerattler Chausses",
description: "Made from the strongest bones.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Linen Skirt",
description: "A skirt made from linen.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Green Linen Skirt",
description: "A skirt made from linen.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Linen Skirt",
description: "A skirt made from linen.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Blue Cultist Skirt",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Purple Cultist Skirt",
description: "Ceremonial attire used by members.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Druid's Kilt",
description: "Feel the breeze!",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Hunting Pants",
description: "Crafted from soft, supple leather.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Swift Pants",
description: "Swift like the wind.",
kind: Armor(

View File

@ -1,4 +1,4 @@
Item(
ItemDef(
name: "Leather Leg Armour",
description: "Leg armour made of simple leather.",
kind: Armor(

Some files were not shown because too many files have changed in this diff Show More