fix: Adds safety to corpses and cleans up quests (#1685)
### Summary - Adds some more checks in case a corpse's owner is somehow null. Would like to eventually allow null owner corpses, but more work is needed. - Cleans up variable unboxing and reassignment in quests. Also flattens quest logic. Still more work needs to be done. - Codegens more quest items/mobiles.
This commit is contained in:
parent
0d5aa1d022
commit
e994505ad0
90 changed files with 2623 additions and 3168 deletions
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.Grizelda.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.Grizelda.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Hag.Grizelda"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.HagApprenticeCorpse.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.HagApprenticeCorpse.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Hag.HagApprenticeCorpse"
|
||||
}
|
||||
14
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.HangoverCure.v0.json
generated
Normal file
14
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.HangoverCure.v0.json
generated
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Hag.HangoverCure",
|
||||
"properties": [
|
||||
{
|
||||
"name": "Uses",
|
||||
"type": "int",
|
||||
"rule": "PrimitiveTypeMigrationRule",
|
||||
"ruleArguments": [
|
||||
"EncodedInt"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.MagicFlute.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.MagicFlute.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Hag.MagicFlute"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.MoonfireBrew.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Hag.MoonfireBrew.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Hag.MoonfireBrew"
|
||||
}
|
||||
16
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Cannon.v0.json
generated
Normal file
16
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Cannon.v0.json
generated
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.Cannon",
|
||||
"properties": [
|
||||
{
|
||||
"name": "CannonDirection",
|
||||
"type": "Server.Engines.Quests.Haven.CannonDirection",
|
||||
"rule": "EnumMigrationRule"
|
||||
},
|
||||
{
|
||||
"name": "Canoneer",
|
||||
"type": "Server.Engines.Quests.Haven.MilitiaCanoneer",
|
||||
"rule": "SerializableInterfaceMigrationRule"
|
||||
}
|
||||
]
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.CannonComponent.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.CannonComponent.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.CannonComponent"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.DaemonBloodChest.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.DaemonBloodChest.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.DaemonBloodChest"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Dryad.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Dryad.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.Dryad"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MansionGuard.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MansionGuard.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.MansionGuard"
|
||||
}
|
||||
14
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MilitiaCanoneer.v0.json
generated
Normal file
14
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MilitiaCanoneer.v0.json
generated
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.MilitiaCanoneer",
|
||||
"properties": [
|
||||
{
|
||||
"name": "Active",
|
||||
"type": "bool",
|
||||
"rule": "PrimitiveTypeMigrationRule",
|
||||
"ruleArguments": [
|
||||
""
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MilitiaFighter.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MilitiaFighter.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.MilitiaFighter"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MilitiaFighterCorpse.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.MilitiaFighterCorpse.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.MilitiaFighterCorpse"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.QuestDaemonBlood.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.QuestDaemonBlood.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.QuestDaemonBlood"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.QuestDaemonBone.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.QuestDaemonBone.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.QuestDaemonBone"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.QuestFertileDirt.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.QuestFertileDirt.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.QuestFertileDirt"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Schmendrick.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Schmendrick.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.Schmendrick"
|
||||
}
|
||||
11
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.SchmendrickApprenticeCorpse.v0.json
generated
Normal file
11
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.SchmendrickApprenticeCorpse.v0.json
generated
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.SchmendrickApprenticeCorpse",
|
||||
"properties": [
|
||||
{
|
||||
"name": "Lantern",
|
||||
"type": "Server.Items.Lantern",
|
||||
"rule": "SerializableInterfaceMigrationRule"
|
||||
}
|
||||
]
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.SchmendrickScrollOfPower.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.SchmendrickScrollOfPower.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.SchmendrickScrollOfPower"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Uzeraan.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.Uzeraan.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.Uzeraan"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.UzeraanTurmoilHorn.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.UzeraanTurmoilHorn.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.UzeraanTurmoilHorn"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.UzeraanTurmoilTeleporter.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Haven.UzeraanTurmoilTeleporter.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Haven.UzeraanTurmoilTeleporter"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Matriarch.BaseSolenMatriarch.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Matriarch.BaseSolenMatriarch.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Matriarch.BaseSolenMatriarch"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Matriarch.BlackSolenMatriarch.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Matriarch.BlackSolenMatriarch.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Matriarch.BlackSolenMatriarch"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Matriarch.RedSolenMatriarch.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Matriarch.RedSolenMatriarch.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Matriarch.RedSolenMatriarch"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Naturalist.Naturalist.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Naturalist.Naturalist.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Naturalist.Naturalist"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Engines.Quests.Zento.AnsellaGryen.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Engines.Quests.Zento.AnsellaGryen.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Engines.Quests.Zento.AnsellaGryen"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Items.Cauldron.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Items.Cauldron.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Items.Cauldron"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Items.HagCauldron.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Items.HagCauldron.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Items.HagCauldron"
|
||||
}
|
||||
4
Projects/UOContent/Migrations/Server.Items.HagStew.v0.json
generated
Normal file
4
Projects/UOContent/Migrations/Server.Items.HagStew.v0.json
generated
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.Items.HagStew"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue