Adding extra trade routes to a building?

hyface

Chieftain
Joined
Mar 14, 2009
Messages
17
I've tried putting this in a little mod and it doesn't work. Can I get some help? :goodjob:
Code:
<GameData>
	<Buildings>
		<Update>
			<Set NumTradeRouteBonus="1"/>
			<Where Type="BUILDING_CARAVANSARY"/>
		</Update>
	</Buildings>
</GameData>
 

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,612
Location
Near Portsmouth, UK
At a guess, you've omitted the OnModActivated->UpdateDatabase entry

If not that, please zip the complete mod (the one in the MODS sub-directory, NOT the ModBuddy project) and attach that to you post, as it's much easier to debug the complete mod than parts of it
 

hyface

Chieftain
Joined
Mar 14, 2009
Messages
17
At a guess, you've omitted the OnModActivated->UpdateDatabase entry

If not that, please zip the complete mod (the one in the MODS sub-directory, NOT the ModBuddy project) and attach that to you post, as it's much easier to debug the complete mod than parts of it
Got it thanks! :)
 

zukenft

Xx420NoWondeRHon0rStaRtxX
Joined
Aug 20, 2013
Messages
163
ha, I thought about this also. have you tested how this virtually unlimited trade routes effect the late game, especially on a huge map? would the game break once there are too many trade routes?

I guess there's a way to limit it, like making the building require a strategic resource or can only be built in river etc.
 
Top Bottom