Renamed Alliance and Clan scripts.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<html><body>What would you like to do?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Alliance 9001-02.htm">Create an Alliance</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Alliance 9001-03.htm">Dissolve Alliance</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest AllianceMaster 9001-02.htm">Create an Alliance</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest AllianceMaster 9001-03.htm">Dissolve Alliance</Button>
|
||||
</body></html>
|
||||
@@ -2,5 +2,5 @@
|
||||
Enter your alliance name:<br>
|
||||
<edit var="name" width=110><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_create_ally $name">Enter</Button></br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Alliance 9001-01.htm">Cancel</Button></br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest AllianceMaster 9001-01.htm">Cancel</Button></br>
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><body>
|
||||
At your command the alliance will be dissolved.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_dissolve_ally">Request Dissolution</Button><br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Alliance 9001-01.htm">Cancel</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest AllianceMaster 9001-01.htm">Cancel</Button>
|
||||
</body></html>
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package village_master.Alliance;
|
||||
package village_master.AllianceMaster;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
@@ -24,7 +24,7 @@ import ai.AbstractNpcAI;
|
||||
/**
|
||||
* @author UnAfraid
|
||||
*/
|
||||
public final class Alliance extends AbstractNpcAI
|
||||
public final class AllianceMaster extends AbstractNpcAI
|
||||
{
|
||||
// @formatter:off
|
||||
private static final int[] NPCS =
|
||||
@@ -44,7 +44,7 @@ public final class Alliance extends AbstractNpcAI
|
||||
};
|
||||
// @formatter:on
|
||||
|
||||
private Alliance()
|
||||
private AllianceMaster()
|
||||
{
|
||||
addStartNpc(NPCS);
|
||||
addTalkId(NPCS);
|
||||
@@ -68,6 +68,6 @@ public final class Alliance extends AbstractNpcAI
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new Alliance();
|
||||
new AllianceMaster();
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
<html><body>What would you like to do?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-02.htm">"I want to create a new clan."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-04.htm">"I want to disband my clan."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-05.htm">"I'd like to restore my clan."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_learn_clan_skills">"Can you teach me some clan skills?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-06.htm">"I want to transfer clan leader authority."</Button>
|
||||
</body></html>
|
||||
7
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/village_master/ClanMaster/9000-01.htm
vendored
Normal file
7
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/village_master/ClanMaster/9000-01.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>What would you like to do?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-02.htm">"I want to create a new clan."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-04.htm">"I want to disband my clan."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-05.htm">"I'd like to restore my clan."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_learn_clan_skills">"Can you teach me some clan skills?"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-06.htm">"I want to transfer clan leader authority."</Button>
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><body>Enter clan name:<br>
|
||||
<edit var="name" width=110><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_create_clan $name">Enter</Button></br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Clan 9000-01.htm">Cancel</Button></br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest ClanMaster 9000-01.htm">Cancel</Button></br>
|
||||
</body></html>
|
||||
@@ -5,6 +5,6 @@ If a clan disbanding is requested, the Clan Leader will lose XP equivalent to hi
|
||||
Please note that any items left in the clan warehouse will disappear when a clan gets disbanded.<br>
|
||||
<table width="270"><tr>
|
||||
<td><button value="Dissolution" action="bypass -h npc_%objectId%_dissolve_clan" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
|
||||
<td align="right"><button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
|
||||
<td align="right"><button value="Cancel" action="bypass -h Quest ClanMaster 9000-01.htm" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
|
||||
</tr></table>
|
||||
</body></html>
|
||||
@@ -2,6 +2,6 @@
|
||||
If you request a restoration, your clan dissolution request will be canceled.<br>
|
||||
<table width="270"><tr>
|
||||
<td><button value="Restoration" action="bypass -h npc_%objectId%_recover_clan" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
|
||||
<td align="right"><button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
|
||||
<td align="right"><button value="Cancel" action="bypass -h Quest ClanMaster 9000-01.htm" width=100 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>
|
||||
</tr></table>
|
||||
</body></html>
|
||||
@@ -2,7 +2,7 @@
|
||||
Requests for authority transfer are usually processed every Wednesday morning. However, because the transfer process may complete sooner, consider your decision carefully before submitting a request.<br>
|
||||
Once a request is processed, you cannot cancel the transfer. However, you can cancel at any time before processing.<br>
|
||||
Since this process transfers all rights of the clan leader to another member, consider this action carefully before submitting a request.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-07.htm">"Help me request the transfer of clan leader authority."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Clan 9000-06a.htm">"I want to cancel my request for clan leader authority transfer."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest Clan 9000-01.htm">Back</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-07.htm">"Help me request the transfer of clan leader authority."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ClanMaster 9000-06a.htm">"I want to cancel my request for clan leader authority transfer."</Button>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest ClanMaster 9000-01.htm">Back</Button>
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><body>
|
||||
Cancel the application for Clan Leader transfer. Once the Clan Leader transfer is complete, it cannot be canceled.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_cancel_clan_leader_change">Cancel application for Clan Leader transfer</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan 9000-01.htm">Return</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ClanMaster 9000-01.htm">Return</Button>
|
||||
</html></body>
|
||||
@@ -2,5 +2,5 @@
|
||||
Insert the name of the Clan member to commit:<br>
|
||||
<edit var="name" width=120><br>
|
||||
<button value="Submit" action="bypass -h npc_%objectId%_change_clan_leader $name" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
|
||||
<button value="Cancel" action="bypass -h Quest Clan 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
|
||||
<button value="Cancel" action="bypass -h Quest ClanMaster 9000-01.htm" width=80 height=27 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
|
||||
</body></html>
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package village_master.Clan;
|
||||
package village_master.ClanMaster;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@@ -37,7 +37,7 @@ import ai.AbstractNpcAI;
|
||||
/**
|
||||
* @author UnAfraid
|
||||
*/
|
||||
public final class Clan extends AbstractNpcAI
|
||||
public final class ClanMaster extends AbstractNpcAI
|
||||
{
|
||||
// @formatter:off
|
||||
private static final int[] NPCS =
|
||||
@@ -65,7 +65,7 @@ public final class Clan extends AbstractNpcAI
|
||||
LEADER_REQUIRED.put("9000-07.htm", "9000-07-no.htm");
|
||||
}
|
||||
|
||||
private Clan()
|
||||
private ClanMaster()
|
||||
{
|
||||
addStartNpc(NPCS);
|
||||
addTalkId(NPCS);
|
||||
@@ -163,6 +163,6 @@ public final class Clan extends AbstractNpcAI
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new Clan();
|
||||
new ClanMaster();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user