Здравствуйте, гость ( Вход | Регистрация )

> Скрипты под PvP Сервер !!!
-=St0rm=-
сообщение 27.2.2005, 8:22
Сообщение #1


**

Группа: Пользователи
Наличность: 0
Из: Москва
Пользователь №: 2.254



Код
[ITEMDEF i_animal_STONE]

ID=01173

NAME=Animal Stone

TYPE=t_normal





ON=@CREATE

ATTR=00010

COLOR=3135



On=@dclick

DIALOG d_animals

return 1







[dialog d_animals]



50,50

page 0

resizepic 25 0 2600 240 200



Button 195 57 4024 4025 1 0 1 // horse 2118 2117

Button 195 87 4024 4025 1 0 2 // lama

Button 195 117 4024 4025 1 0 4 // zustr



text 113 20 167 0

text 70 60 198 1

text 70 90 198 2

text 70 120 198 3

text 75 167 173 4



[dialog d_animals text]

Animals

Horse

Llama

Zostrich

Crafted by Storm



[dialog d_animals Button]



onbutton=1

IF (<SRC.FINDLAYER(25)>==0)

src.newitem=i_mt_horse_tan

SRC.ACT.EQUIP

SRC.ACT.more=c_horse_new

SRC.ACT.name=Horse

src.act.color=0

return 1

ELSE

SRC.SYSMESSAGE You allready have an animal!

RETURN 1

ENDIF



onbutton=2

IF (<SRC.FINDLAYER(25)>==0)

src.newitem=i_mt_llama

SRC.ACT.EQUIP

SRC.ACT.more=c_llama_new

SRC.ACT.name=Llama

src.act.color=0

return 1

ELSE

SRC.SYSMESSAGE You allready have an animal!

RETURN 1

ENDIF



onbutton=4

IF (<SRC.FINDLAYER(25)>==0)

src.newitem=i_mt_ostard_zostrich

SRC.ACT.EQUIP

SRC.ACT.more=c_zostrich_new

SRC.ACT.name=Zostrich

src.act.color=0

return 1

ELSE

SRC.SYSMESSAGE You allready have an animal!

RETURN 1

ENDIF



[CHARDEF c_horse_new]

DEFNAME=c_horse_new

NAME=Horse

ID=0C8

SOUND=snd_ANIMALS_HORSE1

ICON=i_pet_horse_tan

ANIM=01fff

CAN=MT_WALK|MT_RUN

RESOURCES=15 i_ribs_raw, 10 i_hide

FOODTYPE=55 t_crops,55 t_fruit,55 t_grain, 64 t_grass

DAM=4,5

ARMOR=4

DESIRES=c_man,c_woman

SHELTER=r_stables,e_Human_Greet

AVERSIONS=e_carnivores3

CATEGORY=Add Animals

SUBSECTION=Horses

DESCRIPTION=new



ON=@Create

NAME=Horse

NPC=brain_animal

FAME=25

KARMA=0

hits=0

STR=0





[CHARDEF c_llama_new]

DEFNAME=c_llama_new

NAME=Llama

ID=0dc

SOUND=snd_ANIMALS_LLAMA3

ICON=i_pet_LLAMA

CAN=MT_WALK|MT_RUN

ANIM=01fff

DAM=2,6

ARMOR=8

RESOURCES=7 i_ribs_raw,2 i_hide

FOODTYPE=5 t_crops, 5 t_fruit, 5 t_grain, 5 i_hay, 64 t_grass

SHELTER=r_stables,spk_human_prime

DESIRES=c_llama,c_llama_pack,spk_human_prime





ON=@Create

NAME=Llama

FAME=15

NPC=brain_animal

KARMA=0

hits=0

STR=0





[CHARDEF c_zostrich_new]

DEFNAME=c_zostrich_new

NAME=Zostrich

ID=0da

SOUND=snd_ANIMAL_OSTARD_FRENZIED1

ICON=i_pet_OSTARD_ZOSTRICH

CAN=MT_WALK|MT_RUN

DAM=8,23

ARMOR=15

RESOURCES=15 i_ribs_raw

FOODTYPE=55 t_crops, 55 t_fruit, 64 t_grass

SHELTER=r_stables

ANIM=01fff





ON=@Create

NAME=Zostrich

NPC=brain_animal

FAME=5

KARMA=0

hits=0

STR=0



[CHARDEF 03c]

DEFNAME=c_dragon_small_black

NAME=#NAMES_DRAGON the Drake

