View Single Post
Old 15.06.2006, 12:56   #4
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Your teleport_scoll ai very simple and no as official. Need have check for chaotic. You'll teleport chaotic players to center town? Descent of the Chaotic to Peace Towns!

And my small add-on for your work

Change AI for GK
Code:
class clavier : teleporter_multi_list
property_define_begin
	telposlist_begin Position
		{"The Town of Dion"; 15671; 142994; -2696; 8100; 2 } 
		{"Oren Castle Town"; 83011; 53207; -1488; 11000; 4 } 
		{"Hunters Village"; 117088; 76931; -2688; 9400; 0 } 
		{"Giran Harbor"; 47935; 186810; -3480; 6300; 0 } 
		{"Dragon Valley"; 122824; 110836; -3720; 6400; 0 } 
		{"Hardins Private Academy"; 105918; 109759; -3192; 5300; 0 } 
		{"Heine"; 111455; 219400; -3544; 9200; 6 } 
		{"Patriots Necropolis"; -25472; 77728; -3440; 15500; 0 } 
		{"Ascetics Necropolis"; -56064; 78720; -3008; 18600; 0 } 
		{"Saints Necropolis"; 79296; 209584; -3704; 9800; 0 } 
		{"Catacomb of Dark Omens"; -22480; 13872; -3168; 20400; 0 } 
	telposlist_end
	telposlist_begin Position1
		{"Monster Derby Track"; 13045; 181660; -3576; 3500; 2 }
	telposlist_end
property_define_end
class_end
add multisell (as retail)
Code:
MultiSell_begin	[ssq_teleport_scrolls]	156
selllist={
{{[scroll_of_escape_to_talking_island];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_elven_village];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_dark_elven_village];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_orc_village];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_dwarven_village];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_gludin];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_gludio];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_dion];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_floran];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_giran];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_hardin];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_heine];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_oren];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_ivory_tower];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_hunter_village];1};{{[dimension_diamond];8}}};
{{[scroll_of_escape_to_aden];1};{{[dimension_diamond];8}}}}
MultiSell_end
change html dialog for GK
Code:
<html><head><body>
Gatekeeper Clarissa:


We Gatekeepers use the will of the Gods to open the doors to time and space and teleport others. Which door would you like to open?


<a action="bypass -h teleport_request">Go to another village.</a>


<a action="bypass -h multisell?id=156">Exchange with the Dimension Diamond</a>


<a action="link gatekeeper_noblesse.htm">[Noblesse Only]teleport</a>


<a action="bypass -h menu_select?ask=-8&reply=1">Move to Monster Derby Track. (Free of Charge)</a>


<a action="bypass -h talk_select">Quest</a>
</body></html>
HF is offline