Fixing a mod mod (fishing boat on custom resource on reef)

Jewser

Chieftain
Joined
Mar 23, 2019
Messages
13
I'm using Resourceful 2 and Resourceful 2 tamed. The latter makes some changes to the former, amongst which is making a custom resource (Coral) appear only on reef.

Unfortunately it doesn't update
Code:
Improvement_ValidResources
, so one cannot build a fishing boat on that resource.

My attempts to fix this have failed, and I'm wondering why.
Code from Resourceful 2 (think this is the only relevant part)
Code:
<Improvement_ValidResources>

    <Row ImprovementType="IMPROVEMENT_FISHING_BOATS" ResourceType="RESOURCE_CORAL"/>
</Improvement_ValidResources>
in Resourceful 2 tamed:
Code:
<Resource_ValidTerrains>
<Delete ResourceType="RESOURCE_CORAL" TerrainType="TERRAIN_COAST"/>
</Resource_ValidTerrains>

<Resource_ValidFeatures>
<Row ResourceType="RESOURCE_CORAL" FeatureType="FEATURE_REEF"/>
</Resource_ValidFeatures>
My latest failed attempt at fixing this was to add:

Code:
<Improvement_ValidResources>
<Replace ImprovementType="IMPROVEMENT_FISHING_BOATS"  ResourceType="RESOURCE_CORAL"  MustRemoveFeature="false"/>
</Improvement_ValidResources>


I know nothing about modding aside from what I can figure out by looking at mods :(
 
As was made for <Resource_ValidTerrains>, use a Delete first at <Improvement_ValidResources>

Will do, thanks! Haven't got a map with the new resource again yet, but as it turns out, I somehow ended up editing a backup of the mod file, which is probably why all the changes I made did nothing... :blush:
 
Back
Top Bottom