Unmantained Guida [RELEASE] Informatore v.1.0

Una guida contrassegnata come Unmantained contiene informazioni su un argomento obsoleto, non più utile o files non aggiornati da parte del creatore.
Stato
Discussione chiusa ad ulteriori risposte.

RayInkube

Utente Electrum
19 Gennaio 2009
296
15
36
116
Ultima modifica:
Sera community, inanzi tutto ringrazio fade del gfo team per avermi "ispirato", il suo codice erano giusto 10 righe, io ho semplicemente accurato il tutto e aggiunto un pò di "style" al tutto.
Spero vi piaccia, non sto qua a spiegarvi dove e come metterlo che ci riescono tutti ormai, per dubbi o quant'altro postate pure qua, ah.. il source è 100% mio <.<' ma le function le ho messe sotto consiglio di S4LV0DM!
Se avete qualche idea ditelo pure che la inserisco :)

Codice:
function m1()
 say_title(color256(0, 255, 255) .. "RayInkube, Informatore:")
say("")
end
function y(name) 
 say(color256(255, 255, 255)..name)
end
function k(name) 
 say(color256(255, 0, 0)..name)
end
local job = pc . get_job ( )
local sex = pc . get_sex ( )
local lvl = pc . get_level ( )
local hp = pc . get_hp ( )
local yang = pc . get_gold ( )
local exp = pc . get_exp ( )
local lvlhorse = pc . get_horse_level ( )
local name = pc . get_name ( )
m1()
y("Ciao, vuoi sapere tutte le informazioni "..name.."?" )
	local info = select("Si, volentieri!","No, grazie")
	if info == 1 then
m1()
say_reward("Iniziamo:")
y("Nome:"..name.."")
	if job == 1 then
y("Razza : Ninja")
	elseif job == 2 then
y("Razza : Sura")
	elseif job == 3 then
y("Razza : Shamano")
	elseif job == 0 then
y("Razza : Guerriero")
	end 
y("Livello: "..lvl.."")
y("Hp: "..hp.."" )
y("Yang: ".. yang .."")
y("Exp: "..exp.. "" )
if lvlhorse == 0 then
	y("Ciuco : Non lo hai" )
elseif lvlhorse >= 1 then
	y("Ciuco : Principiante" )
elseif lvlhorse >= 11 then
	y("Ciuco : Medio" )
elseif lvlhorse >= 25 then
	y("Ciuco : Esperto" )
		end
if lvlhorse >= 1 then
	y("Livello Ciuco:"..lvlhorse.."")	
			end
if sex == 0 then
	y("Sesso : Maschio")
elseif sex == 1 then
	y("Sesso : Femmina")
		end

if lvl <= 30 then
	y( "" )
	k("Hai ancora tanta strada da fare." )
	k("Allenati, allenati e allenati di nuovo!" )
	k("Se vuoi diventare il migliore!" )
elseif lvl <= 60 then
	say("" )
	k("Vedo che incominci a essere forte!" )
	k("La tua intelligenza si sta rafforzando" )
	k("Continua così!" )
elseif lvl <= 80 then
	y("" )
	k("Non ho parole!" )
	k("Chissà che tu non stia puntando alla vetta!" )
	k("Continua così!" )
elseif lvl <= 90 then
	y("" )
	k("Tutti tremano dinanzi a te" )
	k("Al tuo passaggio la gente acclama il tuo nome!" )
	k("Sei fortissimo!" )
elseif lvl <= 125 then
	y("")
	k("Questo sei te,una vera e propia macchina da guerra!" )
	k("Hai raggiunto un livello impressionante" )
	k("")
end
		elseif info == 2 then
			m1()
			y("Ma come "..name.."....")
			y("non ti interessa il sapere?")
				return 
					end
 
if lvlhorse == 0 then
y("Ciuco : Non lo hai" )
elseif lvlhorse => 1 then
y("Ciuco : Principiante" )
elseif lvlhorse => 11 then
y("Ciuco : Medio" )
elseif lvlhorse => 25 then
y("Ciuco : Esperto" )
end

Ci stanno degli errori >= e non =>
 
Stato
Discussione chiusa ad ulteriori risposte.

DISCUSSIONI SIMILI

Indietro
Top Bottom