import UIKit
import CoreData
class ImportD3WhiteandRed: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "D3 White and Red", franchise: "Digimon", imageName: "D3WhiteandRed-Header", dimType: "Vital Bracelet BE", id: "135", eggImage: "D3WhiteandRed-Egg", dimImage: "D3WhiteandRed-DIM", adventureIcon: "D3WhiteandRed-Adventure")
// MARK: - Digimon
// MARK: - Stage 1
let pururumon = addDigimon(name: "Pururumon", dim: dim, stage: 1, imageName: "pururumon", imageNameSplash: "pururumon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let poromon = addDigimon(name: "Poromon", dim: dim, stage: 2, imageName: "poromon", imageNameSplash: "poromon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let gatomon_rookie = addDigimon(name: "Gatomon (Rookie)", dim: dim, stage: 3, imageName: "gatomon_rookie", imageNameSplash: "gatomon_rookie-splash", type: vaccine, activityType: "Active", characterID: 3)
let hawkmon = addDigimon(name: "Hawkmon", dim: dim, stage: 3, imageName: "hawkmon", imageNameSplash: "hawkmon-splash", type: free, activityType: "Normal", characterID: 2)
let ukkomon = addDigimon(name: "Ukkomon", dim: dim, stage: 3, imageName: "ukkomon", imageNameSplash: "ukkomon-splash", type: free, activityType: "Stotic", adventureMode: true, adventureStage: 12, characterID: 18)
let wormmon = addDigimon(name: "Wormmon", dim: dim, stage: 3, imageName: "wormmon", imageNameSplash: "wormmon-splash", type: free, activityType: "Active", characterID: 4)
// MARK: - Stage 4
let aquilamon = addDigimon(name: "Aquilamon", dim: dim, stage: 4, imageName: "aquilamon", imageNameSplash: "aquilamon-splash", type: free, activityType: "Active", characterID: 5)
let gatomon = addDigimon(name: "Gatomon", dim: dim, stage: 4, imageName: "gatomon", imageNameSplash: "gatomon-splash", type: vaccine, activityType: "Stotic", characterID: 6)
let halsemon = addDigimon(name: "Halsemon", dim: dim, stage: 4, imageName: "halsemon", imageNameSplash: "halsemon-splash", type: free, activityType: "Stotic", characterID: 8)
let nefertimon = addDigimon(name: "Nefertimon", dim: dim, stage: 4, imageName: "nefertimon", imageNameSplash: "nefertimon-splash", type: free, activityType: "Active", characterID: 9)
let shurimon = addDigimon(name: "Shurimon", dim: dim, stage: 4, imageName: "shurimon", imageNameSplash: "shurimon-splash", type: free, activityType: "Normal", characterID: 19)
let stingmon = addDigimon(name: "Stingmon", dim: dim, stage: 4, imageName: "stingmon", imageNameSplash: "stingmon-splash", type: free, activityType: "Active", characterID: 7)
// MARK: - Stage 5
let angewomon = addDigimon(name: "Angewomon", dim: dim, stage: 5, imageName: "angewomon", imageNameSplash: "angewomon-splash", type: vaccine, activityType: "Normal", characterID: 12)
let dinobeemon = addDigimon(name: "Dinobeemon", dim: dim, stage: 5, imageName: "dinobeemon", imageNameSplash: "dinobeemon-splash", type: free, activityType: "Normal", characterID: 13)
let kimeramon = addDigimon(name: "Kimeramon", dim: dim, stage: 5, imageName: "kimeramon", imageNameSplash: "kimeramon-splash", type: data, activityType: "Active", adventureMode: true, adventureStage: 8, characterID: 20)
let mummymon = addDigimon(name: "Mummymon", dim: dim, stage: 5, imageName: "mummymon", imageNameSplash: "mummymon-splash", type: virus, activityType: "Lazy", adventureMode: true, adventureStage: 9, characterID: 19)
let silphymon = addDigimon(name: "Silphymon", dim: dim, stage: 5, imageName: "silphymon", imageNameSplash: "silphymon-splash", type: free, activityType: "Active", characterID: 11)
// MARK: - Stage 6
let armageddemon = addDigimon(name: "Armageddemon", dim: dim, stage: 6, imageName: "armageddemon", imageNameSplash: "armageddemon-splash", type: free, activityType: "Indoor", adventureMode: true, adventureStage: 11, characterID: 21)
let bigukkomon = addDigimon(name: "BigUkkomon", dim: dim, stage: 6, imageName: "bigukkomon", imageNameSplash: "bigukkomon-splash", type: free, activityType: "Stotic", adventureMode: true, adventureStage: 12, characterID: 22)
let imperialdramonfighter_mode = addDigimon(name: "Imperialdramon: Fighter Mode", dim: dim, stage: 6, imageName: "imperialdramonfighter_mode", imageNameSplash: "imperialdramonfighter_mode-splash", type: free, activityType: "Stotic", characterID: 16)
let imperialdramonpaladin_mode = addDigimon(name: "Imperialdramon: Paladin Mode", dim: dim, stage: 6, imageName: "imperialdramonpaladin_mode", imageNameSplash: "imperialdramonpaladin_mode-splash", type: vaccine, activityType: "Stotic", characterID: 17)
let magnadramon = addDigimon(name: "Magnadramon", dim: dim, stage: 6, imageName: "magnadramon", imageNameSplash: "magnadramon-splash", type: vaccine, activityType: "Indoor", characterID: 15)
let valkyrimon = addDigimon(name: "Valkyrimon", dim: dim, stage: 6, imageName: "valkyrimon", imageNameSplash: "valkyrimon-splash", type: free, activityType: "Stotic", characterID: 14)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: pururumon, to: poromon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: poromon, to: gatomon_rookie, trophies: 3, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: poromon, to: hawkmon, trophies: 5, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: poromon, to: ukkomon, trophies: 7, vitalValues: 1000, minutes: evo3Hours)
addEvolution(from: poromon, to: wormmon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: hawkmon, to: aquilamon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: gatomon_rookie, to: aquilamon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: ukkomon, to: bigukkomon, trophies: 20, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: gatomon_rookie, to: gatomon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: hawkmon, to: halsemon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: wormmon, to: halsemon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: gatomon_rookie, to: nefertimon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: hawkmon, to: shurimon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: wormmon, to: shurimon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo12Hours)
addEvolution(from: wormmon, to: stingmon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
// MARK: - Stage 4 to 5
addEvolution(from: nefertimon, to: angewomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: halsemon, to: angewomon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: gatomon, to: angewomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: stingmon, to: angewomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: shurimon, to: dinobeemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: halsemon, to: dinobeemon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: stingmon, to: dinobeemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: aquilamon, to: dinobeemon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: nefertimon, to: kimeramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: aquilamon, to: kimeramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: gatomon, to: mummymon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: shurimon, to: mummymon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: aquilamon, to: silphymon, isJogress: true, jogressCharacterID: 6, minutes: evo24Hours)
addEvolution(from: gatomon, to: silphymon, isJogress: true, jogressCharacterID: 5, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: silphymon, to: armageddemon, trophies: 20, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: kimeramon, to: armageddemon, trophies: 20, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: mummymon, to: armageddemon, trophies: 20, vitalValues: 4000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: kimeramon, to: imperialdramonfighter_mode, trophies: 10, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: mummymon, to: imperialdramonfighter_mode, trophies: 10, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramonfighter_mode, trophies: 10, vitalValues: 2500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: imperialdramonpaladin_mode, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: angewomon, to: imperialdramonpaladin_mode, trophies: 10, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: mummymon, to: imperialdramonpaladin_mode, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: dinobeemon, to: magnadramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: angewomon, to: magnadramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: silphymon, to: magnadramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: angewomon, to: valkyrimon, trophies: 20, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: kimeramon, to: valkyrimon, trophies: 18, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: silphymon, to: valkyrimon, trophies: 20, vitalValues: 3500, battles: 20, winRatio: 60, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : wormmon, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : gatomon, dim : dim)
addAdventureMode(stage : 3, steps: 500, digimon : hawkmon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : stingmon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : nefertimon, dim : dim)
addAdventureMode(stage : 6, steps: 1000, digimon : aquilamon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : angewomon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : kimeramon, unlock : true, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : mummymon, unlock : true, dim : dim)
addAdventureMode(stage : 10, steps: 2000, digimon : imperialdramonpaladin_mode, dim : dim)
addAdventureMode(stage : 11, steps: 2000, digimon : armageddemon, unlock : true, dim : dim)
addAdventureMode(stage : 12, steps: 2500, digimon : bigukkomon, unlock : true, dim : dim)
}
}