This code comes from a videogame,i need to add various items of this type,but when i change locations in a new script duped,there is an existing key with same parameter,how can i change key value for each one?Thank you so much,Here is the important code from script:
`
protected Dictionary<Point3D, Map> ListOfLocations = new Dictionary<Point3D, Map>()
{
{ new Point3D(1185, 1838, 0), Map.Felucca },
{ new Point3D(1215, 1809, 0), Map.Felucca },
{ new Point3D(1215, 1839, 0), Map.Felucca },
{ new Point3D(1214, 1839, 0), Map.Trammel },
};
public Point3D GetRandomLocation()
{
return ListOfLocations.ElementAt(Utility.Random(0, ListOfLocations.Count)).Key;
}
`