import UIKit
import CoreData

class ImportLoogamon: ImportProtocol {
var moc: NSManagedObjectContext

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

func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Loogamon", franchise: "Digimon", imageName: "Loogamon-Header", dimType: "Vital Bracelet BE", id: "131", eggImage: "Loogamon-Egg", dimImage: "Loogamon-DIM", adventureIcon: "Loogamon-Adventure")

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

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

// MARK: - Stage 3
let herissmon = addDigimon(name: "Herissmon", dim: dim, stage: 3, imageName: "herissmon", imageNameSplash: "herissmon-splash", type: data, activityType: "Normal", characterID: 3)
let loogamon = addDigimon(name: "Loogamon", dim: dim, stage: 3, imageName: "loogamon", imageNameSplash: "loogamon-splash", type: free, activityType: "Active", adventureMode: true, adventureStage: 0, characterID: 2)
let vemmon = addDigimon(name: "Vemmon", dim: dim, stage: 3, imageName: "vemmon", imageNameSplash: "vemmon-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 1, characterID: 19)

// MARK: - Stage 4
let damemon = addDigimon(name: "Damemon", dim: dim, stage: 4, imageName: "damemon", imageNameSplash: "damemon-splash", type: virus, activityType: "Lazy", characterID: 7)
let filmon = addDigimon(name: "Filmon", dim: dim, stage: 4, imageName: "filmon", imageNameSplash: "filmon-splash", type: data, activityType: "Normal", characterID: 5)
let loogarmon = addDigimon(name: "Loogarmon", dim: dim, stage: 4, imageName: "loogarmon", imageNameSplash: "loogarmon-splash", type: virus, activityType: "Active", characterID: 4)
let snatchmon = addDigimon(name: "Snatchmon", dim: dim, stage: 4, imageName: "snatchmon", imageNameSplash: "snatchmon-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 4, characterID: 20)
let tyrannomon = addDigimon(name: "Tyrannomon", dim: dim, stage: 4, imageName: "tyrannomon", imageNameSplash: "tyrannomon-splash", type: data, activityType: "Normal", characterID: 6)

// MARK: - Stage 5
let andromon = addDigimon(name: "Andromon", dim: dim, stage: 5, imageName: "andromon", imageNameSplash: "andromon-splash", type: vaccine, activityType: "Indoor", characterID: 11)
let destromon = addDigimon(name: "Destromon", dim: dim, stage: 5, imageName: "destromon", imageNameSplash: "destromon-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 8, characterID: 21)
let helloogarmon = addDigimon(name: "Helloogarmon", dim: dim, stage: 5, imageName: "helloogarmon", imageNameSplash: "helloogarmon-splash", type: virus, activityType: "Indoor", characterID: 10)
let mastertyrannomon = addDigimon(name: "MasterTyrannomon", dim: dim, stage: 5, imageName: "mastertyrannomon", imageNameSplash: "mastertyrannomon-splash", type: vaccine, activityType: "Normal", characterID: 12)
let soloogarmon = addDigimon(name: "Soloogarmon", dim: dim, stage: 5, imageName: "soloogarmon", imageNameSplash: "soloogarmon-splash", type: virus, activityType: "Active", characterID: 8)
let stiffilmon = addDigimon(name: "Stiffilmon", dim: dim, stage: 5, imageName: "stiffilmon", imageNameSplash: "stiffilmon-splash", type: data, activityType: "Normal", characterID: 9)

// MARK: - Stage 6
let fenriloogamon = addDigimon(name: "Fenriloogamon", dim: dim, stage: 6, imageName: "fenriloogamon", imageNameSplash: "fenriloogamon-splash", type: virus, activityType: "Active", characterID: 13)
let galacticmon = addDigimon(name: "Galacticmon", dim: dim, stage: 6, imageName: "galacticmon", imageNameSplash: "galacticmon-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 12, characterID: 22)
let hiandromon = addDigimon(name: "HiAndromon", dim: dim, stage: 6, imageName: "hiandromon", imageNameSplash: "hiandromon-splash", type: vaccine, activityType: "Indoor", characterID: 16)
let rasenmon = addDigimon(name: "Rasenmon", dim: dim, stage: 6, imageName: "rasenmon", imageNameSplash: "rasenmon-splash", type: data, activityType: "Normal", characterID: 14)
let rasenmonfury_mode = addDigimon(name: "Rasenmon: Fury Mode", dim: dim, stage: 6, imageName: "rasenmonfury_mode", imageNameSplash: "rasenmonfury_mode-splash", type: data, activityType: "Indoor", characterID: 15)
let rusttyrannomon = addDigimon(name: "RustTyrannomon", dim: dim, stage: 6, imageName: "rusttyrannomon", imageNameSplash: "rusttyrannomon-splash", type: virus, activityType: "Normal", characterID: 17)

// MARK: - Stage 7
let fenriloogamontakemikazuchi = addDigimon(name: "Fenriloogamon: Takemikazuchi", dim: dim, stage: 7, imageName: "fenriloogamontakemikazuchi", imageNameSplash: "fenriloogamontakemikazuchi-splash", type: virus, activityType: "Active", characterID: 18)

// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: fusamon, to: bowmon, trophies: 5, vitalValues: 1000, minutes: evo1Hour)

// MARK: - Stage 2 to 3
addEvolution(from: bowmon, to: herissmon, minutes: evo3Hours)
addEvolution(from: bowmon, to: loogamon, trophies: 5, vitalValues: 500, minutes: evo3Hours)
addEvolution(from: bowmon, to: vemmon, trophies: 5, vitalValues: 1000, minutes: evo3Hours)

// MARK: - Stage 3 to 4
addEvolution(from: herissmon, to: damemon, minutes: evo12Hours)
addEvolution(from: herissmon, to: filmon, trophies: 5, vitalValues: 1000, battles: 3, minutes: evo12Hours)
addEvolution(from: loogamon, to: filmon, trophies: 5, vitalValues: 1000, battles: 3, minutes: evo12Hours)
addEvolution(from: herissmon, to: loogarmon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: loogamon, to: loogarmon, trophies: 10, vitalValues: 1000, battles: 8, minutes: evo12Hours)
addEvolution(from: loogamon, to: snatchmon, trophies: 12, vitalValues: 1500, battles: 10, minutes: evo12Hours)
addEvolution(from: loogamon, to: tyrannomon, trophies: 8, vitalValues: 1000, battles: 5, minutes: evo3Hours)

// MARK: - Stage 4 to 5
addEvolution(from: damemon, to: andromon, trophies: 8, vitalValues: 1500, battles: 4, winRatio: 30, minutes: evo24Hours)
addEvolution(from: filmon, to: andromon, trophies: 8, vitalValues: 1500, battles: 4, winRatio: 30, minutes: evo24Hours)
addEvolution(from: snatchmon, to: destromon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: damemon, to: destromon, trophies: 12, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: tyrannomon, to: helloogarmon, trophies: 8, vitalValues: 1500, battles: 8, winRatio: 30, minutes: evo24Hours)
addEvolution(from: snatchmon, to: helloogarmon, trophies: 8, vitalValues: 1500, battles: 8, winRatio: 30, minutes: evo24Hours)
addEvolution(from: loogarmon, to: helloogarmon, trophies: 8, vitalValues: 1500, battles: 8, winRatio: 30, minutes: evo24Hours)
addEvolution(from: tyrannomon, to: mastertyrannomon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: snatchmon, to: mastertyrannomon, trophies: 10, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: filmon, to: soloogarmon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: loogarmon, to: soloogarmon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: tyrannomon, to: soloogarmon, trophies: 12, vitalValues: 2500, battles: 12, winRatio: 50, minutes: evo24Hours)
addEvolution(from: filmon, to: stiffilmon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)
addEvolution(from: loogarmon, to: stiffilmon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 40, minutes: evo24Hours)

// MARK: - Stage 5 to 6
addEvolution(from: soloogarmon, to: fenriloogamon, trophies: 30, vitalValues: 3000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: helloogarmon, to: fenriloogamon, trophies: 30, vitalValues: 3000, battles: 20, winRatio: 60, minutes: evo24Hours)
addEvolution(from: destromon, to: galacticmon, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: mastertyrannomon, to: galacticmon, trophies: 35, vitalValues: 3500, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: destromon, to: hiandromon, trophies: 15, vitalValues: 1500, battles: 15, winRatio: 40, minutes: evo24Hours)
addEvolution(from: andromon, to: hiandromon, trophies: 15, vitalValues: 1500, battles: 15, winRatio: 40, minutes: evo24Hours)
addEvolution(from: stiffilmon, to: rasenmon, trophies: 25, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: soloogarmon, to: rasenmon, trophies: 25, vitalValues: 2500, battles: 15, winRatio: 60, minutes: evo24Hours)
addEvolution(from: helloogarmon, to: rasenmonfury_mode, trophies: 20, vitalValues: 2000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: stiffilmon, to: rasenmonfury_mode, trophies: 20, vitalValues: 2000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: andromon, to: rusttyrannomon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: mastertyrannomon, to: rusttyrannomon, trophies: 30, vitalValues: 3000, battles: 15, winRatio: 50, minutes: evo24Hours)

// MARK: - Stage 6 to 7
addEvolution(from: fenriloogamon, to: fenriloogamontakemikazuchi, isJogress: true, jogressAnotherDIM: true, jogressDIM: 138, jogressCharacterID: 18, minutes: evo3Hours)

// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : vemmon, unlock : true, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : tyrannomon, dim : dim)
addAdventureMode(stage : 3, steps: 500, digimon : damemon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : snatchmon, unlock : true, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : andromon, dim : dim)
addAdventureMode(stage : 6, steps: 1000, digimon : mastertyrannomon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : helloogarmon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : destromon, unlock : true, dim : dim)
addAdventureMode(stage : 9, steps: 2000, digimon : hiandromon, dim : dim)
addAdventureMode(stage : 10, steps: 2000, digimon : rusttyrannomon, dim : dim)
addAdventureMode(stage : 11, steps: 2500, digimon : rasenmonfury_mode, dim : dim)
addAdventureMode(stage : 12, steps: 2500, digimon : galacticmon, unlock : true, dim : dim)
}
}