From e6825808b5c9a688ea779109b057c53afb7e0ef9 Mon Sep 17 00:00:00 2001
From: Zoey76 <zoey_76@msn.com>
Date: Tue, 21 May 2013 00:51:11 +0000
Subject: [PATCH] BETA: Fortress Ambassador rework.

Patch by: jurchiks
Reviewed by: UnAfraid, Zoey76
---
 .../dist/game/data/html/fortress/ambassador-border.htm   | 8 ++++++++
 .../game/data/html/fortress/ambassador-independent.htm   | 3 +++
 .../{envoy-noclan.htm => ambassador-not-leader.htm}      | 0
 .../game/data/html/fortress/ambassador-not-owned.htm     | 3 +++
 .../dist/game/data/html/fortress/ambassador-rejected.htm | 3 +++
 .../dist/game/data/html/fortress/ambassador-signed.htm   | 3 +++
 .../dist/game/data/html/fortress/ambassador.htm          | 9 +++++++++
 .../dist/game/data/html/fortress/envoy-no.htm            | 3 ---
 .../dist/game/data/html/fortress/envoy-ok.htm            | 3 ---
 L2J_DataPack_BETA/dist/game/data/html/fortress/envoy.htm | 5 -----
 10 files changed, 29 insertions(+), 11 deletions(-)
 create mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-border.htm
 create mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-independent.htm
 rename L2J_DataPack_BETA/dist/game/data/html/fortress/{envoy-noclan.htm => ambassador-not-leader.htm} (100%)
 create mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-not-owned.htm
 create mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-rejected.htm
 create mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-signed.htm
 create mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador.htm
 delete mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-no.htm
 delete mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-ok.htm
 delete mode 100644 L2J_DataPack_BETA/dist/game/data/html/fortress/envoy.htm

diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-border.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-border.htm
new file mode 100644
index 0000000000..7a74f52c0a
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-border.htm
@@ -0,0 +1,8 @@
+<html><body>Ambassador of %castleName%:<br>
+My master is the great ruler of %castleName% Castle. The message I am commanded to relay to you, the new possessor of this fortress, is: "Protect this territory from our enemies!"<br>
+If you do not have the strength to protect this place, my master inquires whether you would care to use our clan's strength to develop your skills.<br>
+<br>
+<center>
+<a action="bypass -h npc_%objectId%_select 1">"We decline. We will walk our own path."</a>
+</center>
+</body></html>
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-independent.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-independent.htm
new file mode 100644
index 0000000000..a2375009c9
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-independent.htm
@@ -0,0 +1,3 @@
+<html><body>Ambassador of %castleName%:<br>
+Hmm... I see that negotiations have been broken off. I must cease for now.
+</body></html>
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-noclan.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-not-leader.htm
similarity index 100%
rename from L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-noclan.htm
rename to L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-not-leader.htm
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-not-owned.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-not-owned.htm
new file mode 100644
index 0000000000..5657c302fd
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-not-owned.htm
@@ -0,0 +1,3 @@
+<html><body>
+Contact is currently not possible, %castleName% Castle isn't currently owned by clan.
+</body></html>
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-rejected.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-rejected.htm
new file mode 100644
index 0000000000..b708eb3444
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-rejected.htm
@@ -0,0 +1,3 @@
+<html><body>Ambassador of %castleName%:<br>
+You have already rejected my lord's offer. Why have you now changed your mind?
+</body></html>
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-signed.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-signed.htm
new file mode 100644
index 0000000000..6bfdeae33f
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador-signed.htm
@@ -0,0 +1,3 @@
+<html><body>Ambassador of %castleName%:<br>
+You have signed the contract. I am sure that my lord will be pleased.
+</body></html>
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador.htm
new file mode 100644
index 0000000000..37399f78ff
--- /dev/null
+++ b/L2J_DataPack_BETA/dist/game/data/html/fortress/ambassador.htm
@@ -0,0 +1,9 @@
+<html><body>Ambassador of %castleName%:<br>
+My master is the ruler of %castleName% Castle, renowned throughout the world for his wisdom and strength. To you who have gained possession of this fortress, he sends these words: "Prove your loyalty to the castle with this contract!"<br>
+Unless you do so, my lord will know that your loyalty is suspect. Make your decision!<br>
+<br>
+<center>
+<a action="bypass -h npc_%objectId%_select 2">"Very well, I will sign the contract."</a><br>
+<a action="bypass -h npc_%objectId%_select 1">"I need no help from people like you!"</a>
+</center>
+</body></html>
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-no.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-no.htm
deleted file mode 100644
index c2fca43b5b..0000000000
--- a/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-no.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-<html><body>Ambassador of %castleName%:<br>
-Impudent pup! You already made your selection.
-</body></html><!-- custom html, replace me with proper one -->
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-ok.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-ok.htm
deleted file mode 100644
index 87670d2014..0000000000
--- a/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy-ok.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-<html><body>Ambassador of %castleName%:<br>
-As you wish.
-</body></html><!-- custom html, replace me with proper one -->
\ No newline at end of file
diff --git a/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy.htm b/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy.htm
deleted file mode 100644
index 25d6bb1f06..0000000000
--- a/L2J_DataPack_BETA/dist/game/data/html/fortress/envoy.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-<html><body>Ambassador of %castleName%:<br>
-Please select one of these choices:<br><br>
-<a action="bypass -h npc_%objectId%_select 1">"I don't want relationship with Castle"</a><br>
-<a action="bypass -h npc_%objectId%_select 2">"I want to be contracted with Castle"</a>
-</body></html><!-- custom html, replace me with proper one -->
\ No newline at end of file
-- 
GitLab