Domanda [RELASE]Cartolibreria (Item Scolastici)

Stato
Discussione chiusa ad ulteriori risposte.

Th3Rifl3x ak Sh4d0wM4st3r

Utente Emerald
19 Giugno 2010
1,610
42
113
421
Ultima modifica:
Salve a tutti.
Oggi ho deciso di fare alcuni item a "sfizio"
cioè gli item della cartolibreria....(di solito sono Astucci,ecc....)
allora,ho fatto questi piccoli item:
screenzu.jpg

Gli item sono a sfizio,non hanno nessun potere.Pero' se volete cambiarli,fate pure.
Potete anche fare un npc che in cambio di questi item da' yang,che ne so'.
Ecco le stringhe che dovrete inserire in :
Item_Proto
Codice:
<Item vnum="60037" hashName="'Zaino seven'" name="Zaino Seven" type="5" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
<Item vnum="60038" hashName="'Penna'" name="Penna" type="5" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
<Item vnum="60039" hashName="'Pastelli'" name="Pastelli" type="5" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
<Item vnum="60040" hashName="'Astuccio'" name="Astuccio" type="5" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
<Item vnum="60041" hashName="'Quaderni'" name="Quaderni" type="5" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
<Item vnum="60042" hashName="'Libri'" name="Libri" type="5" subtype="0" weight="0" size="1" antiflag="0" flag="4" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64992" socket2="127" socket3="64976" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
Item_List:
Codice:
60037 ETC icon/item/60037.tga
60038 ETC icon/item/60038.tga
60039 ETC icon/item/60039.tga
60040 ETC icon/item/60040.tga
60041 ETC icon/item/60041.tga
60042 ETC icon/item/60042.tga
ItemDesc
Codice:
60037	Zaino Seven	Zaino Targato SEVEN.
60038   Penna           Penna Spia.
60039   Pastelli        Pastelli a legno
60040   Astuccio        Un Astuccio Classico
60041   Quaderni        Quaderno firmato Colorbook
60042   Libri           Libri per tutti i gusti
Query per Implementare :
Codice:
INSERT INTO `item_proto` VALUES ('60037', 'Zaino Seven', 'Zaino Seven', '5', '0', '0', '1', '0', '4', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
INSERT INTO `item_proto` VALUES ('60038', 'Penna', 'Penna', '5', '0', '0', '1', '0', '4', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
INSERT INTO `item_proto` VALUES ('60039', 'Pastelli', 'Pastelli', '5', '0', '0', '1', '0', '4', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
INSERT INTO `item_proto` VALUES ('60040', 'Astuccio', 'Astuccio', '5', '0', '0', '1', '0', '4', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
INSERT INTO `item_proto` VALUES ('60041', 'Quaderni', 'Quaderni', '5', '0', '0', '1', '0', '4', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
INSERT INTO `item_proto` VALUES ('60042', 'Libri', 'Libri', '5', '0', '0', '1', '0', '4', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '0', '0');
Download icon:
icon.rar
Poi,In Caso se volete anche 1 npc,c'e a disposizione:
Codice:
 say_title ( "Cartolibreria" )
say ( "Benvenuto alla cartolibreria! compra gli accessori!" )
say_reward ( "Costa solo 10.000 yang" )
local siono = select ( "Si","No" )
if siono == 2 then
return
elseif siono == 1 then
if pc . gold < 10000 then
say_reward ( "Non hai abbastanza yang" )
return
elseif pc . gold >= 10000 then
pc . changegold ( - 10000 )
say ( "Seleziona l'item." )
local item = select ( "Zaino Seven","Penna","Pastelli","Astuccio","Quaderni","Libri, No Grazie" )
elseif item == 1 then
pc . give_item2 ( 60037 , 1 )
say ( "Ciao!" )
end
elseif item == 2 then
pc . give_item2 ( 60038 , 1 )
say ( "Ciao!" )
end
elseif item == 3 then
pc . give_item2 ( 60039 , 1 )
say ( "Ciao!" )
end
elseif item == 4 then
pc . give_item2 ( 60040 , 1 )
say ( "Ciao!" )
end
elseif item == 5 then
pc . give_item2 ( 60041 , 1 )
say ( "Ciao!" )
end
elseif item == 6 then
pc . give_item2 ( 60042 , 1 )
say ( "Ciao!" )
end
elseif item == 7 then
say ( "Ci Vediamo!" )
return
end

Ringrazio TrueHero per le icon,se volete dargli rep http://www.cheatforge.net/community/reputation.php?do=addreputation&p=992504
Ringrazio anche quelli che mi daranno +1.
NB*=Ricordo che qui siamo a cheatforge,ci dobbiamo aiutare l'un l'altro,quindi :asd:
Ciau! :asd: ò.ò
NB**=Accetto +1 ò.ò
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom