<data>
	<maps>
		<map r_name="'globalParameters'"
				 r_versionText="'1.03.002'"
				 r_version="103002000"
				 w_previousVersion="0"
				 w_gameEngineVersion="''"
				 w_debugVersion="0"
				 w_isModdable="0"
				 w_dpi="0"
				 w_GPUAvailable="0"
				 w_fps="0"
				 
				 w_isAir="0"
				 w_isAndroid="0"
				 w_isIOS="0"
				 isMobile="w_isAndroid||w_isIOS"
				 bigCSPanel="(600>w_stageHeight)&&(w_dpi>150)"
				 w_isKongregate="0"
				 w_isGooglePlay="0"
				 w_isSteam="0"
				 w_touchInput="0"
				 w_multitouch="0"
				 w_isFreeVersion="0"
				 w_userName="''"
				 
				 w_stageWidth="800"
				 w_stageHeight="600"
				 
				 r_seedPRNG="static.seedPRNG"
				 r_showConsole="w_debugVersion"
				 r_showFPS="w_debugVersion"
				 r_forceCPURendering="0"
				 r_quality="2"
				 r_cursorDragScale="static.cursorDragScale"
				 r_fullscreen="1"
				 r_nexus10Mode="0"

				 UIScale="1"
				 screenScale="1"
				 screenPixelScale="1"
				 UIScaleSettings="0"
				 rw_zoomDungeon="UIScale"
				 r_soundMusic="1"
				 r_soundMusicVolume="1"
				 r_soundEffect="1"
				 r_soundEffectVolume="1"
				 showTooltip="1"
				 defaultAutoXP="1"
				 
				 baseDifficulty="0"
				 cheatEnabled="0"
				 achievWinGameEasy="0"
				 achievWinGame="0"
				 achievWinGameAlive="0"
				 achievWinGame7Days="0"
				 achievKillRNG="0"
				 achievKillRNGAlive="0"
				 achievKillRNG7Days="0"
				 achievConjuration="0"
				 achievEnchantment="0"
				 achievEvocation="0"
				 achievTransmutation="0"
				 scoreTowerOfChaos="0"
				 
				 textLib="''"
				 logLight="1"
				 finalTextLib="textLib+(logLight?'Light':'')"
				 
				 keyAutoAttack="{'A','Q'}"
				 keyAutoExplore="{'E'}"
				 keyStairs="{'Z','W'}"
				 keyActivation="{'SPACE'}"
				 keyRest="{101,'R'}"
				 keyShowPotion="{'P'}"
				 keyShowPermanent="{'B'}"

				 keyInventory="{'I'}"
				 keyClasses="{'C'}"
				 keySkills="{'S'}"
				 keyMagic="{'M'}"
				 keyCombatLog="{'X'}"

				 keyZoomIn="{'+',107}"
				 keyZoomOut="{'-',109}"
				 keyDungeonUp="{33}"
				 keyDungeonDown="{34}"
				 
				 keyMoveUp="{104,'UP'}"
				 keyMoveDown="{98,'DOWN'}"
				 keyMoveLeft="{100,'LEFT'}"
				 keyMoveRight="{102,'RIGHT'}"
				 keyMoveUpLeft="{103}"
				 keyMoveUpRight="{105}"
				 keyMoveDownLeft="{97}"
				 keyMoveDownRight="{99}"
				 
				 keyAction0="{'F1',49}"
				 keyAction1="{'F2',50}"
				 keyAction2="{'F3',51}"
				 keyAction3="{'F4',52}"
				 keyAction4="{'F5',53}"
				 keyAction5="{'F6',54}"
				 keyAction6="{'F7',55}"
				 keyAction7="{'F8',56}"
				 keyAction8="{'F9',57}"
				 keyAction9="{'F10',48}"
				 keyAction10="{'F11'}"
				 keyAction11="{'F12'}"
				 keyAction12="{}"
				 keyAction13="{}"
				 keyAction14="{}"
				 keyAction15="{}"
				 keyAction16="{}"
				 keyAction17="{}"
				 keyAction18="{}"
				 keyAction19="{}"
				 >
			<map 	r_name="'static'"
						r_mapName="r_name"
						
						UIScaleFormula="(UIScaleSettings==0)?max(1, min(4, floor((2+floor(w_dpi/120))*w_stageHeight/470)/2)):UIScaleSettings"
						cursorDragScale="w_touchInput?(2*UIScale):UIScale"
						
						seedPRNG="0"
						
						raceList="{'Human','Dwarf','Elf','Orc','Garuda'}"
						classList="{'Warrior','Mage','Priest','Rogue'}"
						
						fontName="'Impact'"

						campaignModeAvailable="!w_isFreeVersion"
						campaignModeLocked="0"
						towerModeLocked="!w_isAir&&!w_isKongregate"
						kongregateLink="'http://www.kongregate.com/?haref=1quest&src=spon&cm=1quest'"
						kongregate1QuestLink="'http://www.kongregate.com/games/RatzNGodz/1quest?haref=1quest&src=spon&cm=1quest'"
						android1QuestLink="'https://play.google.com/store/apps/details?id=air.fr.ratzngodz.A1Quest'"
						/>
			<event r_name="'UIScaleSettingsChange'" r_template="'mainEventTemplate'" r_eventTarget="'UIScaleSettings'" r_targetType="'attribute'">
				<effect r_name="'UIScaleUpdate'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="UIScale=static.UIScaleFormula"/>
			</event>
			<event r_name="'stageWidthChange'" r_template="'mainEventTemplate'" r_eventTarget="'w_stageWidth'" r_targetType="'attribute'">
				<effect r_name="'UIScaleUpdate'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="UIScale=static.UIScaleFormula"/>
				<effect r_name="'screenScaleUpdate'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="screenScale=min(w_stageHeight/600,w_stageWidth/800)"/>
				<effect r_name="'screenPixelScaleUpdate'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="screenPixelScale=((screenScale>1)?(floor(2.66*screenScale)/2):screenScale)"/>
			</event>
			<event r_name="'stageHeightChange'" r_template="'mainEventTemplate'" r_eventTarget="'w_stageHeight'" r_targetType="'attribute'">
				<effect r_name="'UIScaleUpdate'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="UIScale=static.UIScaleFormula"/>
				<effect r_name="'screenScaleUpdate'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="screenScale=min(w_stageHeight/600,w_stageWidth/800)"/>
				<effect r_name="'screenPixelScaleUpdate'" r_template="{'mainSelfEffectTemplate','evaluationEffect'}" r_effect="screenPixelScale=((screenScale>1)?(floor(2.66*screenScale)/2):screenScale)"/>
			</event>
			
			<!-- textLib update -->
			<event r_name="'textLib'" r_template="'mainEventTemplate'" r_eventTarget="'textLib'" r_targetType="'attribute'">
				<effect r_name="'setTextLibrary'" r_template="'mainSelfEffectTemplate'" r_enabled="textLib!=''" r_type="'SetTextLibrary'" library="finalTextLib" />
			</event>
			<event r_name="'logLight'" r_template="'mainEventTemplate'" r_eventTarget="'logLight'" r_targetType="'attribute'">
				<effect r_name="'setTextLibrary'" r_template="'mainSelfEffectTemplate'" r_enabled="textLib!=''" r_type="'SetTextLibrary'" library="finalTextLib" />
			</event>
			
			<!-- achievements -->
			<eventTemplate r_name="'achievementTemplate'" r_template="'mainEventTemplate'" r_eventTarget="r_name" r_targetType="'attribute'">
				<effect r_name="'report'" r_template="'mainSelfEffectTemplate'" r_type="'ReportAchievements'"/>
			</eventTemplate>
			<event r_name="'achievWinGame'" r_template="'achievementTemplate'"/>
			<event r_name="'achievWinGameAlive'" r_template="'achievementTemplate'"/>
			<event r_name="'achievWinGame7Days'" r_template="'achievementTemplate'"/>
			<event r_name="'achievKillRNG'" r_template="'achievementTemplate'"/>
			<event r_name="'achievKillRNG7Days'" r_template="'achievementTemplate'"/>
			<event r_name="'achievConjuration'" r_template="'achievementTemplate'"/>
			<event r_name="'achievEnchantment'" r_template="'achievementTemplate'"/>
			<event r_name="'achievEvocation'" r_template="'achievementTemplate'"/>
			<event r_name="'achievTransmutation'" r_template="'achievementTemplate'"/>
			<event r_name="'scoreTowerOfChaos'" r_template="'achievementTemplate'"/>
			
			<!-- Version Updates -->
			<event r_name="'version'" r_template="'mainEventTemplate'" r_eventTarget="'w_gameEngineVersion'" r_targetType="'attribute'">
<!--
				<effect r_name="'clearSaveAtVersion12005'" r_template="'mainSelfEffectTemplate'" r_enabled="(r_version>=102005000)&&(102005000>w_previousVersion)" r_type="'ClearSave'"/>
-->
			</event>
			
			<!-- always executed after parameters loading -->
			<event r_name="'loaded'" r_template="'mainEventTemplate'" r_eventTarget="'w_gameEngineVersion'" r_targetType="'attribute'">
				<effect r_name="'setTextLibrary'" r_template="'mainSelfEffectTemplate'" r_enabled="textLib!=''" r_type="'SetTextLibrary'" library="finalTextLib"/>
			</event>
		</map>
	</maps>
</data>