import UIKit
import CoreData

class ImportShadowHowl: ImportProtocol {
var moc: NSManagedObjectContext

required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}

func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Shadow Howl", franchise: "Digimon", imageName: "ShadowHowl-Header", dimType: "Vital Bracelet/Hero", id: "15", eggImage: "ShadowHowl-Egg", dimImage: "ShadowHowl-DIM")

// MARK: - Digimon
// MARK: - Stage 1
let punimon = addDigimon(name: "Punimon", dim: dim, stage: 1, imageName: "punimon", imageNameSplash: "punimon-splash", type: free, activityType: "Normal", characterID: 0)

// MARK: - Stage 2
let tsunomon = addDigimon(name: "Tsunomon", dim: dim, stage: 2, imageName: "tsunomon", imageNameSplash: "tsunomon-splash", type: free, activityType: "Normal", characterID: 1)

// MARK: - Stage 3
let gabumon_black = addDigimon(name: "Gabumon (Black)", dim: dim, stage: 3, imageName: "gabumon_black", imageNameSplash: "gabumon_black-splash", type: virus, activityType: "Active", characterID: 2)

// MARK: - Stage 4
let garurumon_black = addDigimon(name: "Garurumon (Black)", dim: dim, stage: 4, imageName: "garurumon_black", imageNameSplash: "garurumon_black-splash", type: virus, activityType: "Active", characterID: 3)

// MARK: - Stage 5
let were_garurumon_black = addDigimon(name: "Were Garurumon (Black)", dim: dim, stage: 5, imageName: "were_garurumon_black", imageNameSplash: "were_garurumon_black-splash", type: virus, activityType: "Active", characterID: 4)

// MARK: - Stage 6
let metal_garurumon_black = addDigimon(name: "Metal Garurumon (Black)", dim: dim, stage: 6, imageName: "metal_garurumon_black", imageNameSplash: "metal_garurumon_black-splash", type: virus, activityType: "Active", characterID: 5)
let omnimon_zwart = addDigimon(name: "Omnimon Zwart", dim: dim, stage: 6, imageName: "omnimon_zwart", imageNameSplash: "omnimon_zwart-splash", type: vaccine, activityType: "Normal", characterID: 6)

// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: punimon, to: tsunomon, minutes: evo1Hour)

// MARK: - Stage 2 to 3
addEvolution(from: tsunomon, to: gabumon_black, minutes: evo3Hours)

// MARK: - Stage 3 to 4
addEvolution(from: gabumon_black, to: gabumon_black, minutes: evo16Hours)

// MARK: - Stage 4 to 5
addEvolution(from: garurumon_black, to: were_garurumon_black, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)

// MARK: - Stage 5 to 6
addEvolution(from: were_garurumon_black, to: metal_garurumon_black, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)

// MARK: - Stage 6 to 7
addEvolution(from: metal_garurumon_black, to: omnimon_zwart, isJogress: true, jogressAnotherDIM: true, jogressDIM: 14, jogressCharacterID: 5, minutes: evo3Hours)

// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : gabumon_black, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : garurumon_black, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : gabumon_black, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : garurumon_black, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : were_garurumon_black, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : metal_garurumon_black, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : garurumon_black, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : were_garurumon_black, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : garurumon_black, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : were_garurumon_black, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : metal_garurumon_black, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : garurumon_black, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : were_garurumon_black, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : metal_garurumon_black, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : omnimon_zwart, dim : dim)
}
}