message: Fixing cores disappearing
diff: -/*Copyright(c) 2017 The Paradox Game Converters Project
  +/*Copyright(c) 2018 The Paradox Game Converters Project
  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files(the "Software"), to deal
  @@ -70,11 +70,25 @@ EU4Province::EU4Province(shared_ptr<Object> obj)
  cores.clear();
  vector<shared_ptr<Object>> coreObjs; // the object holding the cores
  - coreObjs = obj->getValue("core");
  + coreObjs = obj->getValue("cores");
  + if (coreObjs.size() != 1)
  + {
  + coreObjs = obj->getValue("core"); // pre 1.23 cores
  for (unsigned int i = 0; i < coreObjs.size(); i++)
  {
  cores.push_back(coreObjs[i]->getLeaf());
  }
  + }
  + else
  + {
  + vector<string> coreStrs = coreObjs[0]->getTokens();// 1.23 onwards
  + for (auto coreStr : coreStrs)
  + {
  + cores.push_back(coreStr);
  + }
  + }
  +
  +
  vector<shared_ptr<Object>> hreObj = obj->getValue("hre");
  if ((hreObj.size() > 0) && (hreObj[0]->getLeaf() == "yes"))
  