import UIKit
import CoreData

class ImportDemonSlayerKimetsunoYaiba01: ImportProtocol {
var moc: NSManagedObjectContext

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

func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Demon Slayer : Kimetsu no Yaiba 01", franchise: "Demon Slayer Kimetsu No Yaiba", imageName: "DemonSlayerKimetsunoYaiba01-Header", dimType: "Vital Bracelet BE", id: "232", eggImage: "DemonSlayerKimetsunoYaiba01-Egg", dimImage: "DemonSlayerKimetsunoYaiba01-DIM", adventureIcon: "DemonSlayerKimetsunoYaiba01-Adventure")

// MARK: - Digimon
// MARK: - Stage 3
let tanjiro_kamado = addDigimon(name: "Tanjiro Kamado", dim: dim, stage: 3, imageName: "tanjiro_kamado", imageNameSplash: "tanjiro_kamado-splash", type: virus, activityType: "Indoor", characterID: 0)

// MARK: - Stage 4
let hand_demon = addDigimon(name: "Hand Demon", dim: dim, stage: 4, imageName: "hand_demon", imageNameSplash: "hand_demon-splash", type: data, activityType: "Lazy", characterID: 14, obtainable: false)
let inosuke_hashibirac = addDigimon(name: "Inosuke Hashibira", dim: dim, stage: 4, imageName: "inosuke_hashibirac", imageNameSplash: "inosuke_hashibirac-splash", type: vaccine, activityType: "Normal", adventureMode: true, adventureStage: 7, characterID: 7)
let nezuko_kamado = addDigimon(name: "Nezuko Kamado", dim: dim, stage: 4, imageName: "nezuko_kamado", imageNameSplash: "nezuko_kamado-splash", type: free, activityType: "Lazy", adventureMode: true, adventureStage: 4, characterID: 3)
let rui = addDigimon(name: "Rui", dim: dim, stage: 4, imageName: "rui", imageNameSplash: "rui-splash", type: virus, activityType: "Indoor", characterID: 22, obtainable: false)
let sabito_makomo = addDigimon(name: "Sabito & Makomo", dim: dim, stage: 4, imageName: "sabito_makomo", imageNameSplash: "sabito_makomo-splash", type: free, activityType: "Lazy", characterID: 13, obtainable: false)
let sakonji_urokodaki = addDigimon(name: "Sakonji Urokodaki", dim: dim, stage: 4, imageName: "sakonji_urokodaki", imageNameSplash: "sakonji_urokodaki-splash", type: free, activityType: "Normal", characterID: 12, obtainable: false)
let spider_demon_brother = addDigimon(name: "Spider Demon (Brother)", dim: dim, stage: 4, imageName: "spider_demon_brother", imageNameSplash: "spider_demon_brother-splash", type: vaccine, activityType: "Normal", characterID: 20, obtainable: false)
let spider_demon_father = addDigimon(name: "Spider Demon (Father)", dim: dim, stage: 4, imageName: "spider_demon_father", imageNameSplash: "spider_demon_father-splash", type: virus, activityType: "Indoor", characterID: 21, obtainable: false)
let spider_demon_mother = addDigimon(name: "Spider Demon (Mother)", dim: dim, stage: 4, imageName: "spider_demon_mother", imageNameSplash: "spider_demon_mother-splash", type: data, activityType: "Active", characterID: 19, obtainable: false)
let susamaru_yahaba = addDigimon(name: "Susamaru & Yahaba", dim: dim, stage: 4, imageName: "susamaru_yahaba", imageNameSplash: "susamaru_yahaba-splash", type: virus, activityType: "Active", characterID: 16, obtainable: false)
let swamp_demon = addDigimon(name: "Swamp Demon", dim: dim, stage: 4, imageName: "swamp_demon", imageNameSplash: "swamp_demon-splash", type: vaccine, activityType: "Indoor", characterID: 15, obtainable: false)
let tanjiro_kamadoc = addDigimon(name: "Tanjiro Kamado", dim: dim, stage: 4, imageName: "tanjiro_kamadoc", imageNameSplash: "tanjiro_kamadoc-splash", type: virus, activityType: "Normal", adventureMode: true, adventureStage: 2, characterID: 1)
let temple_demon = addDigimon(name: "Temple Demon", dim: dim, stage: 4, imageName: "temple_demon", imageNameSplash: "temple_demon-splash", type: virus, activityType: "Indoor", characterID: 11, obtainable: false)
let tongue_demon = addDigimon(name: "Tongue Demon", dim: dim, stage: 4, imageName: "tongue_demon", imageNameSplash: "tongue_demon-splash", type: vaccine, activityType: "Indoor", characterID: 17, obtainable: false)
let xiangkai = addDigimon(name: "Xiangkai", dim: dim, stage: 4, imageName: "xiangkai", imageNameSplash: "xiangkai-splash", type: virus, activityType: "Indoor", characterID: 18, obtainable: false)
let zenitsu_agatsumac = addDigimon(name: "Zenitsu Agatsuma", dim: dim, stage: 4, imageName: "zenitsu_agatsumac", imageNameSplash: "zenitsu_agatsumac-splash", type: data, activityType: "Indoor", adventureMode: true, adventureStage: 6, characterID: 5)

// MARK: - Stage 5
let inosuke_hashibirau = addDigimon(name: "Inosuke Hashibira", dim: dim, stage: 5, imageName: "inosuke_hashibirau", imageNameSplash: "inosuke_hashibirau-splash", type: vaccine, activityType: "Active", adventureMode: true, adventureStage: 9, characterID: 8)
let nezuko_kamadou = addDigimon(name: "Nezuko Kamado", dim: dim, stage: 5, imageName: "nezuko_kamadou", imageNameSplash: "nezuko_kamadou-splash", type: free, activityType: "Normal", adventureMode: true, adventureStage: 6, characterID: 4)
let tanjiro_kamadou = addDigimon(name: "Tanjiro Kamado", dim: dim, stage: 5, imageName: "tanjiro_kamadou", imageNameSplash: "tanjiro_kamadou-splash", type: virus, activityType: "Active", adventureMode: true, adventureStage: 4, characterID: 2)
let zenitsu_agatsumau = addDigimon(name: "Zenitsu Agatsuma", dim: dim, stage: 5, imageName: "zenitsu_agatsumau", imageNameSplash: "zenitsu_agatsumau-splash", type: data, activityType: "Stotic", adventureMode: true, adventureStage: 9, characterID: 6)

// MARK: - Stage 6
let giyu_tomioka = addDigimon(name: "Giyu Tomioka", dim: dim, stage: 6, imageName: "giyu_tomioka", imageNameSplash: "giyu_tomioka-splash", type: virus, activityType: "Normal", adventureMode: true, adventureStage: 11, characterID: 9)
let shinobu_kocho = addDigimon(name: "Shinobu Kocho", dim: dim, stage: 6, imageName: "shinobu_kocho", imageNameSplash: "shinobu_kocho-splash", type: data, activityType: "Indoor", adventureMode: true, adventureStage: 12, characterID: 10)

// MARK: - Evolutions
// MARK: - Stage 3 to 4
addEvolution(from: tanjiro_kamado, to: tanjiro_kamadoc, minutes: evo1Hour)

// MARK: - Stage 4 to 5
addEvolution(from: inosuke_hashibirac, to: inosuke_hashibirau, trophies: 15, vitalValues: 3000, battles: 10, winRatio: 50, minutes: evo1Hour)
addEvolution(from: nezuko_kamado, to: nezuko_kamadou, trophies: 15, vitalValues: 3000, battles: 10, winRatio: 50, minutes: evo1Hour)
addEvolution(from: tanjiro_kamadoc, to: tanjiro_kamadou, minutes: evo1Hour)
addEvolution(from: zenitsu_agatsumac, to: zenitsu_agatsumau, trophies: 15, vitalValues: 3000, battles: 10, winRatio: 50, minutes: evo1Hour)

// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : temple_demon, dim : dim)
addAdventureMode(stage : 2, steps: 500, digimon : sakonji_urokodaki, unlock : true, dim : dim)
addAdventureMode(stage : 3, steps: 500, digimon : sabito_makomo, dim : dim)
addAdventureMode(stage : 4, steps: 500, digimon : hand_demon, unlock : true, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : swamp_demon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : susamaru_yahaba, unlock : true, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : tongue_demon, unlock : true, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : xiangkai, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : spider_demon_mother, unlock : true, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : spider_demon_brother, dim : dim)
addAdventureMode(stage : 11, steps: 1800, digimon : spider_demon_father, unlock : true, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : rui, unlock : true, dim : dim)
}
}