Hey everyone Im rather new to trying to accomplish modding on my own. Ive recently relatively successfuly combined 2 mods (Thomas war 3.5a and Petromod) into one nice package. They only problem ive come up with now is that when you go to build a refinery in your city to is supposed to found a eco-oil fanchaise in the city ( rewritten standard ethanol). In the vanilla petromod this does concure but with the combine I cant get it to happen.
Here is the python code i borrowed from the petromod creator to try and copy the event.
if iBuildingType == CvUtil.findInfoTypeNum
(gc.getBuildingInfo, gc.getNumBuildingInfos(), "BUILDING_REFINERY"):
icorp = CvUtil.findInfoTypeNum(gc.getCorporationInfo,
gc.getNumCorporationInfos(), "CORPORATION_3")
pCity.setHasCorporation(icorp, 1, 1, 1)
Now if copied the rest of the mod in with success its just this last part im trying to make seamless and make it into a nice combined mod.
If anyone has some insight Id appreciate it.
Here is the python code i borrowed from the petromod creator to try and copy the event.
if iBuildingType == CvUtil.findInfoTypeNum
(gc.getBuildingInfo, gc.getNumBuildingInfos(), "BUILDING_REFINERY"):
icorp = CvUtil.findInfoTypeNum(gc.getCorporationInfo,
gc.getNumCorporationInfos(), "CORPORATION_3")
pCity.setHasCorporation(icorp, 1, 1, 1)
Now if copied the rest of the mod in with success its just this last part im trying to make seamless and make it into a nice combined mod.
If anyone has some insight Id appreciate it.