rem: case "Population": case "Housing": 
add: case "population": case "housing": 
context: function entityCancelProduction( evt ){	console.write("CancelProduction: " + evt.productionType + " " + evt.name);		if(evt.productionType == PRODUCTION_TRAIN) 	{		// Give back all the resources spent on this entry.		var template = getEntityTemplate( evt.name, this.player );		var pool = template.traits.creation.resource;		for ( resource in pool )		{			switch ( getGUIGlobal().toTitleCase(resource.toString()) )			{				case "Population":				case "Housing":				break;				default:					// Deduct the given quantity of resources.					getGUIGlobal().addResources (resource.toString(), parseInt(pool[resource]));					console.write ("Got back " + pool[resource] + " " + resource + " from cancelling " + 						template.traits.id.generic);				break;			}		}	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/7dd219756b44102fbab2e7cc9ffbd5a04a4422b3/entity_functions.js/buggy/binaries/data/mods/official/scripts/entity_functions.js