public TreasureMapEntry(TreasureMapEntry.TreasureMapID enMapID, Level.ZoneEnum enZone, Vector2 v2BuriedPos, Trophies.TrophyReward xReward, FlagCodex.FlagID enFlag) { this.enMapID = enMapID; this.enFlag = enFlag; this.v2BuriedPos = v2BuriedPos; this.xReward = xReward; this.enZone = enZone; }
public static TreasureMapEntry GetTreasureMapEntry(TreasureMapEntry.TreasureMapID enID) { TreasureMapEntry ret = null; string sStandardPath = "GUI/InGameMenu/Journal/Maps/"; if (enID == TreasureMapEntry.TreasureMapID.TreasureMap01) { Trophies.ItemReward xreward = new Trophies.ItemReward(ItemCodex.ItemTypes._Misc_Furniture_Plant01); ret = new TreasureMapEntry(enID, Level.ZoneEnum.FirstVillage_Outside, new Vector2(1003f, 246f), xreward); ret.sAssetPath = sStandardPath + "Map001"; ret.sName = "Treasure Map #001"; ret.enCategory = TreasureMapEntry.TreasureMapCategory.GrayScreen; } else if (enID == TreasureMapEntry.TreasureMapID.TreasureMap02) { Trophies.ItemReward xreward2 = new Trophies.ItemReward(ItemCodex.ItemTypes._Hat_ChefHat); ret = new TreasureMapEntry(enID, Level.ZoneEnum.EvergrindFields_West, new Vector2(373f, 620f), xreward2); ret.sName = "Treasure Map #002"; ret.bIsText = true; ret.enCategory = TreasureMapEntry.TreasureMapCategory.Text; ret.sText = "In the place where leaves fall,\nstart where the chicken sleeps\ntake one step down\ntake sixteen steps to the left\ntake four steps down\nand find the root of riches to your left."; } else if (enID == TreasureMapEntry.TreasureMapID.TreasureMap03) { Trophies.ItemReward xreward3 = new Trophies.ItemReward(ItemCodex.ItemTypes._Misc_Furniture_Clock01); ret = new TreasureMapEntry(enID, Level.ZoneEnum.EvergrindFields_South, new Vector2(761f, 440f), xreward3); ret.sAssetPath = sStandardPath + "Map003"; ret.sName = "Treasure Map #003"; ret.enCategory = TreasureMapEntry.TreasureMapCategory.RiddleOrDrawing; } else if (enID == TreasureMapEntry.TreasureMapID.TreasureMap04) { Trophies.CoinReward xreward4 = new Trophies.CoinReward(250); ret = new TreasureMapEntry(enID, Level.ZoneEnum.FirstPillarMountainTop, new Vector2(1785f, 414f), xreward4); ret.sAssetPath = sStandardPath + "Map004"; ret.sName = "Treasure Map #004"; ret.enCategory = TreasureMapEntry.TreasureMapCategory.GrayScreen; } else if (enID == TreasureMapEntry.TreasureMapID.TreasureMap05) { Trophies.ItemReward xreward5 = new Trophies.ItemReward(ItemCodex.ItemTypes._Hat_Mossa); ret = new TreasureMapEntry(enID, Level.ZoneEnum.FirstPillarMountainMid, new Vector2(1345f, 549f), xreward5); ret.sName = "Treasure Map #005"; ret.bIsText = true; ret.enCategory = TreasureMapEntry.TreasureMapCategory.Text; ret.sText = "I hid my most beloved possession in the Pillar Mountains. \n\nI buried it in a place that reminded me of my father: a strong man, hard as rock, raising two children by his side. \n\nI pray to every god there is that this item does not fall into the wrong hands...\n\n\n- Master Mafoosa"; } else if (enID == TreasureMapEntry.TreasureMapID.TreasureMap06) { Trophies.CoinReward xreward6 = new Trophies.CoinReward(250); ret = new TreasureMapEntry(enID, Level.ZoneEnum.EvergrindCity_Main, new Vector2(88f, 909f), xreward6); ret.sAssetPath = sStandardPath + "Map006"; ret.sName = "Treasure Map #006"; ret.enCategory = TreasureMapEntry.TreasureMapCategory.RiddleOrDrawing; } else if (enID == TreasureMapEntry.TreasureMapID.TreasureMap07) { Trophies.CoinReward xreward7 = new Trophies.CoinReward(250); ret = new TreasureMapEntry(enID, Level.ZoneEnum.HalloweenForestEast, new Vector2(702f, 1083f), xreward7); ret.sAssetPath = sStandardPath + "Map007"; ret.sName = "Treasure Map #007"; ret.enCategory = TreasureMapEntry.TreasureMapCategory.RiddleOrDrawing; } else if (enID == TreasureMapEntry.TreasureMapID.TreasureMap08) { Trophies.CoinReward xreward8 = new Trophies.CoinReward(500); ret = new TreasureMapEntry(enID, Level.ZoneEnum.EvergrindFields_West, new Vector2(542f, 122f), xreward8); ret.sAssetPath = sStandardPath + "Map008"; ret.sName = "Treasure Map #008"; ret.enCategory = TreasureMapEntry.TreasureMapCategory.GrayScreen; } return ret; }