import UIKit
import CoreData
class ImportRenamonGP: ImportProtocol {
var moc: NSManagedObjectContext
required init(viewContext: NSManagedObjectContext) {
moc = viewContext
}
func importDIM() {
// MARK: - DIM
let dim = addDIM(name: "Renamon GP", franchise: "Digimon", imageName: "RenamonGP-Header", dimType: "Vital Bracelet/Hero", id: "21", eggImage: "RenamonGP-Egg", dimImage: "RenamonGP-DIM")
// MARK: - Digimon
// MARK: - Stage 1
let relemon = addDigimon(name: "Relemon", dim: dim, stage: 1, imageName: "relemon", imageNameSplash: "relemon-splash", type: free, activityType: "Normal", characterID: 0)
// MARK: - Stage 2
let viximon = addDigimon(name: "Viximon", dim: dim, stage: 2, imageName: "viximon", imageNameSplash: "viximon-splash", type: free, activityType: "Normal", characterID: 1)
// MARK: - Stage 3
let renamon = addDigimon(name: "Renamon", dim: dim, stage: 3, imageName: "renamon", imageNameSplash: "renamon-splash", type: data, activityType: "Active", characterID: 2)
// MARK: - Stage 4
let kyubimon = addDigimon(name: "Kyubimon", dim: dim, stage: 4, imageName: "kyubimon", imageNameSplash: "kyubimon-splash", type: data, activityType: "Active", characterID: 3)
// MARK: - Stage 5
let taomon = addDigimon(name: "Taomon", dim: dim, stage: 5, imageName: "taomon", imageNameSplash: "taomon-splash", type: data, activityType: "Active", characterID: 4)
// MARK: - Stage 6
let kuzuhamon = addDigimon(name: "Kuzuhamon", dim: dim, stage: 6, imageName: "kuzuhamon", imageNameSplash: "kuzuhamon-splash", type: data, activityType: "Indoor", characterID: 6)
let sakuyamon = addDigimon(name: "Sakuyamon", dim: dim, stage: 6, imageName: "sakuyamon", imageNameSplash: "sakuyamon-splash", type: data, activityType: "Active", characterID: 5)
let sakuyamon_maid_mode = addDigimon(name: "Sakuyamon: Maid Mode", dim: dim, stage: 6, imageName: "sakuyamon_maid_mode", imageNameSplash: "sakuyamon_maid_mode-splash", type: data, activityType: "Normal", characterID: 7)
// MARK: - Evolutions
// MARK: - Stage 1 to 2
addEvolution(from: relemon, to: viximon, minutes: evo1Hour)
// MARK: - Stage 2 to 3
addEvolution(from: viximon, to: renamon, minutes: evo3Hours)
// MARK: - Stage 3 to 4
addEvolution(from: renamon, to: kyubimon, trophies: 10, vitalValues: 1300, battles: 8, minutes: evo16Hours)
// MARK: - Stage 4 to 5
addEvolution(from: kyubimon, to: taomon, trophies: 12, vitalValues: 3000, battles: 15, winRatio: 70, minutes: evo24Hours)
// MARK: - Stage 5 to 6
addEvolution(from: taomon, to: kuzuhamon, trophies: 10, vitalValues: 4500, battles: 15, winRatio: 50, minutes: evo24Hours)
addEvolution(from: taomon, to: sakuyamon, trophies: 20, vitalValues: 5000, battles: 20, winRatio: 70, minutes: evo24Hours)
addEvolution(from: taomon, to: sakuyamon_maid_mode, trophies: 20, vitalValues: 7000, battles: 25, winRatio: 70, minutes: evo24Hours)
// MARK: - Adventure Mode
addAdventureMode(stage : 1, steps: 500, digimon : renamon, dim : dim)
addAdventureMode(stage : 2, steps: 1000, digimon : renamon, dim : dim)
addAdventureMode(stage : 3, steps: 1000, digimon : kyubimon, dim : dim)
addAdventureMode(stage : 4, steps: 1000, digimon : kyubimon, dim : dim)
addAdventureMode(stage : 5, steps: 1000, digimon : taomon, dim : dim)
addAdventureMode(stage : 6, steps: 1500, digimon : taomon, dim : dim)
addAdventureMode(stage : 7, steps: 1500, digimon : kyubimon, dim : dim)
addAdventureMode(stage : 8, steps: 1500, digimon : taomon, dim : dim)
addAdventureMode(stage : 9, steps: 1500, digimon : taomon, dim : dim)
addAdventureMode(stage : 10, steps: 1500, digimon : kyubimon, dim : dim)
addAdventureMode(stage : 11, steps: 1500, digimon : taomon, dim : dim)
addAdventureMode(stage : 12, steps: 2000, digimon : taomon, dim : dim)
addAdventureMode(stage : 13, steps: 2000, digimon : sakuyamon, dim : dim)
addAdventureMode(stage : 14, steps: 2000, digimon : kuzuhamon, dim : dim)
addAdventureMode(stage : 15, steps: 2500, digimon : sakuyamon_maid_mode, dim : dim)
}
}