1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-06 15:33:00 +00:00

NPC Html chat messages

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-25 13:54:59 -03:00
parent 7033518023
commit 4a003b21e0
10103 changed files with 56028 additions and 20460 deletions

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<npc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="" id="30994" xsi:schemaLocation="npc ../npc.xsd" xsi:noNamespaceSchemaLocation="npc">
<?xml version="1.0" encoding="UTF-8"?>
<npc type="" id="30994" xsi:schemaLocation="npc ../npc.xsd"
xsi:noNamespaceSchemaLocation="npc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<info aggressive="false" targetable="true" attackable="false">
<name display="true" send="false">Lottery Ticket Seller</name>
<level>70</level>
@@ -22,4 +23,121 @@
<sp>0</sp>
<collision heigth="23.5" radius="8.0"/>
</info>
<talk default="default">
<chat id="5"><![CDATA[<html><body>
Lottery Ticket Seller:<br>
This is Round %race% of Lottery. Choose five numbers:<br>
<center>
<table width=240 height=120 border=0 cellspacing=0 cellpadding=0>
<tr>
<td><img src="L2UI.lottotl" width=20 height=20></td>
<td><img src="L2UI.lottotc" width=200 height=22></td>
<td><img src="L2UI.lottotr" width=20 height=20></td>
</tr>
<tr>
<td><img src="L2UI.lottoml" width=20 height=80></td>
<td align=center valign=top>
<table width=200 height=80 border=0 cellspacing=0 cellpadding=0>
<tr>
<td><button value="" action="bypass -h npc_%objectId%_Loto 1" fore="L2UI.lottoNum01" back="L2UI.lottoNum01a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 2" fore="L2UI.lottoNum02" back="L2UI.lottoNum02a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 3" fore="L2UI.lottoNum03" back="L2UI.lottoNum03a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 4" fore="L2UI.lottoNum04" back="L2UI.lottoNum04a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 5" fore="L2UI.lottoNum05" back="L2UI.lottoNum05a_check" width=40 height=20></td>
</tr>
<tr>
<td><button value="" action="bypass -h npc_%objectId%_Loto 6" fore="L2UI.lottoNum06" back="L2UI.lottoNum06a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 7" fore="L2UI.lottoNum07" back="L2UI.lottoNum07a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 8" fore="L2UI.lottoNum08" back="L2UI.lottoNum08a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 9" fore="L2UI.lottoNum09" back="L2UI.lottoNum09a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 10" fore="L2UI.lottoNum10" back="L2UI.lottoNum10a_check" width=40 height=20></td>
</tr>
<tr>
<td><button value="" action="bypass -h npc_%objectId%_Loto 11" fore="L2UI.lottoNum11" back="L2UI.lottoNum11a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 12" fore="L2UI.lottoNum12" back="L2UI.lottoNum12a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 13" fore="L2UI.lottoNum13" back="L2UI.lottoNum13a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 14" fore="L2UI.lottoNum14" back="L2UI.lottoNum14a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 15" fore="L2UI.lottoNum15" back="L2UI.lottoNum15a_check" width=40 height=20></td>
</tr>
<tr>
<td><button value="" action="bypass -h npc_%objectId%_Loto 16" fore="L2UI.lottoNum16" back="L2UI.lottoNum16a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 17" fore="L2UI.lottoNum17" back="L2UI.lottoNum17a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 18" fore="L2UI.lottoNum18" back="L2UI.lottoNum18a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 19" fore="L2UI.lottoNum19" back="L2UI.lottoNum19a_check" width=40 height=20></td>
<td><button value="" action="bypass -h npc_%objectId%_Loto 20" fore="L2UI.lottoNum20" back="L2UI.lottoNum20a_check" width=40 height=20></td>
</tr>
</table>
</td>
<td><img src="L2UI.lottomr" width=20 height=80></td>
</tr>
<tr>
<td><img src="L2UI.lottobl" width=20 height=20></td>
<td><img src="L2UI.lottobc" width=200 height=22></td>
<td><img src="L2UI.lottobr" width=20 height=20></td>
</tr>
</table>
</center>
<br><a action="bypass -h npc_%objectId%_Loto 0">Return</a><br>
</body></html>
]]></chat>
<chat id="default"><![CDATA[<html><body>
Lottery Ticket Seller:<br>
Every ticket is a potential winner! Step right up!<br>
<a action="bypass -h npc_%objectId%_Loto 0">Purchase Lottery Ticket</a><br>
<a action="bypass -h npc_%objectId%_Loto 23">Current lottery jackpot</a><br>
<a action="bypass -h npc_%objectId%_Loto 24">Previous winning numbers/Prize claim</a>
</body></html>
]]></chat>
<chat id="3"><![CDATA[<html><body>
Lottery Ticket Seller:<br>
May I have your attention please!<br>
The total jackpot amount so far for the Round %race% Lottery is %adena% Adena.<br><br>
<center>
<a action="bypass -h npc_%objectId%_Chat 0">Return</a><br>
</center>
</body></html>
]]></chat>
<chat id="2"><![CDATA[<html><body>
Lottery Ticket Seller:<br>
Here is how to play the lottery:<br>
Select five numbers between 1 and 20. Your prize is determined by how many winning numbers you match.<br>
First place goes to those who pick all five winning numbers. First place prize amount is %prize5% % of the total jackpot amount, minus the fourth place prize.<br>
Second place goes to those who pick four out of the five winning numbers. Second place prize amount is %prize4% % of the total jackpot amount, minus the fourth place prize.<br>
Third place goes to those who pick three out of the five winning numbers. Third place prize amount is %prize3% % of the total jackpot amount, minus the fourth place prize.<br>
Those who pick two or less of the winning number may receive %prize2% Adena. <br>
The prize money for each category will be divided equally amongst winners. If there are no winners in any category, those winnings are transferred to the next jackpot.<br>
Lottery Tickets are sold on a weekly basis, starting at 7:10 pm every Saturday until 6:50 pm the following Saturday.<br>
The winning numbers are announced at 7:00 pm every Saturday. All times are subject to change.<br>
I wish you luck! Enjoy the lottery.<br>
<A action="bypass -h npc_%objectId%_Chat 0">Back</a><br>
<A action="bypass -h npc_%objectId%_Loto 0">Buy a Lottery Ticket.</a><br>
</body></html>
]]></chat>
<chat id="4"><![CDATA[<html><body>
Lottery Ticket Seller:<br>
%result%
<a action="bypass -h npc_%objectId%_Chat 0">Return</a><br>
</body></html>
]]></chat>
<chat id="1"><![CDATA[<html><body>
Lottery Ticket Seller:<br>
Thank you for playing the lottery.<br>
One lottery Ticket costs %ticket_price% Adena.<br>
If you wish to play the lottery, press the button.<br>
<center>
<a action="bypass -h npc_%objectId%_Loto 21">Continue</a><br>
<a action="bypass -h npc_%objectId%_Loto 25">Lottery instructions</a><br>
<a action="bypass -h npc_%objectId%_Chat 0">Quit</a>
</center>
</body></html>
]]></chat>
<chat id="6"><![CDATA[<html><body>
Lottery Ticket Seller:<br>
Thank you for playing the lottery. <br> The winners will be announced at 7:00 pm on Saturday <br>
<center>
<a action="bypass -h npc_%objectId%_Chat 0">Return</a><br>
</center>
</body></html>
]]></chat>
</talk>
</npc>