How to set Palace science to 1?

JohnnyW

Gave up on this game
Joined
Oct 8, 2010
Messages
658
Location
USA
Simple Q, just started trying to code some stuff, nothing works that I do.

Tried:

Spoiler :
<GameData>
<Building_YieldChanges>
<Set Yield="1" />
<Where BuildingType="BUILDING_PALACE" YieldType="YIELD_SCIENCE" />
</Building_YieldChanges>
</GameData>

Gave me 3.
Spoiler :
<GameData>
<Building_YieldChanges>
<Delete BuildingType="BUILDING_PALACE" YieldType="YIELD_SCIENCE" />
<Set Yield="1" />
<Where BuildingType="BUILDING_PALACE" YieldType="YIELD_SCIENCE" />
</Building_YieldChanges>
</GameData>

Gave me 3.

Tried several other things, but they all give me 3. The mod is loading because when I put
Spoiler :
<GameData>
<Building_YieldChanges>
<Delete BuildingType="BUILDING_PALACE" YieldType="YIELD_SCIENCE" />
</Building_YieldChanges>
</GameData>

It gave 0 science.


Really getting frustrated at my lack of understanding of why one of the above doesn't work. Please help, thanks.
 
You forgot to put your set/where in between <Update></Update> :p
 
You forgot to put your set/where in between <Update></Update> :p

:mad:

This worked:
Spoiler :
<GameData>
<Building_YieldChanges>
<Update>
<Set Yield="1" />
<Where BuildingType="BUILDING_PALACE" YieldType="YIELD_SCIENCE" />
</Update>
</Building_YieldChanges>
</GameData>


Thank you!!! I'm so noob. :( Well, we all gotta start somewhere. =)
 
Hey, I've basically spent the last 8 hours modding into a brick wall, we all have modding annoyances :D I think I'd just better abandon the thought of global food until the dll.
 
Top Bottom