public LocationsController(SnoahRpgContext context) { _context = context; if (_context.Location.Count() == 0) { Location l1 = new Location { Id = 1, Name = "Forest 1", Image = "https://i.imgur.com/1LEQutv.jpg" }; Location l2 = new Location { Id = 2, Name = "Forest 2", Image = "https://i.imgur.com/1JZezCN.jpg" }; Location l3 = new Location { Id = 3, Name = "Forest 3", Image = "https://i.imgur.com/oz9if8c.jpg" }; Location l4 = new Location { Id = 4, Name = "Forest 4", Image = "https://i.imgur.com/VXfa18m.jpg" }; Location l5 = new Location { Id = 5, Name = "Forest 4 To Mountain", Image = "https://i.imgur.com/ltJBFcR.jpg" }; Location l6 = new Location { Id = 6, Name = "Mountain 1", Image = "https://i.imgur.com/FOuIIrh.jpg" }; Location l7 = new Location { Id = 7, Name = "CMountain", Image = "https://i.imgur.com/sTVbIic.jpg" }; Location l8 = new Location { Id = 8, Name = "Mountain 3", Image = "https://i.imgur.com/lvASEcX.jpg" }; Location l9 = new Location { Id = 9, Name = "Mountain 3 Snow Mountain", Image = "https://i.imgur.com/DQSZAXn.jpg" }; Location l10 = new Location { Id = 10, Name = "Snow 1", Image = "https://i.imgur.com/FgVVgpR.jpg" }; Location l11 = new Location { Id = 11, Name = "Snow 2", Image = "https://i.imgur.com/YcptPDb.jpg" }; Location l12 = new Location { Id = 12, Name = "Snow 3", Image = "https://i.imgur.com/FgVVgpR.jpg" }; Location l13 = new Location { Id = 13, Name = "Snow 4", Image = "https://i.imgur.com/wwFEqED.jpg" }; Location l14 = new Location { Id = 14, Name = "Snow 5", Image = "https://i.imgur.com/gXhpBPQ.jpg" }; Location l15 = new Location { Id = 15, Name = "Rocky Path 1", Image = "https://i.imgur.com/Iv6psXn.jpg" }; Location l16 = new Location { Id = 16, Name = "Rocky Path 2", Image = "https://i.imgur.com/dtY1r3N.jpg" }; Location l17 = new Location { Id = 17, Name = "Volcano 1", Image = "https://i.imgur.com/vvcBzQ4.jpg" }; Location l18 = new Location { Id = 18, Name = "Volcano 2", Image = "https://i.imgur.com/LCEnJkp.jpg" }; Location l19 = new Location { Id = 19, Name = "Volcano 3", Image = "https://i.imgur.com/bUrg6dV.jpg" }; Location l20 = new Location { Id = 20, Name = "Volcano 4", Image = "https://i.imgur.com/fxI262Dg.jpg" }; Location l21 = new Location { Id = 21, Name = "Volcano 5", Image = "https://i.imgur.com/E5htIss.jpg" }; Location l22 = new Location { Id = 22, Name = "Castle 1", Image = "https://i.imgur.com/DxHULEV.jpg" }; Location l23 = new Location { Id = 23, Name = "Castle 2", Image = "https://i.imgur.com/Eea85aq.jpg" }; Location l24 = new Location { Id = 24, Name = "Castle 3", Image = "https://i.imgur.com/VETxcXf.jpg" }; Location l25 = new Location { Id = 25, Name = "Castle 4", Image = "https://i.imgur.com/UNgvAor.jpg" }; Location l26 = new Location { Id = 26, Name = "Castle Hidden Room 1", Image = "https://i.imgur.com/M1NEFEq.jpg" }; Location l27 = new Location { Id = 27, Name = "Castle Hidden Room 2", Image = "https://i.imgur.com/s6zpFNL.jpg" }; Location l28 = new Location { Id = 28, Name = "Desert 1", Image = "https://i.imgur.com/ivnnPAu.jpg" }; Location l29 = new Location { Id = 29, Name = "Desert 2", Image = "https://i.imgur.com/rnkx7BN.jpg" }; Location l30 = new Location { Id = 30, Name = "Desert 3", Image = "https://i.imgur.com/op6K9AR.jpg" }; Location l31 = new Location { Id = 31, Name = "Desert 3 Cave 1", Image = "https://i.imgur.com/PEGIMJ9.jpg" }; Location l32 = new Location { Id = 32, Name = "Desert 3 Cave 2", Image = "https://i.imgur.com/9HVBQJM.jpg" }; Location l33 = new Location { Id = 33, Name = "Desert 4", Image = "https://i.imgur.com/43sMyuW.jpg" }; Location l34 = new Location { Id = 34, Name = "Desert 5 (Oasis 1)", Image = "https://i.imgur.com/ttAZqXU.jpg" }; Location l35 = new Location { Id = 35, Name = "Oasis 2", Image = "https://i.imgur.com/7PNVIzU.jpg" }; Location l36 = new Location { Id = 36, Name = "Oasis 3", Image = "https://i.imgur.com/5b3bvbT.jpg" }; Location l37 = new Location { Id = 37, Name = "Oasis 4", Image = "https://i.imgur.com/Pr3fzzh.jpg" }; Location l38 = new Location { Id = 38, Name = "Ruins 1", Image = "https://i.imgur.com/ySWJX0x.jpg" }; Location l39 = new Location { Id = 39, Name = "Ruins 2", Image = "https://i.imgur.com/h4Kij1b.jpg" }; Location l40 = new Location { Id = 40, Name = "Ruins 2 (Right)", Image = "https://i.imgur.com/E1sEBPj.jpg" }; Location l41 = new Location { Id = 41, Name = "Ruins 2 (Left)", Image = "https://i.imgur.com/yVHOvzpg.jpg" }; Location l42 = new Location { Id = 42, Name = "Ruins 3 (Left)", Image = "https://i.imgur.com/m00FbKj.jpg" }; Location l43 = new Location { Id = 43, Name = "Cave 1", Image = "https://i.imgur.com/cUfMnf8.jpg" }; Location l44 = new Location { Id = 44, Name = "Cave 2", Image = "https://i.imgur.com/QUNi8wN.jpg" }; Location l45 = new Location { Id = 45, Name = "Cloud City 1", Image = "https://i.imgur.com/sKG8TGz.jpg" }; Location l46 = new Location { Id = 46, Name = "Cloud City 2", Image = "https://i.imgur.com/awh2Lzd.jpg" }; } }
public StoresController(SnoahRpgContext context) { _context = context; }
public ItemsController(SnoahRpgContext context) { _context = context; if (_context.Item.Count() == 0) { Item h1 = new Item { Id = 1, Name = "Leather Cap", Power = 5, Type = "helmet", Image = "https://i.imgur.com/tFG1KOM.png" }; Item h2 = new Item { Id = 2, Name = "Chainmail Helm", Power = 10, Type = "helmet", Image = "https://i.imgur.com/G3rbn1J.png" }; Item h3 = new Item { Id = 3, Name = "Plate Helm", Power = 20, Type = "helmet", Image = "https://i.imgur.com/MSLjTpx.png" }; Item a1 = new Item { Id = 4, Name = "Studed Leather Armor", Power = 10, Type = "chest", Image = "https://i.imgur.com/QcXVP0b.png" }; Item a2 = new Item { Id = 5, Name = "Quilted armor", Power = 15, Type = "chest", Image = "https://i.imgur.com/9oadoje.png" }; Item a3 = new Item { Id = 6, Name = "Chainmail Armor", Power = 20, Type = "chest", Image = "https://i.imgur.com/uuDawKP.png" }; Item a4 = new Item { Id = 7, Name = "Plate Armor", Power = 25, Type = "chest", Image = "https://i.imgur.com/ilIaLPc.png" }; Item a5 = new Item { Id = 8, Name = "Leather Bracers", Power = 5, Type = "wrist", Image = "https://i.imgur.com/iAdsqt0.png" }; Item w1 = new Item { Id = 9, Name = "Maul", Power = 60, Type = "weapon", Image = "https://i.imgur.com/hXAEbM1.png" }; Item w2 = new Item { Id = 10, Name = "Morning Star", Power = 20, Type = "weapon", Image = "https://i.imgur.com/47MXsHr.png" }; Item w3 = new Item { Id = 11, Name = "War Hammer", Power = 40, Type = "weapon", Image = "https://i.imgur.com/nNjnfMu.png" }; Item w4 = new Item { Id = 12, Name = "Rusty Sword", Power = 10, Type = "weapon", Image = "https://i.imgur.com/LARZT7I.png" }; Item w5 = new Item { Id = 13, Name = "wooden sword", Power = 7, Type = "weapon", Image = "https://i.imgur.com/B6Ul0mf.jpg" }; Item w6 = new Item { Id = 14, Name = "Long Sword", Power = 30, Type = "weapon", Image = "https://i.imgur.com/qFl4976.png" }; Item w7 = new Item { Id = 15, Name = "EPIC Sword", Power = 70, Type = "weapon", Image = "https://i.imgur.com/poj0jfC.png" }; Item w8 = new Item { Id = 16, Name = "Rusty Daggers", Power = 10, Type = "weapon", Image = "https://i.imgur.com/50DTMnJ.png" }; Item w9 = new Item { Id = 17, Name = "Twin Daggers", Power = 25, Type = "weapon", Image = "https://i.imgur.com/1BCiVsW.png" }; Item w10 = new Item { Id = 18, Name = "Dragon Dagger", Power = 50, Type = "weapon", Image = "https://i.imgur.com/kwPiOCK.png" }; Item w11 = new Item { Id = 19, Name = "Explosive Staff", Power = 60, Type = "weapon", Image = "https://i.imgur.com/u0JVNz2.png" }; Item w12 = new Item { Id = 20, Name = "Fire Wand", Power = 35, Type = "weapon", Image = "https://i.imgur.com/Hx5cg5S.png" }; Item w13 = new Item { Id = 21, Name = "Ice Wand", Power = 40, Type = "weapon", Image = "https://i.imgur.com/Do8tVyQ.png" }; Item o1 = new Item { Id = 22, Name = "Golden Ball", Power = 0, Type = "other", Image = "https://i.imgur.com/RvJZNk9.jpg" }; Item o2 = new Item { Id = 23, Name = "Golden Paddle", Power = 0, Type = "other", Image = "https://i.imgur.com/feoJp0d.png" }; Item o3 = new Item { Id = 24, Name = "Golden Sweat Bands", Power = 0, Type = "other", Image = "https://i.imgur.com/x28nL5x.png" }; Item o4 = new Item { Id = 25, Name = "Small Potion", Power = 50, Type = "heal", Image = "https://i.imgur.com/EmmAL5V.png" }; Item o5 = new Item { Id = 26, Name = "Medium Potion", Power = 100, Type = "heal", Image = "https://i.imgur.com/qDkCEFe.png" }; Item o6 = new Item { Id = 27, Name = "Large Potion", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" }; } }
public MonstersController(SnoahRpgContext context) { _context = context; if (_context.Monster.Count() == 0) { Monster m1 = new Monster { Id = 1, Name = "Goblin", Health = 50, Power = 10, Image = "https://imgur.com/XckJ1D3", CurrentChest = new Item { Id = 4, Name = "Chainmail Helm", Power = 10, Type = "helmet", Image = "https://i.imgur.com/gyIHymO.png", }, CurrentWrist = new Item { Id = 8, Name = "Leather Bracers", Power = 5, Type = "wrists", Image = "https://i.imgur.com/iAdsqt0.png" }, CurrentWeapon = new Item { Id = 13, Name = "Wooden Sword", Power = 7, Type = "weapon", Image = "https://i.imgur.com/B6Ul0mf.jpg" } }; Monster m2 = new Monster { Id = 2, Name = "Ork", Health = 100, Power = 10, Image = "https://i.imgur.com/PYGVUix.png", CurrentHelmet = new Item { Id = 2, Name = "Chainmail Helm", Power = 10, Type = "helmet", Image = "https://i.imgur.com/G3rbn1J.png" }, CurrentChest = new Item { Id = 6, Name = "Chainmail Armor", Power = 20, Type = "chest", Image = "https://i.imgur.com/uuDawKP.png" }, CurrentWrist = new Item { Id = 6, Name = "Iron Bracers", Power = 6, Type = "wrist" }, CurrentWeapon = new Item { Id = 10, Name = "Morning Star", Power = 20, Type = "weapon", Image = "https://i.imgur.com/47MXsHr.png" } }; Monster m4 = new Monster { Id = 4, Name = "Cactus Patch Kid", Health = 50, Power = 20, Image = "https://i.imgur.com/qKEAK4k.jpg", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m5 = new Monster { Id = 5, Name = "Desert Yeti", Health = 100, Power = 10, Image = "https://i.imgur.com/O9AH2iE.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m6 = new Monster { Id = 6, Name = "Evil Hotdog", Health = 200, Power = 20, Image = "https://i.imgur.com/vRWj8Yt.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m7 = new Monster { Id = 7, Name = "Evil Knight", Health = 150, Power = 30, Image = "https://i.imgur.com/UlqCtjh.png", CurrentHelmet = new Item { Id = 3, Name = "Plate Helm", Power = 20, Type = "helmet", Image = "https://i.imgur.com/MSLjTpx.png", }, CurrentChest = new Item { Id = 7, Name = "Plate Armor", Power = 25, Type = "chest", Image = "https://i.imgur.com/ilIaLPc.png" }, CurrentWrist = new Item { Id = 6, Name = "Iron Bracers", Power = 6, Type = "wrist" }, CurrentWeapon = new Item { Id = 14, Name = "Long Sword", Power = 30, Type = "weapon", Image = "https://i.imgur.com/qFl4976.png" } }; Monster m8 = new Monster { Id = 8, Name = "Dark Mage", Health = 100, Power = 25, Image = "https://i.imgur.com/i7gpSkr.png", CurrentHelmet = null, CurrentChest = new Item { Id = 5, Name = "Quilted Armor", Power = 15, Type = "chest", Image = "https://i.imgur.com/9oadoje.png" }, CurrentWrist = null, CurrentWeapon = new Item { Id = 20, Name = "Fire Wand", Power = 35, Type = "weapon", Image = "https://i.imgur.com/Hx5cg5S.png" } }; Monster m9 = new Monster { Id = 9, Name = "Frozen Banshee", Health = 150, Power = 20, Image = "https://i.imgur.com/7z1Ovo2.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = new Item { Id = 21, Name = "Ice Wand", Power = 40, Type = "weapon", Image = "https://i.imgur.com/Do8tVyQ.png" } }; Monster m10 = new Monster { Id = 10, Name = "Frost Troll", Health = 100, Power = 12, Image = "https://i.imgur.com/p3esL4H.jpg", CurrentHelmet = new Item { Id = 2, Name = "Chainmail Helm", Power = 10, Type = "helmet", Image = "https://i.imgur.com/G3rbn1J.png" }, CurrentChest = new Item { Id = 6, Name = "Chainmail Armor", Power = 20, Type = "chest", Image = "https://i.imgur.com/uuDawKP.png" }, CurrentWrist = new Item { Id = 6, Name = "Iron Bracers", Power = 6, Type = "wrist" }, CurrentWeapon = null }; Monster m11 = new Monster { Id = 11, Name = "Giant Snake", Health = 200, Power = 10, Image = "https://i.imgur.com/eRN11KR.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m12 = new Monster { Id = 12, Name = "Lava Dragon", Health = 300, Power = 10, Image = "https://i.imgur.com/LROimXT.jpg", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = new Item { Id = 18, Name = "Dragon Dagger", Power = 50, Type = "weapon", Image = "https://i.imgur.com/kwPiOCK.png" } }; Monster m13 = new Monster { Id = 13, Name = "Magma Snake", Health = 150, Power = 10, Image = "https://i.imgur.com/vY9qsKA.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m14 = new Monster { Id = 14, Name = "Muad' Dib", Health = 75, Power = 15, Image = "https://i.imgur.com/XwCpGCs.png", CurrentHelmet = null, CurrentChest = new Item { Id = 26, Name = "Medium Potion", Power = 100, Type = "heal", Image = "https://i.imgur.com/qDkCEFe.png" }, CurrentWrist = null, CurrentWeapon = new Item { Id = 17, Name = "Twin Daggers", Power = 25, Type = "weapon", Image = "https://i.imgur.com/1BCiVsW.png" } }; Monster m15 = new Monster { Id = 15, Name = "Mummy", Health = 200, Power = 5, Image = "https://i.imgur.com/DbxfIiD.png", CurrentHelmet = new Item { Id = 27, Name = "Large Potion", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" }, CurrentChest = new Item { Id = 26, Name = "Medium Potion", Power = 100, Type = "heal", Image = "https://i.imgur.com/qDkCEFe.png" }, CurrentWrist = null, CurrentWeapon = new Item { Id = 27, Name = "Large Potion", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" } }; Monster m16 = new Monster { Id = 16, Name = "Old Man", Health = 30, Power = 1, Image = "https://i.imgur.com/Ue8lKY1.png", CurrentHelmet = new Item { Id = 27, Name = "Large Potion", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" }, CurrentChest = new Item { Id = 26, Name = "Medium Potion", Power = 100, Type = "heal", Image = "https://i.imgur.com/qDkCEFe.png" }, CurrentWrist = null, CurrentWeapon = new Item { Id = 27, Name = "Large Potion", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" } }; Monster m17 = new Monster { Id = 17, Name = "Rock Golem", Health = 200, Power = 10, Image = "https://i.imgur.com/pBKoMd6.png", CurrentHelmet = new Item { Id = 27, Name = "Large Potion", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" }, CurrentChest = new Item { Id = 26, Name = "Medium Potion", Power = 100, Type = "heal", Image = "https://i.imgur.com/qDkCEFe.png" }, CurrentWrist = null, CurrentWeapon = new Item { Id = 11, Name = "War Hammer", Power = 40, Type = "weapon", Image = "https://i.imgur.com/nNjnfMu.png" } }; Monster m18 = new Monster { Id = 18, Name = "Sand Worm", Health = 100, Power = 15, Image = "https://i.imgur.com/PSJ2dEv.png", CurrentHelmet = new Item { Id = 27, Name = "Large Potion", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" }, CurrentChest = new Item { Id = 26, Name = "Medium Potion", Power = 100, Type = "heal", Image = "https://i.imgur.com/qDkCEFe.png" }, CurrentWrist = null, CurrentWeapon = null }; Monster m19 = new Monster { Id = 19, Name = "Ice Golem", Health = 300, Power = 10, Image = "https://i.imgur.com/1Aj1njR.png", CurrentHelmet = new Item { Id = 3, Name = "Plate Helm", Power = 20, Type = "helmet", Image = "https://i.imgur.com/MSLjTpx.png" }, CurrentChest = new Item { Id = 7, Name = "Plate Armor", Power = 25, Type = "chest", Image = "https://i.imgur.com/ilIaLPc.png" }, CurrentWrist = null, CurrentWeapon = new Item { Id = 9, Name = "Maul", Power = 60, Type = "weapon", Image = "https://i.imgur.com/hXAEbM1.png" } }; Monster m20 = new Monster { Id = 20, Name = "Noah after this Week", Health = 200, Power = 20, Image = "https://i.imgur.com/C7pmDXw.png", CurrentHelmet = new Item { Id = 27, Name = "Dank Meme Sauce", Power = 200, Type = "heal", Image = "https://i.imgur.com/DdBNUSi.png" }, CurrentChest = new Item { Id = 26, Name = "Meme Sauce", Power = 100, Type = "heal", Image = "https://i.imgur.com/qDkCEFe.png" }, CurrentWrist = null, CurrentWeapon = null }; Monster m21 = new Monster { Id = 21, Name = "Toxic Cloud", Health = 100, Power = 10, Image = "https://i.imgur.com/l0hl017.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m22 = new Monster { Id = 22, Name = "Vicious Cloud Dog", Health = 75, Power = 15, Image = "https://i.imgur.com/tgvAYnF.jpg", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m23 = new Monster { Id = 23, Name = "Imp", Health = 250, Power = 15, Image = "https://i.imgur.com/iCaGpRE.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = new Item { Id = 19, Name = "Explosive Staff", Power = 60, Type = "weapon", Image = "https://i.imgur.com/u0JVNz2.png" } }; Monster m24 = new Monster { Id = 24, Name = "Wolf", Health = 55, Power = 5, Image = "https://i.imgur.com/AvbsjzM.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; Monster m25 = new Monster { Id = 25, Name = "King of Redwood", Health = 400, Power = 30, Image = "https://i.imgur.com/QeYrLVx.png", CurrentHelmet = new Item { Id = 3, Name = "Plate Helm", Power = 20, Type = "helmet", Image = "https://i.imgur.com/MSLjTpx.png" }, CurrentChest = new Item { Id = 7, Name = "Plate Armor", Power = 25, Type = "Chest", Image = "https://i.imgur.com/ilIaLPc.png" }, CurrentWrist = null, CurrentWeapon = new Item { Id = 15, Name = "EPIC Sword", Power = 70, Type = "weapon", Image = "https://i.imgur.com/poj0jfC.png" } }; Monster m26 = new Monster { Id = 26, Name = "Hooded Figure", Health = 500, Power = 50, Image = "https://i.imgur.com/QeYrLVx.png", CurrentHelmet = null, CurrentChest = null, CurrentWrist = null, CurrentWeapon = null }; } }
public PlayersController(SnoahRpgContext context) { _context = context; }