Help with adding Loyalty to fishing boats and stave church. There is no YIELD_LOYALTY?

Casworon

Prince
Joined
Aug 9, 2014
Messages
548
Hi.

Was making a mod to buff Norway and i had the idea of adding loyalty to fishing boats and the stave church. I thought it would be quite simple, adding it to the fishing boats the same way you would add YIELD_PRODUCTION or YIELD_FAITH.

But searching the database YIELD_LOYALTY doesn't exist. So i'm kind of stumped on how to do this, was wondering if a more experienced modder could help show me the right direction
 
Code:
	<Modifiers>
		<Row>
			<ModifierId>OPEN_AIR_MUSEUM_LOYALTY</ModifierId>
			<ModifierType>MODIFIER_SINGLE_CITY_ADJUST_IDENTITY_PER_TURN</ModifierType>
		</Row>
	</Modifiers>
	<ModifierArguments>
		<Row>
			<ModifierId>OPEN_AIR_MUSEUM_LOYALTY</ModifierId>
			<Name>Amount</Name>
			<Value>2</Value>
		</Row>
	</ModifierArguments>
	<ImprovementModifiers>
		<Row>
			<ImprovementType>IMPROVEMENT_OPEN_AIR_MUSEUM</ImprovementType>
			<ModifierId>OPEN_AIR_MUSEUM_LOYALTY</ModifierId>
		</Row>
	</ImprovementModifiers>
It's done by a modifier and the modifier's arguments
 
Back
Top Bottom