SOUND=snd_MONSTER_DRAGON1

ICON=i_pet_DRAGON

ANIM=03f9c7f

CAN=MT_WALK|MT_FLY|MT_FIRE_IMMUNE

DAM=4,24

ARMOR=23

FOODTYPE=25 t_meat_raw,t_gem

DESIRES=i_gold

SHELTER=r_caves,r_dungeon

AVERSIONS=r_water,r_civilization

CATEGORY=Monsters

SUBSECTION=Dragons and Drakes

DESCRIPTION=Drake (Gray)

TSPEECH=drakeride



ON=@Create

NPC=brain_dragon

FAME={2000 6000}

KARMA={-5000 -6999}

//ALIGNMENT=EVIL

//SPELLCIRCLES=4



STR={200 230}

DEX={133 152}

INT={100 140}



PARRYING={65.0 80.0}

MAGICRESISTANCE={65.0 80.0}

TACTICS={65.0 90.0}

WRESTLING={65.0 80.0}

TAMING=100.0





[SPEECH drakeride]

ON=*MOUNT*

IF (<SRC.FLAGS>&000000400)

SRC.MESSAGE You can't mount this beast while polymorphed!

RETURN 1

ELSEIF (<SRC.FINDLAYER.25.UID> )

SRC.MESSAGE You are already mounted!

RETURN 1

ELSEIF (<ISMYPET> ) && (<BODY>==c_dragon_small_black)

REMOVE

SRC.NEWITEM=i_drag_mount

SRC.ACT.MORE1=c_dragon_small_black

SRC.ACT.MORE2=<src.uid>

SRC.ACT.NAME=<NAME>

SRC.ACT.COLOR=<COLOR>

SRC.ACT.EQUIP

SRC.UPDATE

RETURN 1

ENDIF



[ITEMDEF i_drag_mount]

NAME=Dragon Mount

ID=03eaa

TYPE=T_EQ_HORSE

LAYER=25

TDATA3=c_dragon_small_black



ON=@EQUIP

LINK=<SRC.UID>



[EOF]


Как на пвп... но можно переделать... в другой стоун...


--------------------
Трудно быть богом...
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
 
Ответить в эту темуОткрыть новую тему
Ответов
-=St0rm=-
сообщение 27.2.2005, 8:28
Сообщение #2


**

Группа: Пользователи
Наличность: 0
Из: Москва
Пользователь №: 2.254



Код
//////////////////////////Stone Race



[ITEMDEF i_race_stone]

ID=4483

TYPE = t_eq_script

Name=Morpher Stone



ON=@Create

color=09b1

ATTR=8010



ON=@DCLICK

SRC.SFX 555

DIALOG d_race_stone

RETURN 0



///////////////////////////////////////

// BEGIN GUMP FOR QUEST SYSTEM

///////////////////////////////////////



[DIALOG d_race_stone]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

button 143 255 2117 2118 1 0 3

button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

//button 115 372 2031 2032 1 0 6



//Text Fields

text 206 35 1171 0

text 165 150 1155 1

//text 135 173 1153 2

text 165 200 1155 3

//text 135 223 1153 4

text 165 250 1155 5

//text 135 273 1153 6

text 165 300 1155 7

//text 135 323 1153 8



[DIALOG d_race_stone TEXT]

Races

Path of Might

2500 Credits

Path of Blood

3000 Credits

Path of Light

Elite Human

Path of Amazone

10 Silver Deeds



[DIALOG d_race_stone BUTTON]

ONBUTTON=0

ONBUTTON=1

src.dialog d_race_berserker

ONBUTTON=2

src.dialog d_race_vampire

ONBUTTON=3

src.dialog d_race_paladin

ONBUTTON=4

src.dialog d_race_amazone



[DIALOG d_race_amazone]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

button 143 255 2117 2118 1 0 3

button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

text 135 173 1153 2

text 165 200 1155 3

text 135 223 1153 4

text 165 250 1155 5

text 135 273 1153 6

text 165 300 1155 7

text 135 323 1153 8



[DIALOG d_race_amazone TEXT]

Amazones Menu

Amazone 1 level [Path of Amazone]

1000 Credits

Amazone 2 level [Amazone]

2500 Credits

Amazone 3 level [Amazon Girl]

3500 Credits

Amazone 4 level [Evil Amazon]

4500 Credits



[DIALOG d_race_amazone BUTTON]

ONBUTTON=0

ONBUTTON=1



IF ! (<SRC.OSKIN>==083ea) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Human.



RETURN 1



else



if (<src.tag.credits> >= 1000 )

RACE_INIT_Amazone1

src.tag.credits = (<src.tag.credits> ) + (-1000)

SRC.SYSMESSAGE You are now Amazone is 1 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=2





IF ! (<SRC.OSKIN>==color_Amazone_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Amazone 1 level







RETURN 1

else





if (<src.tag.credits> >= 2500 )

RACE_INIT_Amazone2

src.tag.credits = (<src.tag.credits> ) + (-2500)

SRC.SYSMESSAGE You are now Amazone is 2 level.



ELSE



ONBUTTON=3



IF ! (<SRC.OSKIN>==color_Amazone2_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Amazone 2 level







RETURN 1

else





if (<src.tag.credits> >= 3500 )

RACE_INIT_Amazone3

src.tag.credits = (<src.tag.credits> ) + (-3500)

SRC.SYSMESSAGE You are now Amazone is 3 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=4



IF ! (<SRC.OSKIN>==color_amazone3_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Amazone 3 level







RETURN 1

else





if (<src.tag.credits> >= 4500 )

RACE_INIT_Amazone4

src.tag.credits = (<src.tag.credits> ) + (-4500)

SRC.SYSMESSAGE You are now Amazone is 4 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



[DIALOG d_race_berserker]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

button 143 255 2117 2118 1 0 3

button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

text 135 173 1153 2

text 165 200 1155 3

text 135 223 1153 4

text 165 250 1155 5

text 135 273 1153 6

text 165 300 1155 7

text 135 323 1153 8



[DIALOG d_race_berserker TEXT]

Berserker Menu

Berserker 1 level [Master]

1500 Credits

Berserker 2 level [Barbarian]

5000 Credits

Berserker 3 level [Berserker]

5500 Credits

Berserker 4 level [Avenger of Heaven]

7000 Credits



[DIALOG d_race_berserker BUTTON]

ONBUTTON=0

ONBUTTON=1



IF ! (<SRC.OSKIN>==083ea) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Human.



RETURN 1



else



if (<src.tag.credits> >= 1500 )

RACE_INIT_BERSERKER1

src.tag.credits = (<src.tag.credits> ) + (-1500)

SRC.SYSMESSAGE You are now berserker is 1 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=2





IF ! (<SRC.OSKIN>==color_berserker_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Berserker 1 level







RETURN 1

else





if (<src.tag.credits> >= 5000 )

RACE_INIT_BERSERKER2

src.tag.credits = (<src.tag.credits> ) + (-5000)

SRC.SYSMESSAGE You are now berserker is 2 level.



ELSE



ONBUTTON=3



IF ! (<SRC.OSKIN>==color_berserker2_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Berserker 2 level







RETURN 1

else





if (<src.tag.credits> >= 5500 )

RACE_INIT_BERSERKER3

src.tag.credits = (<src.tag.credits> ) + (-5500)

SRC.SYSMESSAGE You are now berserker is 3 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=4



IF ! (<SRC.OSKIN>==color_berserker3_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Berserker 3 level







RETURN 1

else





if (<src.tag.credits> >= 7000 )

RACE_INIT_BERSERKER4

src.tag.credits = (<src.tag.credits> ) + (-7000)

SRC.SYSMESSAGE You are now berserker is 4 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



[DIALOG d_race_vampire]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

button 143 255 2117 2118 1 0 3

button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

text 135 173 1153 2

text 165 200 1155 3

text 135 223 1153 4

text 165 250 1155 5

text 135 273 1153 6

text 165 300 1155 7

text 135 323 1155 8





[DIALOG d_race_vampire TEXT]

Vampire Menu

Vampire 1 level [Ghoul]

1800 Credits

Vampire 2 level [Vampire]

5500 Credits

Vampire 3 level [Knight Vampire]

6000 Credits

Vampire 4 level [Nosferatu]

7000 Credits







[DIALOG d_race_vampire BUTTON]

ONBUTTON=0

ONBUTTON=1



IF ! (<SRC.OSKIN>==083ea) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Human.



RETURN 1



else



if (<src.tag.credits> >= 1800 )

RACE_INIT_VAMPIRE1

src.tag.credits = (<src.tag.credits> ) + (-1800)

SRC.SYSMESSAGE You are now vampire is 1 level.



ELSE



SRC.SYSMESSAGE You need more Credits.





ONBUTTON=2



IF ! (<SRC.OSKIN>==color_vampire_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Vampire 1 level







RETURN 1

else



if (<src.tag.credits> >= 5500 )

RACE_INIT_vampire2

src.tag.credits = (<src.tag.credits> ) + (-5500)

SRC.SYSMESSAGE You are now vampire is 2 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=3



IF ! (<SRC.OSKIN>==color_vampire2_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Vampire 2 level







RETURN 1

else



if (<src.tag.credits> >= 6000 )

RACE_INIT_vampire3

src.tag.credits = (<src.tag.credits> ) + (-6000)

SRC.SYSMESSAGE You are now vampire is 3 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=4



IF ! (<SRC.OSKIN>==color_dracula_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Vampire 3 level







RETURN 1

else



if (<src.tag.credits> >= 7000 )

RACE_INIT_vampire4

src.tag.credits = (<src.tag.credits> ) + (-7000)

SRC.SYSMESSAGE You are now vampire is 4 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



[DIALOG d_race_paladin]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

button 143 255 2117 2118 1 0 3

button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

text 135 173 1153 2

text 165 200 1155 3

text 135 223 1153 4

text 165 250 1155 5

text 135 273 1153 6

text 165 300 1155 7

text 135 323 1153 8



[DIALOG d_race_paladin TEXT]

Paladin Menu

Paladin 1 level [Adept of Light]

1600 Credits

Paladin 2 level [Warrior]

5200 Credits

Paladin 3 level [Flover of Knight]

5500 Credits

Paladin 4 level [Knight of Justice]

6200 Credits





[DIALOG d_race_paladin BUTTON]

ONBUTTON=0

ONBUTTON=1



IF ! (<SRC.OSKIN>==083ea) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Human.



RETURN 1



else



if (<src.tag.credits> >= 1600 )

RACE_INIT_paladin1

src.tag.credits = (<src.tag.credits> ) + (-1600)

SRC.SYSMESSAGE You are now paladin is 1 level.



ELSE



SRC.SYSMESSAGE You need more Credits.





ONBUTTON=2



IF ! (<SRC.OSKIN>==color_paladin_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Paladin 1 level







RETURN 1

else



if (<src.tag.credits> >= 5200 )

RACE_INIT_paladin2

src.tag.credits = (<src.tag.credits> ) + (-5200)

SRC.SYSMESSAGE You are now paladin is 2 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=3



IF ! (<SRC.OSKIN>==color_paladin2_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Paladin 2 level







RETURN 1



else



if (<src.tag.credits> >= 5500)

RACE_INIT_paladin3

src.tag.credits = (<src.tag.credits> ) + (-5500)

SRC.SYSMESSAGE You are now paladin is 3 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=4



IF ! (<SRC.OSKIN>==color_paladin3_skin) // this line checks for Xskin color. Color is 0

SRC.MESSAGE Only Paladin 3 level







RETURN 1



else



if (<src.tag.credits> >= 6200)

RACE_INIT_paladin4

src.tag.credits = (<src.tag.credits> ) + (-6200)

SRC.SYSMESSAGE You are now paladin is 4 level.



ELSE



SRC.SYSMESSAGE You need more Credits.



/////////////////////// Stone Race Items



[ITEMDEF i_race_items]

ID=4483

TYPE = t_eq_script

Name=Race Items



ON=@Create

color=0800

ATTR=00010



ON=@DCLICK

DIALOG d_race_items





///////////////////////////////////////

// BEGIN GUMP FOR QUEST SYSTEM

///////////////////////////////////////



[DIALOG d_race_items]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

button 143 255 2117 2118 1 0 3

//button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

//text 135 173 1153 2

text 165 200 1155 3

//text 135 223 1153 4

text 165 250 1155 5

//text 135 273 1153 6

//text 165 300 1155 7

//text 135 323 1153 8



[DIALOG d_race_items TEXT]

Race Items

Path of Might

1000 Credits

Path of Blood

3000 Credits

Path of Light

Winner's Ball

Classes Stone

You have <eval <src.tag.credits>> Credits



[DIALOG d_race_items BUTTON]



ONBUTTON=1

src.DIALOG d_berserker_items

ONBUTTON=2

src.dialog d_vampire_items

ONBUTTON=3

src.dialog d_paladin_items





[DIALOG d_berserker_items]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

//button 143 255 2117 2118 1 0 3

//button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

text 135 173 1153 2

text 165 200 1155 3

text 135 223 1153 4

//text 165 250 1155 5

//text 135 273 1153 6

//text 165 300 1155 7

text 135 323 1153 8



[DIALOG d_berserker_items TEXT]

Berserker Race Items

Berserker Axe

1500 Credits

Ancient Kilt

1000 Credits

Level 3

Winner's Ball

Classes Stone

You have <eval <src.tag.credits>> Credits



[DIALOG d_berserker_items BUTTON]



ONBUTTON=1

if (<src.tag.credits> >= 1500 )

SRC.NEWITEM=i_berserker_Axe

SRC.ACT.BOUNCE

SRC.ACT.AMOUNT=1

src.tag.credits = (<src.tag.credits> ) + (-1500)



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=2



if (<src.tag.credits> >= 1000 )

SRC.NEWITEM=i_ancient_kilt

SRC.ACT.BOUNCE

SRC.ACT.AMOUNT=1

src.tag.credits = (<src.tag.credits> ) + (-1000)



ELSE



SRC.SYSMESSAGE You need more Credits.





[DIALOG d_vampire_items]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

button 143 255 2117 2118 1 0 3

//button 143 305 2117 2118 1 0 4

button 430 10 5513 5514 1 0 5

button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

text 135 173 1153 2

text 165 200 1155 3

text 135 223 1153 4

text 165 250 1155 5

text 135 273 1153 6

//text 165 300 1155 7

text 135 323 1153 8



[DIALOG d_vampire_items TEXT]

Vampire Race Items

Bloody Hand

3000 Credits

Vampire Robe

500 Credits

Vampire Claw

1000 credits

Classes Stone

You have <eval <src.tag.credits>> Credits



[DIALOG d_vampire_items BUTTON]



ONBUTTON=1

if (<src.tag.credits> >= 3000 )

SRC.NEWITEM=i_vampire_hand

SRC.ACT.BOUNCE

SRC.ACT.AMOUNT=1

src.tag.credits = (<src.tag.credits> ) + (-3000)



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=2



if (<src.tag.credits> >= 500 )

SRC.NEWITEM=i_vampire_shroud

SRC.ACT.BOUNCE

SRC.ACT.AMOUNT=1

src.tag.credits = (<src.tag.credits> ) + (-500)



ELSE



SRC.SYSMESSAGE You need more Credits.





ONBUTTON=3



if (<src.tag.credits> >= 1000 )

SRC.NEWITEM=i_vampire_claw

SRC.ACT.BOUNCE

SRC.ACT.AMOUNT=1

src.tag.credits = (<src.tag.credits> ) + (-1000)



ELSE



SRC.SYSMESSAGE You need more Credits.





[DIALOG d_paladin_items]

0, 0

resizepic 110 1 2620 370 400

gumppic 178 138 1418

gumppic 115 1 5536

gumppic 205 20 2091

gumppic 205 60 2091



//Buttons

button 143 155 2117 2118 1 0 1

button 143 205 2117 2118 1 0 2

//button 143 255 2117 2118 1 0 3

//button 143 305 2117 2118 1 0 4

//button 430 10 5513 5514 1 0 5

//button 115 372 2031 2032 1 0 6



//Text Fields

text 240 35 50 0

text 165 150 1155 1

text 135 173 1153 2

text 165 200 1155 3

text 135 223 1153 4

//text 165 250 1155 5

//text 135 273 1153 6

//text 165 300 1155 7

text 135 323 1153 8



[DIALOG d_paladin_items TEXT]

Paladin Race Items

Guardian Knight

1500 Credits

Sword of Justice

3500 Credits

Blood Claw [Only 1 and 2 level]

1500 credits

Classes Stone

You have <eval <src.tag.credits>> Credits



[DIALOG d_paladin_items BUTTON]



ONBUTTON=1

if (<src.tag.credits> >= 1500 )

SRC.NEWITEM=i_guardian_knight

SRC.ACT.BOUNCE

SRC.ACT.AMOUNT=1

src.tag.credits = (<src.tag.credits> ) + (-1500)



ELSE



SRC.SYSMESSAGE You need more Credits.



ONBUTTON=2



if (<src.tag.credits> >= 3500 )

SRC.NEWITEM=i_sword_of_justice

SRC.ACT.BOUNCE

SRC.ACT.AMOUNT=1

src.tag.credits = (<src.tag.credits> ) + (-3500)



ELSE



SRC.SYSMESSAGE You need more Credits.


--------------------
Трудно быть богом...
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения



Ответить в эту темуОткрыть новую тему
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 

- Текстовая версия | Версия для КПК Сейчас: 24.6.2025, 18:37
Designed by Nickostyle