From a544badf0f3a85e6cada3a6bf2556b9c32369ff5 Mon Sep 17 00:00:00 2001
From: Rumen Nikiforov <unafraid89@gmail.com>
Date: Sat, 28 Apr 2012 03:07:03 +0000
Subject: [PATCH] BETA: DP-Part for [L5299]

---
 .../dist/game/data/faenor/Valentines.xml      |  25 ++++
 .../dist/game/data/faenor/Valentines.zip      | Bin 554 -> 0 bytes
 .../dist/game/data/xsd/faenor.xsd             | 125 ++++++++++++++++++
 3 files changed, 150 insertions(+)
 create mode 100644 L2J_DataPack_BETA/dist/game/data/faenor/Valentines.xml
 delete mode 100644 L2J_DataPack_BETA/dist/game/data/faenor/Valentines.zip
 create mode 100644 L2J_DataPack_BETA/dist/game/data/xsd/faenor.xsd

diff --git a/L2J_DataPack_BETA/dist/game/data/faenor/Valentines.xml b/L2J_DataPack_BETA/dist/game/data/faenor/Valentines.xml
new file mode 100644
index 0000000000..a91fab2f72
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/faenor/Valentines.xml
@@ -0,0 +1,25 @@
+<Event ID="Valentines Event" Active="14 Feb 2005-16 Feb 2005" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/faenor.xsd">
+	<Droplist>
+		<AllDrop Items="4209-4217" Count="1,1" Chance="5%" />
+	</Droplist>
+	<Message Type="OnJoin" Msg="Valentine's Event:\nCollect all 9 Hearts Blocks to recieve a reward!!\n(Quest Item.. All monster's have a chance to drop.)" />
+	<Npc ID="12371">
+		<Condition>
+			<Inventory Items="4209-4217" Count="1" Operation=">=" />
+		</Condition>
+		<Take>
+			<Item Items="4209-4217" Count="1" Type="OfEach" />
+		</Take>
+		<Give>
+			<Item ItemID="4625" Count="1" />
+			<Item ItemID="1540" Count="10" />
+			<Item ItemID="728" Count="10" />
+		</Give>
+		<SystemMessage Msg="Congratulations. Receive your prize." />
+	</Npc>
+	<EventEnd>
+		<Take From="AllPlayers">
+			<Item ItemID="4209-4217" />
+		</Take>
+	</EventEnd>
+</Event>
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/faenor/Valentines.zip b/L2J_DataPack_BETA/dist/game/data/faenor/Valentines.zip
deleted file mode 100644
index b564aea8502279e64d29bf727a525987064c8564..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 554
zcmWIWW@Zs#U|`^2$nWzrDp|XE-Wo;*hGu3420ox@SYl3UUP)$NYO!8LZcgo_eE-`9
z0>|RZFYP;=m?`C<{NLl{j5%IwrUa@SJ9Z)N<1z32+?H(jZP8O|f5pa_vmBf7>Cw5$
zch7epKfYW#gfA_f^|z)<>r^N1e-jR7zFfsCrgQe8OugeYmBWX>?C8Gv<Lzuld*fZx
zrk3U!Jy;&JjoqMl$0pX(o1Z)}IDbhn`#+yr)moX4c1slFxk4|o9xl&`mTRx_@B5um
z*Ltms)oJza+^ki*!lv&Enpcu4zL)V{JEz^<m7UXsyxE<+EE>5*jz#{^DXq*um}w9Z
zw!=|C#FoSO{_Wktzwckqm^)vgt3j%1YS^`fif@7{3Sa)tV=T@xw7Ov>*e+K4X{+Ae
z)tO}`UWZGB*FKxNddsJm4d+8{FEu;6zwF>SEw<~XQWwKSbA06ccW-)dGgxQ8==UAF
z8#b)p)I4$j@<lOKCYj7z4}Z|#!g9XxZN|?+vo{BSJv~3=rGdZP)RWnl0>6E%_mV50
z`$3*}?+Go5cZPMWC%RZ?Zk=||K>8r>G!NGcFSa(`3aK}^wf2_qk#CGIFV;NRp1$f?
zf7_v*7gsl3G^?4s$T9h5cVCIz{x_=q)lVk${AUXAW@Hj!z#X%|$Yo$;P*4ET=<yuj
T&B_K6WduSSAbkUvA{ZC|@8|U4

diff --git a/L2J_DataPack_BETA/dist/game/data/xsd/faenor.xsd b/L2J_DataPack_BETA/dist/game/data/xsd/faenor.xsd
new file mode 100644
index 0000000000..317f71ef4a
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/xsd/faenor.xsd
@@ -0,0 +1,125 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="Event">
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="Droplist">
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element name="AllDrop">
+								<xs:complexType>
+									<xs:simpleContent>
+										<xs:extension base="xs:string">
+											<xs:attribute type="xs:string" name="Items" />
+											<xs:attribute type="xs:string" name="Count" />
+											<xs:attribute type="xs:string" name="Chance" />
+										</xs:extension>
+									</xs:simpleContent>
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+				<xs:element name="Message">
+					<xs:complexType>
+						<xs:simpleContent>
+							<xs:extension base="xs:string">
+								<xs:attribute type="xs:string" name="Type" />
+								<xs:attribute type="xs:string" name="Msg" />
+							</xs:extension>
+						</xs:simpleContent>
+					</xs:complexType>
+				</xs:element>
+				<xs:element name="Npc">
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element name="Condition">
+								<xs:complexType>
+									<xs:sequence>
+										<xs:element name="Inventory">
+											<xs:complexType>
+												<xs:simpleContent>
+													<xs:extension base="xs:string">
+														<xs:attribute type="xs:string" name="Items" />
+														<xs:attribute type="xs:byte" name="Count" />
+														<xs:attribute type="xs:string" name="Operation" />
+													</xs:extension>
+												</xs:simpleContent>
+											</xs:complexType>
+										</xs:element>
+									</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="Take">
+								<xs:complexType>
+									<xs:sequence>
+										<xs:element name="Item">
+											<xs:complexType>
+												<xs:simpleContent>
+													<xs:extension base="xs:string">
+														<xs:attribute type="xs:string" name="Items" />
+														<xs:attribute type="xs:byte" name="Count" />
+														<xs:attribute type="xs:string" name="Type" />
+													</xs:extension>
+												</xs:simpleContent>
+											</xs:complexType>
+										</xs:element>
+									</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="Give">
+								<xs:complexType>
+									<xs:sequence>
+										<xs:element name="Item" maxOccurs="unbounded" minOccurs="0">
+											<xs:complexType>
+												<xs:simpleContent>
+													<xs:extension base="xs:string">
+														<xs:attribute type="xs:short" name="ItemID" use="optional" />
+														<xs:attribute type="xs:byte" name="Count" use="optional" />
+													</xs:extension>
+												</xs:simpleContent>
+											</xs:complexType>
+										</xs:element>
+									</xs:sequence>
+								</xs:complexType>
+							</xs:element>
+							<xs:element name="SystemMessage">
+								<xs:complexType>
+									<xs:simpleContent>
+										<xs:extension base="xs:string">
+											<xs:attribute type="xs:string" name="Msg" />
+										</xs:extension>
+									</xs:simpleContent>
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+						<xs:attribute type="xs:short" name="ID" />
+					</xs:complexType>
+				</xs:element>
+				<xs:element name="EventEnd">
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element name="Take">
+								<xs:complexType>
+									<xs:sequence>
+										<xs:element name="Item">
+											<xs:complexType>
+												<xs:simpleContent>
+													<xs:extension base="xs:string">
+														<xs:attribute type="xs:string" name="ItemID" />
+													</xs:extension>
+												</xs:simpleContent>
+											</xs:complexType>
+										</xs:element>
+									</xs:sequence>
+									<xs:attribute type="xs:string" name="From" />
+								</xs:complexType>
+							</xs:element>
+						</xs:sequence>
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+			<xs:attribute type="xs:string" name="ID" />
+			<xs:attribute type="xs:string" name="Active" />
+		</xs:complexType>
+	</xs:element>
+</xs:schema>
\ No newline at end of file
-- 
GitLab