import UIKit
import CoreData
class ImportHermitintheJungle: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Hermit in the Jungle", franchise: "Digimon", imageName: "HermitintheJungle-Header", dimType: "Vital Bracelet/Hero", id: "3", eggImage: "HermitintheJungle-Egg", dimImage: "HermitintheJungle-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let yuramon = addDigimon(name: "Yuramon", dim: dim, stage: 1, imageName: "yuramon", imageNameSplash: "yuramon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let tanemon = addDigimon(name: "Tanemon", dim: dim, stage: 2, imageName: "tanemon", imageNameSplash: "tanemon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let palmon = addDigimon(name: "Palmon", dim: dim, stage: 3, imageName: "palmon", imageNameSplash: "palmon-splash", type: data, activityType: "Normal", characterID: 2)
// MARK: - Stage 4
let parasaurmon = addDigimon(name: "Parasaurmon", dim: dim, stage: 4, imageName: "parasaurmon", imageNameSplash: "parasaurmon-splash", type: virus, activityType: "Indoor", characterID: 5)
let snimon = addDigimon(name: "Snimon", dim: dim, stage: 4, imageName: "snimon", imageNameSplash: "snimon-splash", type: vaccine, activityType: "Active", characterID: 3)
let sunflowmon = addDigimon(name: "Sunflowmon", dim: dim, stage: 4, imageName: "sunflowmon", imageNameSplash: "sunflowmon-splash", type: data, activityType: "Normal", characterID: 4)
let vegiemon = addDigimon(name: "Vegiemon", dim: dim, stage: 4, imageName: "vegiemon", imageNameSplash: "vegiemon-splash", type: virus, activityType: "Lazy", characterID: 6)
// MARK: - Stage 5
let ajatarmon = addDigimon(name: "Ajatarmon", dim: dim, stage: 5, imageName: "ajatarmon", imageNameSplash: "ajatarmon-splash", type: vaccine, activityType: "Active", characterID: 7)
let arukenimon = addDigimon(name: "Arukenimon", dim: dim, stage: 5, imageName: "arukenimon", imageNameSplash: "arukenimon-splash", type: virus, activityType: "Active", characterID: 12)
let blossomon = addDigimon(name: "Blossomon", dim: dim, stage: 5, imageName: "blossomon", imageNameSplash: "blossomon-splash", type: data, activityType: "Indoor", characterID: 10)
let jewelbeemon = addDigimon(name: "Jewelbeemon", dim: dim, stage: 5, imageName: "jewelbeemon", imageNameSplash: "jewelbeemon-splash", type: vaccine, activityType: "Normal", characterID: 8)
let lillymon = addDigimon(name: "Lillymon", dim: dim, stage: 5, imageName: "lillymon", imageNameSplash: "lillymon-splash", type: data, activityType: "Normal", characterID: 9)
let toropiamon = addDigimon(name: "Toropiamon", dim: dim, stage: 5, imageName: "toropiamon", imageNameSplash: "toropiamon-splash", type: virus, activityType: "Stotic", characterID: 11)
// MARK: - Stage 6
let bloomlordmon = addDigimon(name: "BloomLordmon", dim: dim, stage: 6, imageName: "bloomlordmon", imageNameSplash: "bloomlordmon-splash", type: vaccine, activityType: "Active", characterID: 13)
let hydramon = addDigimon(name: "Hydramon", dim: dim, stage: 6, imageName: "hydramon", imageNameSplash: "hydramon-splash", type: virus, activityType: "Indoor", adventureMode: true, adventureStage: 15, characterID: 16)
let rafflesimon = addDigimon(name: "Rafflesimon", dim: dim, stage: 6, imageName: "rafflesimon", imageNameSplash: "rafflesimon-splash", type: data, activityType: "Normal", characterID: 14)
let spinomon = addDigimon(name: "Spinomon", dim: dim, stage: 6, imageName: "spinomon", imageNameSplash: "spinomon-splash", type: virus, activityType: "Stotic", characterID: 15)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: yuramon, to: tanemon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: tanemon, to: palmon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: palmon, to: parasaurmon, trophies: 5, vitalValues: 600, battles: 3, minutes: evo16Hours)
addEvolution(from: palmon, to: snimon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
addEvolution(from: palmon, to: sunflowmon, trophies: 8, vitalValues: 900, battles: 5, minutes: evo16Hours)
addEvolution(from: palmon, to: vegiemon, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: vegiemon, to: ajatarmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: parasaurmon, to: ajatarmon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: snimon, to: arukenimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: vegiemon, to: arukenimon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: vegiemon, to: blossomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: snimon, to: blossomon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: sunflowmon, to: jewelbeemon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: snimon, to: jewelbeemon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: parasaurmon, to: lillymon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: sunflowmon, to: lillymon, trophies: 10, vitalValues: 2500, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: parasaurmon, to: toropiamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
addEvolution(from: sunflowmon, to: toropiamon, trophies: 8, vitalValues: 2000, battles: 10, winRatio: 50, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: ajatarmon, to: bloomlordmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: jewelbeemon, to: bloomlordmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: lillymon, to: bloomlordmon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: arukenimon, to: hydramon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: toropiamon, to: hydramon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: blossomon, to: hydramon, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
addEvolution(from: arukenimon, to: rafflesimon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: lillymon, to: rafflesimon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: jewelbeemon, to: rafflesimon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: blossomon, to: spinomon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: toropiamon, to: spinomon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
addEvolution(from: ajatarmon, to: spinomon, trophies: 15, vitalValues: 4500, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : palmon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : vegiemon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : sunflowmon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : parasaurmon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : snimon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : jewelbeemon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : toropiamon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : blossomon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : ajatarmon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : lillymon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : arukenimon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : rafflesimon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : spinomon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : bloomlordmon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : hydramon, unlock : true, dim : dim)
}
}