Domanda [RELAESE] Slot Maschine, Quest + Npc

Stato
Discussione chiusa ad ulteriori risposte.

Requiem3008

Utente Gold
8 Gennaio 2011
1,184
39
131
338
Ultima modifica:
Buon giorno inforge!
Oggi vi posto una slot maschine per il casino dei vostri retro!
allora funziona cosi, se un giocatore ha 250k di yang può scegliere uno di 3 pesci se nella seconda pagina ne escono almeno 2 di 3 vince!


Codice:
[SPOILER]quest slot2 begin
state start begin
say_size(400,350)
when 20353.chat."Slot Maschine" begin
say ( "Ciao!" )
say ( "Vuoi mettere la tua fortuna alla prova?" )
say ( "Le regole sono semplici" ) 
say ( "Devi scegliere un pesce e se almento 2 volte")
say ( "prendi lo stesso pesce hai vinto!" ) 
say ( "Più e meno conosciuto il pesco più potrai vincere!!" ) 
say_reward ( "Ogni partita costa 250.000 Yang" )
say("")
say ( "Vuoi Giocare?" )  
local s = select ("Si" , "No")
if s == 2 then
say ( "Ah ho capito, non fa per te il gioco d'azzardo" )
say ( "Se cambi idea io sono sempre qui" )
say ( "Ti aspetto" )
return
end
if pc.gold < 250000 then
say ("Non hai abbastanza yang!")
say ("")
say ("Torna quando avrai 250.000 yang")
return 
end
pc . changegold (  - 250000 )
say_item ( "." , 1 , "" )
say_item ( "." , 1 , "" )
say_item ( "." , 1 , "" )
say_reward("Iniziamo?!")
local option = select ( "Si" , "No" )
if option == 2 then
return 
end
pc . changegold (  - 250000 )
local s = number(27802, 27823)
local m = number(27802, 27823)
local l = number(27802, 27823)
say_title("Scegli un pesce")
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
local cambia = select ( "Pesce 1" , "Pesce 2" , "Pesce 3" , "Annulla")
if cambia == 1 then
local m = number(27802, 27823)
local l = number(27802, 27823)
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say  ( "Complimenti hai vinto 3kk di yang" )
pc . change_gold (  3000000 ) 
notice_all ( "---> " .. pc.get_name() .. " Ha vinto 3kk di yang alla slot! <---" ) 
end
if s == m then
say  ( "Complimenti hai vinto 1kk di yang" )
pc . change_gold (  1000000 )
notice_all ( "---> " .. pc.get_name() .. " Ha vinto 1kk di yang alla slot <---" ) 
end
if s == l then
say ( "Complimenti hai vinto 3 Forzieri" )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
notice_all ( "---> " .. pc.get_name() .. " ha vinto 3 forzieri alla slot!<---" ) 
end
if m == l then
say ( "Complimenti hai vinto ...." )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY!<---" ) 
end
if s == 27822 and 
m == 27822 and 
l == 27822 then
say ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "value" , 1 )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 27816 and 
m == 27816 and 
l == 27816 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30047 and 
m == 30047 and 
l == 30047 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30050 and 
m == 30050 and 
l == 30050 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30021 and 
m == 30021 and 
l == 30021 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30010 and 
m == 30010 and 
l == 30010 then
say  ( "Herzlichen Glückwunsch! Sie haben eine Rote Perle gewonnen.!" )
pc . give_item2 ( "27994" , 1 )
notice_all ( "---> " .. pc.get_name() .. " hat eine Rote Perle gewonnen! <---" )
end
if s == 30005 and 
m == 30005 and 
l == 30005 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30002 and 
m == 30002 and 
l == 30002 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30008 and 
m == 30008 and 
l == 30008 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "Value" , 1 )
pc . give_item2 ( "value" , 1 )
pc . give_item2 ( "value" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
say ( "Fortunato nel gioco, sfortunato in amore!" )
end
if cambia == 2 then
local m = number(27802, 27823)
local l = number(27802, 27823)
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say  ( "Complimenti hai vinto 3kk di yang" )
pc . change_gold (  3000000 ) 
notice_all ( "---> " .. pc.get_name() .. " ha vinto 3kk di yang <---" ) 
end
if s == m then
say  ( "Complimenti hai vinto 1kk di yang" )
pc . change_gold (  1000000 )
notice_all ( "---> " .. pc.get_name() .. " ha vinto 1kk di yang <---" ) 
end
if s == l then
say ( " Personalizzate voi ENJOY!" )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY!!<---" ) 
end
if m == l then
say ( " Personalizzate voi ENJOY!v" )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
pc . give_item2 (  value , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY!<---" ) 
end
if s == 27822 and 
m == 27822 and 
l == 27822 then
say ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "71051" , 1 )
pc . give_item2 ( "71052" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 27816 and 
m == 27816 and 
l == 27816 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "17109" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30047 and 
m == 30047 and 
l == 30047 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "50513" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30050 and 
m == 30050 and 
l == 30050 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "27992" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30021 and 
m == 30021 and 
l == 30021 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "27993" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30010 and 
m == 30010 and 
l == 30010 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "27994" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30005 and 
m == 30005 and 
l == 30005 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "25041" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30002 and 
m == 30002 and 
l == 30002 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "27987" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30008 and 
m == 30008 and 
l == 30008 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
say ( "Fortunato nel gioco, sfortunato in amore" )

end
if cambia == 3 then
local m = number(27802, 27823)
local l = number(27802, 27823)
say_item ( "." , s , "" )
say_item ( "." , m , "" )
say_item ( "." , l , "" )
if s == m == l then
say  ( "Hai vinto 3kk di yang" )
pc . change_gold (  3000000 ) 
notice_all ( "---> " .. pc.get_name() .. " ha vinto 3kk di yang! <---" ) 
end
if s == m then
say  ( "Hai vinto 1kk di yang" )
pc . change_gold (  1000000 )
notice_all ( "---> " .. pc.get_name() .. " ha vinto 1kk di yang! <---" ) 
end
if s == l then
say ( " Personalizzate voi ENJOY!" )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY!<---" ) 
end
if m == l then
say ( " Personalizzate voi ENJOY!" )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY!<---" ) 
end
if s == 27822 and 
m == 27822 and 
l == 27822 then
say ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "71051" , 1 )
pc . give_item2 ( "71052" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 27816 and 
m == 27816 and 
l == 27816 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "17109" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY!! <---" )
end
if s == 30047 and 
m == 30047 and 
l == 30047 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "50513" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30050 and 
m == 30050 and 
l == 30050 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "27992" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30021 and 
m == 30021 and 
l == 30021 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "27993" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end 
if s == 30010 and 
m == 30010 and 
l == 30010 then
say  ( " Personalizzate voi ENJOY!!" )
pc . give_item2 ( "27994" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30005 and 
m == 30005 and 
l == 30005 then
say  ( " Personalizzate voi ENJOY!" )
pc . give_item2 ( "25041" , 1 )
notice_all ( "---> " .. pc.get_name() .. "  Personalizzate voi ENJOY! <---" )
end
if s == 30002 and 
m == 30002 and 
l == 30002 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "27987" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end
if s == 30008 and 
m == 30008 and 
l == 30008 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end
say ( "Fortunato nel gioco, sfortunato in amore" )
end
if cambia == 4 then
if s == m == l then
say  ( "Hai vinto 3kk di yang" )
pc . changegold (  3000000 )
notice_all ( "---> " .. pc.get_name() .. " ha vinto 3kk di yang! <---" ) 
end
if s == m then
say  ( "Complimenti! Hai vinto 1kk di Yang." )
pc . changegold (  1000000 )
notice_all ( "---> " .. pc.get_name() .. " ha vinto 1kk di yang! <---" ) 
end
if s == l then
say ( "Personalizzate voi ENJOY!" )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY!<---" )  
end
if m == l then
say ( "Personalizzate voi ENJOY!" )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
pc . give_item2 (  27803 , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY!<---" ) 
end
if s == 27822 and 
m == 27822 and 
l == 27822 then
say ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "71051" , 1 )
pc . give_item2 ( "71052" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end 
if s == 27816 and 
m == 27816 and 
l == 27816 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "17109" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end
if s == 30047 and 
m == 30047 and 
l == 30047 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "50513" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY!! <---" )
end 
if s == 30050 and 
m == 30050 and 
l == 30050 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "27992" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY!! <---" )
end 
if s == 30021 and 
m == 30021 and 
l == 30021 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "27993" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end 
if s == 30010 and 
m == 30010 and 
l == 30010 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "27994" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end
if s == 30005 and 
m == 30005 and 
l == 30005 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "25041" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end
if s == 30002 and 
m == 30002 and 
l == 30002 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "27987" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end
if s == 30008 and 
m == 30008 and 
l == 30008 then
say  ( "Personalizzate voi ENJOY!" )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
pc . give_item2 ( "25040" , 1 )
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
end
say ( "Fortunato nel gioco, sfortunato in amore!" )
end
end
end
end  [/SPOILER]

Bene, potrete personalizzarlo modificando i prezzi oppure gli item che si ricevono, per gli item
vi basta modificare alcuni value esempio
Codice:
25040
cosi personalizzerete gli item...
Qui:
Codice:
notice_all ( "---> " .. pc.get_name() .. " Personalizzate voi ENJOY! <---" )
al posto di Personalizzate voi ENJOY dovrete mettere "ha vinto ... (al posto di "..." dovrete mettere esempio - 1kk -)"
E molto molto semplice ma non e finita qua, ehehe c'è disponibile anche la slot maschine!
N.B. per riuscire a personalizzarlo al massimo e chiaramente dovuta una minima conoscenza del linguaggio!
Il link lo do SOLO in PM...
Il link comprende, quest, file msm, modello dds e modello gr2...


Fonti: elitepvpers and Niki_91
 
Niki, la slot machine non è tua, è di Majestic.

E' tutto qui dentro:
Majestic-net.rar ... at ul.to - Free File Hosting, Free Image Hosting, Free Music Hosting, Free Video Hosting, ...
(upload di Nemeziss/Majestic)

Lucifer, credo di averle messe le fonti, ora scarico il file e vedo..
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom