<?xml version="1.0" encoding="ISO-8859-1"?>
<story>
	<config>
		<startLocation>msHall</startLocation>
		<errorPickUp>Du kannst das nicht aufheben!</errorPickUp>
		<errorUse>Du kannst das nicht benutzen!</errorUse>
		<errorUseWith>Du kannst das nicht benutzen!</errorUseWith>
		<errorOpen>Du kannst das nicht öffnen!</errorOpen>
		<errorClose>Du kannst das nicht schließen!</errorClose>
	</config>
	<locations>
<!-- ================================================ -->
<!-- LOCATION: msHall -->
<!-- ================================================ -->
		<location id="msHall" name="Microsoft Flur" background="img/backgrounds/background_flur.swf">
			<description>
				Du betrittst den Flur der weltbekannten Softwareschmiede Microsoft, was für ein unglaubliches Gefühl!
			</description>
			<!-- ======================= HITBOXES ======================= -->
			<hitboxes>
				<hitbox id="msHallDoorLeft" x="140" y="280" width="27" height="224" visible="1" active="0" eventClick="msHallGotoMsStairway" eventUseWith="msHallDoorLeftUseWith">
					<name>Tür</name>
					<description>Mein Gott! Du hast eine Tür zu deiner Linken entdeckt. Sie ist verschlossen.</description>
				</hitbox>
				<hitbox id="msHallDoorRight" x="641" y="284" width="28" height="217" visible="1" active="1" eventClick="msHallGotoMsOffice">
					<name>Tür</name>
					<description>Eine Tür zu deiner Rechten, offenbar ist sie nicht verschlossen.</description>
				</hitbox>
			</hitboxes>
			<!-- ======================= WORLDITEMS ======================= -->
			<worlditems>
				<worlditem id="waterdrip" x="470" y="450" picture="img/items/worlditem_waterDrip.swf" inventory="" visible="1" take="0" active="0">
					<name></name>
					<description></description>
				</worlditem>
				<worlditem id="beerbottle" x="250" y="460" picture="img/items/worlditem_becks.swf" inventory="img/items/inventory_becks.swf" visible="1" take="1" active="1" eventUseWith="beerbottleUseWith" eventOpen="beerbottleOpen" eventClose="beerbottleClose">
					<name>Becksflasche</name>
					<description>Eine handelsübliche Bierflasche (mit Inhalt), hergestellt von Interbrew bzw. Beck u. Co. aber leider verschlossen.</description>
				</worlditem>
				<worlditem id="openbeerbottle" x="250" y="460" picture="img/items/worlditem_becks.swf" inventory="img/items/inventory_becks_open.swf" visible="0" take="0" active="1">
					<name>Becksflasche (offen)</name>
					<description>Eine handelsübliche, offene Bierflasche (mit Inhalt), hergestellt von Interbrew bzw. Beck u. Co.</description>
				</worlditem>
			</worlditems>
			<!-- ======================= EVENTS ======================= -->
			<events>
				<msHallGotoMsOffice>
					<toggleWorldItemActive location="msHall">beerbottle</toggleWorldItemActive>
					<goto>msOffice</goto>
				</msHallGotoMsOffice>
				<msHallGotoMsStairway>
					<requireHitBoxActive location="msHall" falseMSG="Diese Tür ist verschlossen!">msHallDoorLeft</requireHitBoxActive>
					<requireInventoryItem falseMSG="Dir fehlt eine offene Flasche Bier um weiterzugehen!">openbeerbottle</requireInventoryItem>
					<goto>msStairway</goto>
				</msHallGotoMsStairway>
				<msHallDoorLeftUseWith>
					<requireInventoryItemUseWith falseMSG="Das scheint nicht der passende Schlüssel zu sein!">key</requireInventoryItemUseWith>
					<playSound item="img/items/sound_door.swf" />
					<print>Du hast die Tür aufgeschlossen!</print>
					<removeInventoryItem>key</removeInventoryItem>
					<toggleHitBoxActive location="msHall">msHallDoorLeft</toggleHitBoxActive>
				</msHallDoorLeftUseWith>
				<beerbottleUseWith>
					<requireInventoryItemUseWith falseMSG="Irgendwie ist dein Öffner ungeeignet.">bottleopener</requireInventoryItemUseWith>
					<print>Endlich, das Bier ist offen!</print>
					<replaceInventoryItem location="msHall" oldItem="beerbottle" oldLocation="msHall">openbeerbottle</replaceInventoryItem>
				</beerbottleUseWith>
				<beerbottleClose>
					<requireWorldItemOpen location="msHall" falseMSG="Die Flasche ist nicht offen, wie willst du sie dann schließen?">beerbottle</requireWorldItemOpen>
					<print>Du hast die Flasche geschlossen!</print>
					<toggleWorldItemOpen location="msHall">beerbottle</toggleWorldItemOpen>
				</beerbottleClose>
				<beerbottleOpen>
					<print>Du hast die Flasche geöffnet!</print>
					<toggleWorldItemOpen location="msHall">beerbottle</toggleWorldItemOpen>
				</beerbottleOpen>
			</events>
		</location>
