rem: addResource ("Food", 0); addResource ("Wood", 0); addResource ("Stone", 0); addResource ("Ore", 0); 
add: addResource ("Food", getGUIObjectByName ("pgSessionSetupResourceFoodCounter").caption); addResource ("Wood", getGUIObjectByName ("pgSessionSetupResourceWoodCounter").caption); addResource ("Stone", getGUIObjectByName ("pgSessionSetupResourceStoneCounter").caption); addResource ("Ore", getGUIObjectByName ("pgSessionSetupResourceOreCounter").caption); 
context: function createResources(){	// Defines all resource types for future use.	addResource ("Food", 0);	addResource ("Wood", 0);	addResource ("Stone", 0);	addResource ("Ore", 0);	addResource ("Population", 0);	addResource ("Housing", 0);}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/580cbdef5256984392214ed10a0aa9260f682d48/functions_sim_player.js/clean/binaries/data/mods/official/gui/test/functions_sim_player.js