Addition of %npcname% replaceable npc html string.
This commit is contained in:
parent
bf1d5e3f97
commit
ff7006dbc2
@ -1,3 +1,4 @@
|
||||
<html><body>I have nothing to say to you.<br>
|
||||
<html><body>%npcname%:<br>
|
||||
I have nothing to say to you.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -848,6 +848,7 @@ public class L2Npc extends L2Character
|
||||
// Send a Server->Client NpcHtmlMessage containing the text of the L2NpcInstance to the L2PcInstance
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), filename);
|
||||
html.replace("%npcname%", getName());
|
||||
html.replace("%objectId%", String.valueOf(getObjectId()));
|
||||
player.sendPacket(html);
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
<html><body>I have nothing to say to you.<br>
|
||||
<html><body>%npcname%:<br>
|
||||
I have nothing to say to you.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -848,6 +848,7 @@ public class L2Npc extends L2Character
|
||||
// Send a Server->Client NpcHtmlMessage containing the text of the L2NpcInstance to the L2PcInstance
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), filename);
|
||||
html.replace("%npcname%", getName());
|
||||
html.replace("%objectId%", String.valueOf(getObjectId()));
|
||||
player.sendPacket(html);
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
<html><body>I have nothing to say to you.<br>
|
||||
<html><body>%npcname%:<br>
|
||||
I have nothing to say to you.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -848,6 +848,7 @@ public class L2Npc extends L2Character
|
||||
// Send a Server->Client NpcHtmlMessage containing the text of the L2NpcInstance to the L2PcInstance
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), filename);
|
||||
html.replace("%npcname%", getName());
|
||||
html.replace("%objectId%", String.valueOf(getObjectId()));
|
||||
player.sendPacket(html);
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
<html><body>I have nothing to say to you.<br>
|
||||
<html><body>%npcname%:<br>
|
||||
I have nothing to say to you.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -848,6 +848,7 @@ public class L2Npc extends L2Character
|
||||
// Send a Server->Client NpcHtmlMessage containing the text of the L2NpcInstance to the L2PcInstance
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), filename);
|
||||
html.replace("%npcname%", getName());
|
||||
html.replace("%objectId%", String.valueOf(getObjectId()));
|
||||
player.sendPacket(html);
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
<html><body>I have nothing to say to you<br>
|
||||
<html><body>%npcname%:<br>
|
||||
I have nothing to say to you.<br>
|
||||
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
|
||||
</body></html>
|
@ -1179,6 +1179,7 @@ public class L2Npc extends L2Character
|
||||
}
|
||||
}
|
||||
|
||||
html.replace("%npcname%", String.valueOf(getName()));
|
||||
html.replace("%objectId%", String.valueOf(getObjectId()));
|
||||
html.replace("%festivalMins%", SevenSignsFestival.getInstance().getTimeToNextFestivalStr());
|
||||
player.sendPacket(html);
|
||||
|
@ -1,3 +1,4 @@
|
||||
<html><body>I have nothing to say to you.<br>
|
||||
<html><body>%npcname%:<br>
|
||||
I have nothing to say to you.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -848,6 +848,7 @@ public class L2Npc extends L2Character
|
||||
// Send a Server->Client NpcHtmlMessage containing the text of the L2NpcInstance to the L2PcInstance
|
||||
final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
|
||||
html.setFile(player.getHtmlPrefix(), filename);
|
||||
html.replace("%npcname%", getName());
|
||||
html.replace("%objectId%", String.valueOf(getObjectId()));
|
||||
player.sendPacket(html);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user