<root>
<quest name="act3quest1" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act2quest8"></param>
		</cmd>
		
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q01_GIANNA"></param>
			<param name="pmsg" value="ACT3_Q01_GIANNA_PHONE"></param>
			<param name="gfx" value="phone_gianna"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
	<function name="begin">		
		<cmd cmd="buildingsetstate">
			<param name="building" value="tr_britney"></param>
			<param name="people" value="1"></param>
			<param name="building" value="tr_cine"></param>
			<param name="people" value="1"></param>
			<param name="building" value="tr_cafe"></param>
			<param name="people" value="1"></param>
			<param name="building" value="tr_french"></param>
			<param name="people" value="1"></param>
			<param name="building" value="tr_japanese"></param>
			<param name="people" value="1"></param>
		</cmd>
		
		<cmd cmd="texticonquest">
			<param name="building" value="tr_cafe" />
			<param name="setarrow" value="giannacharglobe" />
			<param name="seticon" value="giannaquestbar"></param>
			<param name="settext" value="ACT3_Q01_ICONTEXT01"></param>
		</cmd>
		
		<cmd cmd="settownvisible">
			<param name="town" value="tr"></param>
			<param name="visible" value="true"></param>
		</cmd>
		
		<cmd cmd="setbonuses">
			<param name="town" value="tr"></param>
			<param name="bonuses" value="5"></param>
			<param name="set" value="1"></param>
		</cmd>
		
		<cmd cmd="mmbuildingsetstate">
			<param name="town" value="tr"></param>
			<param name="building" value="tr_cafe"></param>
			<param name="visible" value="true"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_cafe"></param>
			<param name="dialog" value="ACT3_Q01_ST01"></param>
			<param name="onok" value="step2"></param>
		</cmd>
	</function>
	
	<function name="step2">
		<cmd cmd="texticonquest">
			<param name="setarrow" value="" />
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q01_ICONTEXT02"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_cafe"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="bernice_door"></param>
			<param name="dialog" value="ACT3_Q01_ST02"></param>
			<param name="oncomplete" value="step3"></param>
		</cmd>
	</function>
	
	<function name="step3">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
		</cmd>
	
		<cmd cmd="buildingsetdialog">
			<param name="building" value="bernice_door"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="addreputation">
			<param name="value" value="10"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>

<quest name="act3quest2" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest1"></param>
		</cmd>
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q02_KEVIN"></param>
			<param name="pmsg" value="ACT3_Q02_KEVIN_PHONE"></param>
			<param name="gfx" value="phone_kevin"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
	<function name="begin">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="kevinquestbar"></param>
			<param name="settext" value="ACT3_Q02_ICONTEXT01"></param>
		</cmd>
		
		<cmd cmd="setbonuses">
			<param name="town" value="ch"></param>
			<param name="bonuses" value="5"></param>
			<param name="set" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_kevin"></param>
			<param name="dialog" value="ACT3_Q02_ST01"></param>
			<param name="oncomplete" value="step2"></param>
		</cmd>
	</function>

	<function name="step2">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="kevinquestbar"></param>
			<param name="settext" value="ACT3_Q02_ICONTEXT02"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_kevin"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_photo"></param>
			<param name="dialog" value="ACT3_Q02_ST02"></param>
			<param name="oncomplete" value="step3"></param>
		</cmd>
	</function>
	
	<function name="step3">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_photo"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="addreputation">
			<param name="value" value="10"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>


