Forum RevolutionRo Strona Główna RevolutionRo
Forum servera RevolotiOn
 
 FAQFAQ   SzukajSzukaj   UżytkownicyUżytkownicy   GrupyGrupy   GalerieGalerie   RejestracjaRejestracja 
 ProfilProfil   Zaloguj się, by sprawdzić wiadomościZaloguj się, by sprawdzić wiadomości   ZalogujZaloguj 

Housing Script

 
Napisz nowy temat   Odpowiedz do tematu    Forum RevolutionRo Strona Główna -> Ogólne
Zobacz poprzedni temat :: Zobacz następny temat  
Autor Wiadomość
rezo
Administrator
Administrator



Dołączył: 07 Sie 2005
Posty: 75
Przeczytał: 0 tematów

Ostrzeżeń: 0/10
Skąd: Szczecin

PostWysłany: Czw 17:52, 18 Sie 2005    Temat postu: Housing Script

Poniżej script Housing dodaj to seph i uzupełnij:

prontera.gat,<x>,<y>,<p> script House Man <SpriteID>,{
if(countitem(674) !=0) goto Pass;
if(getgmlevel(99) >= 40 ) goto GM_Menu;

noPass:
mes "[House Man]";
mes "Welcome to the housing industry";
mes "How can I help you?";
menu "What is a house?",M_0,"How much does it cost?",M_1,"How can I get a house?",M_2,"Ive lost my pass",M_3,"Exit",M_4;

M_0:
mes "[House Man]";
mes "A house is for comfort and saftey, you can live in by yourself, or with a wife/husband, or even a couple of mates stay in one Smile";
next;
mes "And it also can be used for a refuse if others are hunting you down, ie. a n00b is wanting someting off ya..";
goto noPass;

M_2:
mes "[House Man]";
mes "You will have to talk to a GM when he/she is on, get them to contact Micksta who will let you look at the houses avaliable to buy...";
next;
mes "Now remember houses cost alot of money so dont go bothering GM's";
goto noPass;

M_1:
mes "[House Man]";
mes "Houses range from 10 million zeny upto 40 million zeny...";
mes "Also you can accsessories for you house";
next;
mes "These include a personal butler who will heal, warp and buff you for free, Butlers cost 2 mill.";
mes "And for 1 mill you can get one shop in your house, (dependant on your job), that sells weapons..";
goto noPass;

M_3:
mes "[House Man]";
mes "If you have lost your pass, you will need to find a GM, upon questioning you, he might choose to give you another pass";
next;
mes "Remember all GM's have the right to revoke all pass's and houses, so watch out, and dont piss them off....";
goto noPass;

M_4:
mes "[House Man]";
mes "Well ok then, cya!";
close;

Pass:
mes "[House Man]";
mes "Welcome House Owner";
mes "Please select your house region.";
menu "Al De Baran",H_0,"Alberta",H_1,"Comodo",H_2,"Geffen",H_3,"Gonyrun",H_4,"Louyang",H_5,"Morroc",H_6,"Prontera",H_7,"Umbala",H_8;

//Al De Baran
H_0:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Alde_L1,"Lot 2",Alde_L2,"Lot3",Alde_L3,"Lot 4",Alde_L4;

Alde_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "aldeba_in.gat",27,105;

Alde_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "aldeba_in.gat",242,238;

Alde_L3:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "aldeba_in.gat",149,120;

Alde_L4:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "alde_alche.gat",162,163;

//Alberta
H_1:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Alb_L1,"Lot 2",Alb_L2,"Lot 3",Alb_L3,"Lot 4",Alb_L4;

Alb_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "alberta_in.gat",116,97;

Alb_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "alberta_in.gat",22,172;

Alb_L3:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "alberta_in.gat",22,110;

Alb_L4:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "alberta_in.gat",116,49;

//Comodo
H_2:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Como_L1,"Lot 2",Como_L2,"Lot 3",Como_L3,"Lot 4",Como_L4;

Como_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "cmd_in02.gat",141,171;

Como_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "cmd_in02.gat",67,132;

Como_L3:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "cmd_in01.gat",181,81;

Como_L4:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "cmd_in01.gat",120,69;

//Geffen
H_3:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Gef_L1,"Lot 2",Gef_L2,"Lot 3",Gef_L3;

Gef_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "geffen_in.gat",138,146;

Gef_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "geffen_in.gat",106,28;

Gef_L3:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "geffen_in.gat",111,103;

//Gonyrun
H_4:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Gon_L1,"Lot 2",Gon_L2,"Lot 3",Gon_L3;

Gon_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "gon_in.gat",112,98;

Gon_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "gon_in.gat",95,24;

Gon_L3:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "gon_in.gat",45,24;

//Louyang
H_5:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Lou_L1,"Lot 2",Lou_L2;

Lou_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "lou_in02.gat",71,30;

Lou_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "lou_in02.gat",118,34;

//Morroc
H_6:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Mor_L1,"Lot 2",Mor_L2;

Mor_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "morocc_in.gat",174,106;

Mor_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "morocc_in.gat",174,169;

//Prontera
H_7:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Pront_L1,"Lot 2",Pront_L2,"Lot 3",Pront_L3,"Lot 4",Pront_L4;

Pront_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "prt_in.gat",254,110;

Pront_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "prt_in.gat",44,29;

Pront_L3:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "prt_in.gat",227,14;

Pront_L4:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "prt_in.gat",128,41;

//Umbala
H_8:
mes "[House Man]";
mes "Please choose your House...";
menu "Lot 1",Umb_L1,"Lot 2",Umb_L2,"Lot 3",Umb_L3,"Lot 4",Umb_L4;

Umb_L1:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "um_in.gat",141,42;

Umb_L2:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "um_in.gat",38,113;

Umb_L3:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "um_in.gat",31,70;

Umb_L4:
mes "[House Man]";
mes "Thank you for using our services.";
close2;
warp "um_in.gat",99,66;




}

