adding basic resources to a new building - CIV G&K

Cash42

Chieftain
Joined
May 15, 2011
Messages
7
I'm truly sorry folks, I know this has been posted somewhere but I've been lkooking all afternoon (learned a lot but not what I'm looking for)

I need the syntax to add gold, science, or food to a new building type. I've got the building showing up in game complete with maint cost but can't get any further. I have the syntax for yeild changes, but that doesn't quite do it. This would be like:

A tax collection office that adds 1 gold per turn. Research labs that add 1 science etc. Any help?

TIA

Moderator Action: Moved to the main forum.
Because the tutorials subforum is only for tutorials, not for questions ;).
 
Can't you just see how it's done for existing buildings in the original XML files? It's like this:
Code:
<GameData>
	<Building_YieldChanges>
		<Row>
			<BuildingType>BUILDING_LABORATORY</BuildingType>
			<YieldType>YIELD_SCIENCE</YieldType>
			<Yield>4</Yield>
		</Row>
	</Building_YieldChanges>
</GameData>
 
I have seen that but I thought that the resource had to be available at a referenced resource to be adjusted. Over thought it I suppose.

Thanks for answering and sorry to ahve asked such a stupid question.
 
Back
Top Bottom