• 📚 Admin Project Update: Added a new feature to PictureBooks.io called Story Worlds. It lets your child become the hero of beloved classic tales! Choose from worlds like Alice in Wonderland, Wizard of Oz, Peter Pan, The Jungle Book, Treasure Island, Arabian Nights, or Robin Hood. Give it a try and let me know what you think!

CIVICS XML screw up???

Dearmad

Dead weight
Joined
Aug 18, 2001
Messages
1,527
Beyond the sword v3.03:

When modifying building happiness effects in the civics xml file... if you write:
building_barracks as the building that should cause happiness in the game it makes it the bunker... as if it selected a building 4 ros down on the XML file. So I changed it to Building_castle and NOW it says (in game) Barracks!

Does anyone understand why this started happening... it's really a . .. .. .. .. .. :mad:
 
We should use BUILDINGCLASS_BARRACKS there, not BUILDING_BARRACKS. Though the tag named "BuildingType" :D

Code:
			<BuildingHappinessChanges>
				<BuildingHappinessChange>
					<BuildingType>[B]BUILDINGCLASS_BARRACKS[/B]</BuildingType>
					<iHappinessChange>2</iHappinessChange>
				</BuildingHappinessChange>
			</BuildingHappinessChanges>
 
Back
Top Bottom