//////////////////////////////////////
///////////Butler NPC////////////////
////////////////////////////////////
//for the butler npc, in each house you want him/her in, just duplicate the npc below...


first house.gat,<x>,<y>,<p> script Butler <spriteID>,{
mes "[Butler]";
mes "Welcome ^5566FF"+strcharinfo(0)+"^000000";
mes "How may I help you today?";
menu "Heal Me",B_0,"Buffs",B_1"Warp",B_2;

B_0:
percentheal 100,100;
sc_end SC_Poison;
sc_end SC_Silence;
sc_end SC_Blind;
sc_end SC_Confusion;
sc_end SC_Curse;
sc_end SC_Hallucination;
mes "[Butler]";
mes "There, you are healed, enjoy!";
close;

B_1:
skilluseid 29,10;
percentheal 0,100
skilluseid 34,10;
percentheal 0,100
skilluseid 45,10;
percentheal 0,100
skilluseid 66,5;
percentheal 0,100
skilluseid 67,5;
percentheal 0,100
skilluseid 73,10;
percentheal 0,100
skilluseid 74,10;
percentheal 0,100
skilluseid 75,5;
percentheal 0,100
skilluseid 111,5;
percentheal 0,100
skilluseid 112,5;
percentheal 0,100
skilluseid 113,5;
percentheal 0,100
skilluseid 114,5;
percentheal 0,100
skilluseid 157,1;
percentheal 0,100
skilluseid 361,10;
percentheal 0,100
skilluseid 362,5;
percentheal 0,100
skilluseid 33,10;
mes "[Butler]";
mes "There you go, fully buffed up Razz";
close;


B_2:
mes "[Butler]";
mes "I can warp you to any Town and Dungeon! Were do you want to go?";
next;
menu "Towns",town,"Dungeons",dungeon;
town:
menu "Alberta",walberta,"Aldebaran",waldebaran,"Amatsu",wamatsu,"Comodo",wcomodo,"Gonryun",wgonryun,"Geffen",wgeffen,"Izlude",wizlude,"Lutie",wxmas,"Morroc",wmorroc,"Niflheim",wniflheim,"Payon",wpayon,"Prontera",wprontera,"Yuno",wyuno,"Umbala",wumbala,"Valkyrie",wvalk,"Louyang",wlouyang;
dungeon:
menu "Amatsu Dungeon",ama,"Gonryun Dungeon",gon,"Anthell",ant,"Beach Dungeon",beach,"Byalan Dungeon",byalan,"Clock Tower",clock,"Coal Mines",coal,"Culvert",culvert,"Geffen Dungeon",geffen,"Glast Heim",glast,"Hidden Dungeon",hidden,"Magma Dungeon",magma,"Orc Dungeon",orc,"Payon Dungeon",payon,"Pyramids",pyramids,"Sphinx",sphinx,"Sunken Ship",sunken,"Toy Factory",toy,"Turtle Dungeon",turtle,"Gefenia",gefenia;
ant:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",danthell1,"Level 2",danthell2;
beach:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dbeach1,"Level 2",dbeach2,"Level 3",dbeach3;
byalan:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dbyalan1,"Level 2",dbyalan2,"Level 3",dbyalan3,"Level 4",dbyalan4,"Level 5",dbyalan5;
clock:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dclock1,"Level 2",dclock2,"Level 3",dclock3,"Level 4",dclock4,"Basement 1",dalde1,"Basement 2",dalde2,"Basement 3",dalde3,"Basement 4",dalde4;
coal:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dcoal1,"Level 2",dcoal2,"Level 3",dcoal3;
culvert:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dculvert1,"Level 2",dculvert2,"Level 3",dculvert3,"Level 4",dculvert4;
geffen:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dgeffen1,"Level 2",dgeffen2,"Level 3",dgeffen3,"Level 4",dgeffen4;
glast:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Entrance",dglastent,"Castle 1",dglastcast1,"Castle 2",dglastcast2,"Chivalry 1",dglastchiv1,"Chivalry 2",dglastchiv2,"Churchyard",dglastyard,"Culvert 1",dglastcul1,"Culvert 2",dglastcul1,"Culvert 3",dglastcul3,"Culvert 4",dglastcul4,"St.Abbey",dglastchur,"Staircase Dungeon",dglaststep,"Underground Cave 1",dglastcave1,"Underground Cave 2",dglastcave2,"Underground Prison 1",dglastpris1,"Underground Prison 2",dglastpris2;
hidden:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dhidden1,"Level 2",dhidden2,"Level 3",dhidden3;
magma:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dmagma1,"Level 2",dmagma2;
orc:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dorc1,"Level 2",dorc2;
payon:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dpayon1,"Level 2",dpayon2,"Level 3",dpayon3,"Level 4",dpayon4,"Level 5",dpayon5;
pyramids:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dpyramids1,"Level 2",dpyramids2,"Level 3",dpyramids3,"Level 4",dpyramids4,"Basement 1",dpyramidsb1,"Basement 2",dpyramidsb2;
sphinx:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dsphinx1,"Level 2",dsphinx2,"Level 3",dsphinx3,"Level 4",dsphinx4,"Level 5",dsphinx5;
sunken:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dsunken1,"Level 2",dsunken2;
toy:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dtoy1,"Level 2",dtoy2;
turtle:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Entrance",dturtleent,"Level 1",dturtle1,"Level 2",dturtle2,"Level 3",dturtle3;
ama:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dama1,"Level 2",dama2,"Level 3",dama3;
gon:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dgon1,"Level 2",dgon2,"Level 3",dgon3;
gefenia:
mes "[Butler]";
mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
next;
menu "Level 1",dgefenia1,"Level 2",dgefenia2,"Level 3",dgefenia3,"Level 4",dgefenia4;

//----------------Towns----------------\\

walberta: warp "alberta.gat",192,147; close;
waldebaran: warp "aldebaran.gat",140,131; close;
wamatsu: warp "amatsu.gat",198,84; close;
wcomodo: warp "comodo.gat",209,143; close;
wgonryun: warp "gonryun.gat",160,121; close;
wgeffen: warp "geffen.gat",119,59; close;
wizlude: warp "izlude.gat",128,114; close;
wxmas: warp "xmas.gat",147,134; close;
wmorroc: warp "morocc.gat",156,93; close;
wniflheim: warp "niflheim.gat",85,154; close;
wpayon: warp "payon.gat",152,75; close;
wprontera: warp "prontera.gat",156,191; close;
wyuno: warp "yuno.gat",157,51; close;
wumbala: warp "umbala.gat",145,155; close;
wlouyang: warp "louyang.gat",210,108; close;
wvalk: warp "valkyrie",48,8; close;

//----------------Dungeons----------------\\

danthell1: warp "anthell01.gat",35,262; close;
danthell2: warp "anthell02.gat",168,170; close;
dbeach1: warp "beach_dun.gat",266,67; close;
dbeach2: warp "beach_dun2.gat",255,244; close;
dbeach3: warp "beach_dun3.gat",23,260; close;
dbyalan1: warp "iz_dun00.gat",168,168; close;
dbyalan2: warp "iz_dun01.gat",253,252; close;
dbyalan3: warp "iz_dun02.gat",236,204; close;
dbyalan4: warp "iz_dun03.gat",32,63; close;
dbyalan5: warp "iz_dun04.gat",26,27; close;
dalde1: warp "alde_dun01.gat",297,25; close;
dalde2: warp "alde_dun02.gat",127,169; close;
dalde3: warp "alde_dun03.gat",277,178; close;
dalde4: warp "alde_dun04.gat",268,74; close;
dclock1: warp "c_tower1.gat",199,159; close;
dclock2: warp "c_tower2.gat",148,283; close;
dclock3: warp "c_tower3.gat",65,147; close;
dclock4: warp "c_tower4.gat",56,155; close;
dcoal1: warp "mjo_dun01.gat",52,17; close;
dcoal2: warp "mjo_dun02.gat",381,343; close;
dcoal3: warp "mjo_dun03.gat",302,262; close;
dculvert1: warp "prt_sewb1.gat",131,247; close;
dculvert2: warp "prt_sewb2.gat",19,19; close;
dculvert3: warp "prt_sewb3.gat",180,169; close;
dculvert4: warp "prt_sewb4.gat",100,92; close;
dgeffen1: warp "gef_dun00.gat",104,99; close;
dgeffen2: warp "gef_dun01.gat",115,236; close;
dgeffen3: warp "gef_dun02.gat",106,132; close;
dgeffen4: warp "gef_dun03.gat",203,200; close;
dglastent: warp "glast_01.gat",375,304; close;
dglastcast1: warp "gl_cas01.gat",199,29; close;
dglastcast2: warp "gl_cas02.gat",104,25; close;
dglastchiv1: warp "gl_knt01.gat",150,15; close;
dglastchiv2: warp "gl_knt02.gat",157,287; close;
dglastyard: warp "gl_chyard.gat",147,15; close;
dglastcul1: warp "gl_sew01.gat",258,255; close;
dglastcul2: warp "gl_sew02.gat",108,291; close;
dglastcul3: warp "gl_sew03.gat",171,283; close;
dglastcul4: warp "gl_sew04.gat",68,277; close;
dglastchur: warp "gl_church.gat",156,7; close;
dglaststep: warp "gl_step.gat",12,7; close;
dglastcave1: warp "gl_dun01.gat",133,271; close;
dglastcave2: warp "gl_dun02.gat",224,274; close;
dglastpris1: warp "gl_prison.gat",14,70; close;
dglastpris2: warp "gl_prison1.gat",150,14; close;
dhidden1: warp "prt_maze01.gat",176,7; close;
dhidden2: warp "prt_maze02.gat",94,9; close;
dhidden3: warp "prt_maze03.gat",23,8; close;
dmagma1: warp "mag_dun01.gat",126,68; close;
dmagma2: warp "mag_dun02.gat",47,30; close;
dorc1: warp "orcsdun01.gat",32,170; close;
dorc2: warp "orcsdun02.gat",21,185; close;
dpayon1: warp "pay_dun00.gat",21,183; close;
dpayon2: warp "pay_dun01.gat",19,33; close;
dpayon3: warp "pay_dun02.gat",19,63; close;
dpayon4: warp "pay_dun03.gat",155,159; close;
dpayon5: warp "pay_dun04.gat",201,204; close;
dpyramids1: warp "moc_pryd01.gat",192,9; close;
dpyramids2: warp "moc_pryd02.gat",10,192; close;
dpyramids3: warp "moc_pryd03.gat",100,92; close;
dpyramids4: warp "moc_pryd04.gat",181,11; close;
dpyramidsb1: warp "moc_pryd05.gat",94,96; close;
dpyramidsb2: warp "moc_pryd06.gat",192,8; close;
dsphinx1: warp "in_sphinx1.gat",288,9; close;
dsphinx2: warp "in_sphinx2.gat",149,81; close;
dsphinx3: warp "in_sphinx3.gat",210,54; close;
dsphinx4: warp "in_sphinx4.gat",10,222; close;
dsphinx5: warp "in_sphinx5.gat",100,99; close;
dsunken1: warp "treasure01.gat",69,24; close;
dsunken2: warp "treasure02.gat",102,27; close;
dtoy1: warp "xmas_dun01.gat",205,15; close;
dtoy2: warp "xmas_dun02.gat",129,133; close;
dturtleent: warp "tur_dun01.gat",154,49; close;
dturtle1: warp "tur_dun02.gat",148,261; close;
dturtle2: warp "tur_dun03.gat",132,189; close;
dturtle3: warp "tur_dun04.gat",100,192; close;
dama1: warp "ama_dun01.gat",228,11; close;
dama2: warp "ama_dun02.gat",34,41; close;
dama3: warp "ama_dun03.gat",119,14; close;
dgon1: warp "gon_dun01.gat",153,53; close;
dgon2: warp "gon_dun02.gat",28,113; close;
dgon3: warp "gon_dun03.gat",68,16; close;
dgefenia1: warp "gefenia01.gat",40,103; close;
dgefenia2: warp "gefenia02.gat",203,34; close;
dgefenia3: warp "gefenia03.gat",266,168; close;
dgefenia4: warp "gefenia04.gat",130,272; close;
}

<map name>,<x>,<y>,<p> duplicate(<NPC label>) <sprite id>


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Zobacz poprzedni temat :: Zobacz następny temat  
Autor Wiadomość
whiteman
Marin



Dołączył: 11 Sie 2005
Posty: 84
Przeczytał: 0 tematów

Ostrzeżeń: 0/10
Skąd: z Biedronki :-)

PostWysłany: Czw 19:57, 18 Sie 2005    Temat postu:

house jest w porzadku, bardzo fajny motyw, jest na porządnych serwerach więc jestem na tak

Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Wyświetl posty z ostatnich:   
Napisz nowy temat   Odpowiedz do tematu    Forum RevolutionRo Strona Główna -> Ogólne Wszystkie czasy w strefie EET (Europa)
Strona 1 z 1

 
Skocz do:  
Możesz pisać nowe tematy
Możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach

fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
Regulamin