<quest name="act3quest3" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest2"></param>
		</cmd>
		
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q03_GIANNA"></param>
			<param name="pmsg" value="ACT3_Q03_GIANNA_PHONE"></param>
			<param name="gfx" value="phone_gianna"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
	<function name="begin">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="giannaquestbar"></param>
			<param name="settext" value="ACT3_Q03_ICONTEXT01"></param>
		</cmd>
		
		<cmd cmd="setbonuses">
			<param name="town" value="tr"></param>
			<param name="bonuses" value="5"></param>
			<param name="set" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_cafe"></param>
			<param name="dialog" value="ACT3_Q03_ST01"></param>
			<param name="oncomplete" value="step2"></param>
		</cmd>
	</function>
	
	<function name="step2">
		<cmd cmd="texticonquest">
			<param name="building" value="tr_japanese" />
			<param name="setarrow" value="norikocharglobe" />
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q03_ICONTEXT02"></param>
		</cmd>
		
		<cmd cmd="mmbuildingsetstate">
			<param name="town" value="tr"></param>
			<param name="building" value="tr_japanese"></param>
			<param name="visible" value="true"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_cafe"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="dialog" value="ACT3_Q03_ST02"></param>
			<param name="oncomplete" value="step3"></param>
		</cmd>
	</function>
	
	<function name="step3">
		<cmd cmd="texticonquest">
			<param name="setarrow" value="" />
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q03_ICONTEXT03"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_hindu"></param>
			<param name="dialog" value="ACT3_Q03_ST03"></param>
			<param name="oncomplete" value="step4"></param>
		</cmd>
	</function>
	
	<function name="step4">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q03_ICONTEXT02"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_hindu"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="dialog" value="ACT3_Q03_ST04"></param>
			<param name="oncomplete" value="step5"></param>
		</cmd>
	</function>
	
	<function name="step5">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="addreputation">
			<param name="value" value="10"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>

<quest name="act3quest4" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest2"></param>
		</cmd>
		
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q04_PAULA"></param>
			<param name="pmsg" value="ACT3_Q04_PAULA_PHONE"></param>						
			<param name="gfx" value="phone_paula"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
	<function name="begin">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="paulaquestbar"></param>
			<param name="settext" value="ACT3_Q04_ICONTEXT01"></param>
		</cmd>
		
		<cmd cmd="setbonuses">
			<param name="town" value="ch"></param>
			<param name="bonuses" value="5"></param>
			<param name="set" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_photo"></param>
			<param name="dialog" value="ACT3_Q04_ST01"></param>
			<param name="oncomplete" value="step2"></param>
		</cmd>
	</function>
	
	<function name="step2">
		<cmd cmd="texticonquest">
			<param name="building" value="tr_firststore_commercial" />
			<param name="setarrow" value="penelopecharglobe" />
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q04_ICONTEXT02"></param>
		</cmd>
		
		<cmd cmd="mmbuildingsetstate">
			<param name="town" value="tr"></param>
			<param name="building" value="tr_firststore_commercial"></param>
			<param name="visible" value="true"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_photo"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_firststore_commercial"></param>
			<param name="dialog" value="ACT3_Q04_ST02"></param>
			<param name="oncomplete" value="step3"></param>
		</cmd>
	</function>
	
	<function name="step3">
		<cmd cmd="texticonquest">
			<param name="setarrow" value="" />
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q04_ICONTEXT03"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_firststore_commercial"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_cakestore"></param>
			<param name="dialog" value="ACT3_Q04_ST03"></param>
			<param name="oncomplete" value="step4"></param>
		</cmd>
	</function>
	
	<function name="step4">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q04_ICONTEXT04"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_cakestore"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_firststore_commercial"></param>
			<param name="dialog" value="ACT3_Q04_ST04"></param>
			<param name="oncomplete" value="step6"></param>
		</cmd>
	</function>
	
	<function name="step6">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_firststore_commercial"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetstate">
			<param name="building" value="tr_firststore_commercial"></param>
			<param name="state" value="normal"></param>
			<param name="newstate" value="open"></param>
		</cmd>
		
		<cmd cmd="addreputation">
			<param name="value" value="10"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>

<quest name="act3quest5" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest4"></param>
			<param name="questname" value="act3quest3"></param>
		</cmd>
		
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q05_GIANNA"></param>
			<param name="pmsg" value="ACT3_Q05_GIANNA_PHONE"></param>
			<param name="gfx" value="phone_gianna"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
	<function name="begin">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="giannaquestbar"></param>
			<param name="settext" value="ACT3_Q05_ICONTEXT01"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_kevin"></param>
			<param name="dialog" value="ACT3_Q05_ST01"></param>
			<param name="oncomplete" value="step2"></param>
		</cmd>
	</function>
	
	<function name="step2">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_kevin"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="showstory">
			<param name="story" value="act3_story01"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>

<quest name="act3quest5b" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest5"></param>
		</cmd>
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q05B_PENELOPE"></param>
			<param name="pmsg" value="ACT3_Q05B_PENELOPE_PHONE"></param>
			<param name="gfx" value="phone_penelope"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
	<function name="begin">
		<cmd cmd="buildingsetstate">
			<param name="building" value="tr_firststore_commercial"></param>
			<param name="interactivity" value="2"></param>
		</cmd>
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>

