forked from liza/Questionable
master #3
@ -53,7 +53,8 @@
|
|||||||
},
|
},
|
||||||
"TerritoryId": 614,
|
"TerritoryId": 614,
|
||||||
"InteractionType": "Snipe",
|
"InteractionType": "Snipe",
|
||||||
"Fly": true
|
"Fly": true,
|
||||||
|
"Comment": "Snipe Namazu"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -69,7 +70,8 @@
|
|||||||
},
|
},
|
||||||
"TerritoryId": 614,
|
"TerritoryId": 614,
|
||||||
"InteractionType": "Snipe",
|
"InteractionType": "Snipe",
|
||||||
"Fly": true
|
"Fly": true,
|
||||||
|
"Comment": "Snipe Namazu"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
},
|
},
|
||||||
"StopDistance": 0.5,
|
"StopDistance": 0.5,
|
||||||
"TerritoryId": 960,
|
"TerritoryId": 960,
|
||||||
"InteractionType": "WaitForManualProgress",
|
"InteractionType": "Combat",
|
||||||
"EnemySpawnType": "AutoOnEnterArea",
|
"EnemySpawnType": "AutoOnEnterArea",
|
||||||
"KillEnemyDataIds": [
|
"KillEnemyDataIds": [
|
||||||
14044
|
14044
|
||||||
|
@ -45,7 +45,8 @@
|
|||||||
"Z": -296.37604
|
"Z": -296.37604
|
||||||
},
|
},
|
||||||
"TerritoryId": 958,
|
"TerritoryId": 958,
|
||||||
"InteractionType": "Interact"
|
"InteractionType": "Snipe",
|
||||||
|
"Comment": "Snipe Magitek Colossi"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -60,7 +61,7 @@
|
|||||||
"Z": -299.36682
|
"Z": -299.36682
|
||||||
},
|
},
|
||||||
"TerritoryId": 958,
|
"TerritoryId": 958,
|
||||||
"InteractionType": "Snipe"
|
"InteractionType": "Interact"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1275,6 +1275,30 @@
|
|||||||
"ItemsToGather"
|
"ItemsToGather"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": {
|
||||||
|
"properties": {
|
||||||
|
"InteractionType": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"const": "WaitForManualProgress"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "Instruction"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "Snipe"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"then": {
|
||||||
|
"required": [
|
||||||
|
"Comment"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -144,7 +144,7 @@ internal sealed class QuestRegistry
|
|||||||
|
|
||||||
private void ValidateQuests()
|
private void ValidateQuests()
|
||||||
{
|
{
|
||||||
_questValidator.Validate(_quests.Values.Where(x => x.Source != Quest.ESource.Assembly));
|
_questValidator.Validate(_quests.Values.Where(x => x.Source != Quest.ESource.Assembly).ToList());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LoadQuestFromStream(string fileName, Stream stream, Quest.ESource source)
|
private void LoadQuestFromStream(string fileName, Stream stream, Quest.ESource source)
|
||||||
|
@ -25,5 +25,14 @@ internal interface IQuestInfo
|
|||||||
|
|
||||||
public string SimplifiedName => Name
|
public string SimplifiedName => Name
|
||||||
.Replace(".", "", StringComparison.Ordinal)
|
.Replace(".", "", StringComparison.Ordinal)
|
||||||
|
.Replace("*", "", StringComparison.Ordinal)
|
||||||
|
.Replace("\"", "", StringComparison.Ordinal)
|
||||||
|
.Replace("/", "", StringComparison.Ordinal)
|
||||||
|
.Replace("\\", "", StringComparison.Ordinal)
|
||||||
|
.Replace("<", "", StringComparison.Ordinal)
|
||||||
|
.Replace(">", "", StringComparison.Ordinal)
|
||||||
|
.Replace("|", "", StringComparison.Ordinal)
|
||||||
|
.Replace(":", "", StringComparison.Ordinal)
|
||||||
|
.Replace("?", "", StringComparison.Ordinal)
|
||||||
.TrimStart(SeIconChar.QuestSync.ToIconChar(), SeIconChar.QuestRepeatable.ToIconChar(), ' ');
|
.TrimStart(SeIconChar.QuestSync.ToIconChar(), SeIconChar.QuestRepeatable.ToIconChar(), ' ');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user