<!-- ================================================ -->
<!-- LOCATION: msOffice -->
<!-- ================================================ -->
		<location id="msOffice" name="Microsoft Büro" background="img/backgrounds/background_office.swf">
			<description>
				Hier handelt es sich um ein stinknormales Büro, mit dem Unterschied, dass dieses hier zu Microsoft gehört.
			</description>
			<!-- ======================= HITBOXES ======================= -->
			<hitboxes>
				<hitbox id="msOfficeToMsHall" x="0" y="440" width="640" height="40" eventClick="msOfficeGotoMsHall" visible="1">
					<name>Zurück zum Flur</name>
					<description>Hier geht es zurück zu dem Flur, von dem du gekommen bist.</description>
				</hitbox>
				<hitbox id="msOfficeLampOff" x="180" y="130" width="30" height="18" eventClick="msOfficeSwitchLightOn" eventUse="msOfficeSwitchLightOn" visible="1">
					<name>Eine ausgeschaltete Lampe</name>
					<description>Eine Stehlampe, angeschlossen an eine handelsübliche Steckdose. Sie ist ausgeschaltet.</description>
				</hitbox>				
				<hitbox id="msOfficeLampOn" x="180" y="130" width="30" height="18" eventClick="msOfficeSwitchLightOff" eventUse="msOfficeSwitchLightOff" visible="0">
					<name>Eine eingeschaltete Lampe</name>
					<description>Eine Stehlampe, angeschlossen an eine handelsübliche Steckdose. Sie ist eingeschaltet.</description>
				</hitbox>				
			</hitboxes>
			<!-- ======================= WORLDITEMS ======================= -->
			<worlditems>
				<worlditem id="key" x="360" y="435" picture="img/items/worlditem_key.swf" inventory="img/items/inventory_key.swf" visible="1" take="1" active="1">
					<name>Schlüssel</name>
					<description>Ein goldener Schlüssel, der aussieht als würde er in eine ISO genormte (linke) Tür passen.</description>
				</worlditem>
				<worlditem id="bottleopener" x="300" y="437" picture="img/items/worlditem_bottle_opener.swf" inventory="img/items/inventory_bottle_opener.swf" visible="1" take="1" active="1">
					<name>Flaschenöffner</name>
					<description>Ein Flaschenöffner, der dich oder jede andere Flasche bereitwillig öffnet.</description>
				</worlditem>
				<worlditem id="msOfficeLampLightOff" x="0" y="0" picture="img/items/worlditem_msOfficeLampLightOff.swf" inventory="" visible="1" take="0" active="0">
					<name></name>
					<description></description>
				</worlditem>
				<worlditem id="monitor_light" x="175" y="241" picture="img/items/worlditem_monitor_light.swf" inventory="" visible="1" take="0" active="0">
					<name></name>
					<description></description>
				</worlditem>
			</worlditems>
			<!-- ======================= EVENTS ======================= -->
			<events>
				<msOfficeGotoMsHall>
					<goto>msHall</goto>
				</msOfficeGotoMsHall>
				<msOfficeSwitchLightOn>
					<playSound item="img/items/sound_switch.swf" />
					<print>Du hast das Licht eingeschaltet.</print>
					<toggleWorldItemVisible location="msOffice">msOfficeLampLightOff</toggleWorldItemVisible>
					<toggleHitBoxVisible location="msOffice">msOfficeLampOn</toggleHitBoxVisible>
					<toggleHitBoxVisible location="msOffice">msOfficeLampOff</toggleHitBoxVisible>
				</msOfficeSwitchLightOn>				
				<msOfficeSwitchLightOff>
					<playSound item="img/items/sound_switch.swf" />
					<print>Du hast das Licht ausgeschaltet.</print>
					<toggleWorldItemVisible location="msOffice">msOfficeLampLightOff</toggleWorldItemVisible>
					<toggleHitBoxVisible location="msOffice">msOfficeLampOn</toggleHitBoxVisible>
					<toggleHitBoxVisible location="msOffice">msOfficeLampOff</toggleHitBoxVisible>
				</msOfficeSwitchLightOff>				
			</events>
		</location>
<!-- ================================================ -->
<!-- LOCATION: msStairway -->
<!-- ================================================ -->
		<location id="msStairway" name="Microsoft Treppenhaus" background="img/backgrounds/background_stairway.swf">
			<description>
				Na super, da ist man schon bei Microsoft und dann benutzen die auch noch Treppen!
			</description>
			<!-- ======================= HITBOXES ======================= -->
			<hitboxes>
				<hitbox id="msStairwayToMsHall" x="0" y="440" width="640" height="40" eventClick="msStairwayGotoMsHall" visible="1">
					<name>Zurück zum Flur</name>
					<description>Hier geht es zurück zu dem Flur, von dem du gekommen bist.</description>
				</hitbox>
			</hitboxes>
			<!-- ======================= WORLDITEMS ======================= -->
			<worlditems>
			</worlditems>
			<!-- ======================= EVENTS ======================= -->
			<events>
				<msStairwayGotoMsHall>
					<goto>msHall</goto>
				</msStairwayGotoMsHall>
			</events>
		</location>
	</locations>
</story>