Weekend dialogues when talking with Kerry.
This commit is contained in:
@@ -4,9 +4,7 @@ I am the Clan Hall Gatekeeper, Kerry. It's an honor to serve you.<br>
|
||||
Do you need help with the <font color="FFFB99">Provisional Clan Hall</font>?<br>
|
||||
<br><br>
|
||||
<center>
|
||||
<button action="bypass -h Quest ProvisionalHalls enter" value="Enter the Clan Hall" width=180 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
|
||||
<br>
|
||||
<button action="bypass -h Quest ProvisionalHalls 33359-03.html" value="Buy a Clan Hall" width=180 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
|
||||
<button action="bypass -h Quest ProvisionalHalls enter" value="Enter Clan Hall" width=180 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
|
||||
<br>
|
||||
<button action="bypass -h Quest ProvisionalHalls 33359-02.html" value="Learn more" width=180 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
|
||||
<br>
|
||||
|
@@ -0,0 +1,13 @@
|
||||
<html><body><br><br><br>
|
||||
Ah, hello!<br><br>
|
||||
I am the Clan Hall Gatekeeper, Kerry. It's an honor to serve you.<br>
|
||||
Do you need help with the <font color="FFFB99">Provisional Clan Hall</font>?<br>
|
||||
<br><br>
|
||||
<center>
|
||||
<button action="bypass -h Quest ProvisionalHalls enter" value="Enter Clan Hall" width=180 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
|
||||
<br>
|
||||
<button action="bypass -h Quest ProvisionalHalls 33359-03.html" value="Buy Clan Hall" width=180 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
|
||||
<br>
|
||||
<button action="bypass -h Quest ProvisionalHalls 33359-02.html" value="Learn more" width=180 height=27 back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
|
||||
<br>
|
||||
</body></html>
|
@@ -189,7 +189,13 @@ public class ProvisionalHalls extends AbstractNpcAI
|
||||
@Override
|
||||
public String onFirstTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
return npc.getId() + "-01.html";
|
||||
final Calendar calendar = Calendar.getInstance();
|
||||
final int dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK);
|
||||
if ((dayOfWeek != Calendar.SATURDAY) && (dayOfWeek != Calendar.SUNDAY))
|
||||
{
|
||||
return "33359-01.html";
|
||||
}
|
||||
return "33359-01b.html";
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
|
Reference in New Issue
Block a user