SHOW:
|
|
- or go back to the newest paste.
| 1 | --************************************************* | |
| 2 | --**Script Guardiano_crafter Torre1 7°piano torre * | |
| 3 | --** by DarknesS * | |
| 4 | --************************************************* | |
| 5 | quest guardiano_torre begin | |
| 6 | state start begin | |
| 7 | when 20090.chat."Settimo piano" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin | |
| 8 | if(say_blue==nil)then say_blue=say_title end | |
| 9 | if(say_orange==nil)then say_orange=say_reward end | |
| 10 | local qnt = 100 | |
| 11 | local request = 30090 | |
| 12 | if pc.countitem(request) < qnt then | |
| 13 | say_blue("Non hai gli item necessari?")
| |
| 14 | say("Per provarci ho bisogno di:")
| |
| 15 | say(qnt) | |
| 16 | say_item_vnum(request) | |
| 17 | return | |
| 18 | end | |
| 19 | say("Salve "..pc.get_name()..".[ENTER]Vuoi andare al settimo piano?")
| |
| 20 | - | say("Non ti garantisco di riuscirci,per provarci ho bisogno di")
|
| 20 | + | say("Non ti garantisco di riuscirci, per provarci ho bisogno di")
|
| 21 | say("Per provarci ho bisogno di")
| |
| 22 | say(qnt) | |
| 23 | say_item_vnum(request) | |
| 24 | say("Accetti?")
| |
| 25 | local main_set = select("Si", "No")
| |
| 26 | if main_set == 2 then return end | |
| 27 | say("Attento al piano successivo..")
| |
| 28 | if pc.countitem(request) >= qnt then | |
| 29 | - | pc.remove_item(request, qnt ) |
| 29 | + | pc.remove_item(request, qnt) |
| 30 | - | timer("devil_jump_7", 6 )
|
| 30 | + | timer("devil_jump_7", 6)
|
| 31 | d.clear_regen() | |
| 32 | end | |
| 33 | end | |
| 34 | when "20348".chat."Crafta Chiavi e Mappe Zin" begin | |
| 35 | if(say_light_blue==nil)then say_light_blue=say_title end | |
| 36 | if(say_orange==nil)then say_orange=say_reward end | |
| 37 | local qnt = 10 | |
| 38 | local request = 30301 | |
| 39 | local request2 = 30303 | |
| 40 | - | if pc.countitem(request,request2) < qnt then |
| 40 | + | if pc.countitem(request, request2) < qnt then |
| 41 | say_orange("Non hai item necessari!! ")
| |
| 42 | say_orange("Se vuoi craftare devi avere :")
| |
| 43 | say_orange(qnt) | |
| 44 | say_item_vnum(request) | |
| 45 | say_orange("Oppure")
| |
| 46 | say_orange(qnt) | |
| 47 | say_item_vnum(request2) | |
| 48 | return | |
| 49 | end | |
| 50 | say_light_blue("Vuoi Craftare Chiavi e Mappe Zin?")
| |
| 51 | say_light_blue("Bene inserisci quelle Sa-Gui nel box.")
| |
| 52 | say_light_blue("Inserisci rispettivamente:")
| |
| 53 | ||
| 54 | say_orange(qnt) | |
| 55 | say_item_vnum(request) | |
| 56 | say_orange(qnt) | |
| 57 | say_item_vnum(request2) | |
| 58 | wait() | |
| 59 | setskin(NOWINDOW) | |
| 60 | command("cube open")
| |
| 61 | end | |
| 62 | end | |
| 63 | end |