<quest name="act3quest6" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest4"></param>
			<param name="questname" value="act3quest3"></param>
		</cmd>
		
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q06_NORIKO"></param>
			<param name="pmsg" value="ACT3_Q06_NORIKO_PHONE"></param>
			<param name="gfx" value="phone_noriko"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
	<function name="begin">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="norikoquestbar"></param>
			<param name="settext" value="ACT3_Q06_ICONTEXT01"></param>
		</cmd>
		
		<cmd cmd="setbonuses">
			<param name="town" value="tr"></param>
			<param name="bonuses" value="5"></param>
			<param name="set" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="dialog" value="ACT3_Q06_ST01"></param>
			<param name="oncomplete" value="step2"></param>
		</cmd>
	</function>
	
	<function name="step2">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q06_ICONTEXT02"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_photo"></param>
			<param name="dialog" value="ACT3_Q06_ST02"></param>
			<param name="oncomplete" value="step3"></param>
		</cmd>
	</function>
	
	<function name="step3">
		<cmd cmd="texticonquest">
			<param name="building" value="tr_britney" />
			<param name="setarrow" value="britneyshadowcharglobe" />
			<param name="clearall" value="1"></param>
			<param name="seticon" value="zoequestbar"></param>
			<param name="settext" value="ACT3_Q06_ICONTEXT03"></param>
		</cmd>
		
		<cmd cmd="mmbuildingsetstate">
			<param name="town" value="tr"></param>
			<param name="building" value="tr_britney"></param>
			<param name="visible" value="true"></param>
		</cmd>
				
		<cmd cmd="buildingsetdialog">
			<param name="building" value="ch_photo"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_britney"></param>
			<param name="dialog" value="ACT3_Q06_ST03"></param>
			<param name="oncomplete" value="step4"></param>
		</cmd>
	</function>
	
	<function name="step4">
		<cmd cmd="texticonquest">
			<param name="setarrow" value="" />
			<param name="clearall" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_britney"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="addreputation">
			<param name="value" value="10"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>

<quest name="act3quest7" type="request">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest5"></param>
			<param name="questname" value="act3quest6"></param>
		</cmd>
	</function>
	
	<function name="begin">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="bernicequestbar"></param>
			<param name="settext" value="ACT3_Q07_ICONTEXT01"></param>
		</cmd>
		
		<cmd cmd="setbonuses">
			<param name="town" value="tr"></param>
			<param name="bonuses" value="5"></param>
			<param name="set" value="1"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="bernice_door"></param>
			<param name="dialog" value="ACT3_Q07_ST01"></param>
			<param name="oncomplete" value="step2"></param>
		</cmd>
	</function>
	
	<function name="step2">
		<cmd cmd="buildingsetdialog">
			<param name="building" value="bernice_door"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>

<quest name="act3quest7b" type="event">
	<function name="requires">
		<cmd cmd="questdone">
			<param name="questname" value="act3quest7"></param>
		</cmd>
		
		<cmd cmd="fireevent">
			<param name="msg" value="ACT3_Q07_GIANNA"></param>
			<param name="pmsg" value="ACT3_Q07_GIANNA_PHONE"></param>
			<param name="gfx" value="phone_gianna"></param>
			<param name="add" value="1"></param>
		</cmd>
	</function>
	
		<function name="begin">
		<cmd cmd="texticonquest">
			<param name="clearall" value="1"></param>
			<param name="seticon" value="giannaquestbar"></param>
			<param name="settext" value="ACT3_Q07_ICONTEXT02"></param>
		</cmd>
		
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="dialog" value="ACT3_Q07_ST02"></param>
			<param name="oncomplete" value="step2"></param>
		</cmd>
	</function>
	
	<function name="step2">
		<cmd cmd="buildingsetdialog">
			<param name="building" value="tr_japanese"></param>
			<param name="cleardialogs" value="1"></param>
		</cmd>
		
		<cmd cmd="showstory">
			<param name="story" value="act3_story04"></param>
		</cmd>
		
		<cmd cmd="addreputation">
			<param name="value" value="20"></param>
		</cmd>
		
		<cmd cmd="questcompleted"></cmd>
	</function>
</quest>
</root>