import UIKit
import CoreData
class ImportTerriermon: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Terriermon", franchise: "Digimon", imageName: "Terriermon-Header", dimType: "Vital Bracelet/Hero", id: "18", eggImage: "Terriermon-Egg", dimImage: "Terriermon-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let zerimon = addDigimon(name: "Zerimon", dim: dim, stage: 1, imageName: "zerimon", imageNameSplash: "zerimon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let gummymon = addDigimon(name: "Gummymon", dim: dim, stage: 2, imageName: "gummymon", imageNameSplash: "gummymon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let terriermon = addDigimon(name: "Terriermon", dim: dim, stage: 3, imageName: "terriermon", imageNameSplash: "terriermon-splash", type: vaccine, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let gargomon = addDigimon(name: "Gargomon", dim: dim, stage: 4, imageName: "gargomon", imageNameSplash: "gargomon-splash", type: vaccine, activityType: "Normal", characterID: 3)
let harpymon = addDigimon(name: "Harpymon", dim: dim, stage: 4, imageName: "harpymon", imageNameSplash: "harpymon-splash", type: free, activityType: "Indoor", characterID: 5)
let turuiemon = addDigimon(name: "Turuiemon", dim: dim, stage: 4, imageName: "turuiemon", imageNameSplash: "turuiemon-splash", type: data, activityType: "Active", characterID: 4)
let wendigomon = addDigimon(name: "Wendigomon", dim: dim, stage: 4, imageName: "wendigomon", imageNameSplash: "wendigomon-splash", type: virus, activityType: "Lazy", characterID: 6)
// MARK: - Stage 5
let antylamon = addDigimon(name: "Antylamon", dim: dim, stage: 5, imageName: "antylamon", imageNameSplash: "antylamon-splash", type: virus, activityType: "Indoor", characterID: 12)
let antylamon_deva = addDigimon(name: "Antylamon (Deva)", dim: dim, stage: 5, imageName: "antylamon_deva", imageNameSplash: "antylamon_deva-splash", type: data, activityType: "Indoor", characterID: 10)
let makuramon = addDigimon(name: "Makuramon", dim: dim, stage: 5, imageName: "makuramon", imageNameSplash: "makuramon-splash", type: data, activityType: "Normal", characterID: 9)
let pajiramon = addDigimon(name: "Pajiramon", dim: dim, stage: 5, imageName: "pajiramon", imageNameSplash: "pajiramon-splash", type: virus, activityType: "Stotic", characterID: 11)
let rapidmon = addDigimon(name: "Rapidmon", dim: dim, stage: 5, imageName: "rapidmon", imageNameSplash: "rapidmon-splash", type: vaccine, activityType: "Normal", characterID: 7)
let sinduramon = addDigimon(name: "Sinduramon", dim: dim, stage: 5, imageName: "sinduramon", imageNameSplash: "sinduramon-splash", type: data, activityType: "Active", characterID: 8)
// MARK: - Stage 6
let cherubimon_evil = addDigimon(name: "Cherubimon (Evil)", dim: dim, stage: 6, imageName: "cherubimon_evil", imageNameSplash: "cherubimon_evil-splash", type: vaccine, activityType: "Active", characterID: 15)
let cherubimon_good = addDigimon(name: "Cherubimon (Good)", dim: dim, stage: 6, imageName: "cherubimon_good", imageNameSplash: "cherubimon_good-splash", type: vaccine, activityType: "Active", characterID: 14)
let megagargomon = addDigimon(name: "MegaGargomon", dim: dim, stage: 6, imageName: "megagargomon", imageNameSplash: "megagargomon-splash", type: vaccine, activityType: "Normal", characterID: 13)
let rapidmon_armor = addDigimon(name: "Rapidmon (Armor)", dim: dim, stage: 6, imageName: "rapidmon_armor", imageNameSplash: "rapidmon_armor-splash", type: vaccine, activityType: "Stotic", adventureMode: true, adventureStage: 15, characterID: 16)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: zerimon, to: gummymon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: gummymon, to: terriermon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: terriermon, to: gargomon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: terriermon, to: harpymon, minutes: evo16Hours)
addEvolution(from: terriermon, to: turuiemon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: terriermon, to: wendigomon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: gargomon, to: antylamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: wendigomon, to: antylamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: gargomon, to: antylamon_deva, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: wendigomon, to: antylamon_deva, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: turuiemon, to: makuramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: harpymon, to: makuramon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: turuiemon, to: pajiramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: harpymon, to: pajiramon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: turuiemon, to: rapidmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: gargomon, to: rapidmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: wendigomon, to: sinduramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: harpymon, to: sinduramon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: sinduramon, to: cherubimon_evil, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: antylamon_deva, to: cherubimon_evil, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: antylamon, to: cherubimon_evil, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: sinduramon, to: cherubimon_good, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: antylamon_deva, to: cherubimon_good, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: antylamon, to: cherubimon_good, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: rapidmon, to: megagargomon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: makuramon, to: megagargomon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: pajiramon, to: megagargomon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: rapidmon, to: rapidmon_armor, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: makuramon, to: rapidmon_armor, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: pajiramon, to: rapidmon_armor, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : terriermon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : harpymon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : wendigomon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : turuiemon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : gargomon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : sinduramon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : antylamon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : antylamon_deva, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : rapidmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : makuramon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : pajiramon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : megagargomon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : cherubimon_good, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : cherubimon_evil, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : rapidmon_armor, unlock : true, dim : dim)
}
}