View difference between Paste ID: 1LjiEKik and t4dHB3y4
SHOW: | | - or go back to the newest paste.
1
quest warp_mappe_beta begin
2
	state start begin
3
		when 20095.chat."Teleporter mappe beta" begin
4
			local warp = { {1049600 , 1510400}, {1024000 , 1664000}, {1177600 , 1664000}, {1126400 , 1510400} }
5
			local level = { 80, 90, 95, 100 }
6
			say_title ( mob_name(20095) )
7
			say ("Sei un impavido guerriero,")
8
			say ("Queste mappe sono sinonimo di morte e desolazione") 
9
			say ("Sei sicuro di volere accedervi?")
10
			say ("Potresti non farvi più ritorno..")
11
			wait()
12
			local mappe = select ( "Mappa di Sabbia Nera","Mappa Promontorio del Drago","Bosco Alba di Nebbia","Mappa del Tuono","Chiudi" )
13
			if mappe < 6 and pc.get_level() >= level[mappe] then
14
				pc.warp ( warp[mappe][1], warp[mappe][2] )
15
			else
16
				say_title ( mob_name(20095) )
17
				say ( "Devi essere al livello "..level[mappe].." " )
18
			end
19
		end
20
	end
21
end