В будущем планируется:
1) Создание так называемых планов для крафта(аля вов), которые будут либо запоминаться на чаре, либо иметь определенное коллво жизней(тоесть колличество возможных вещей которые будут созданы)
2) <Тут может быть ваша идея>
итак сам скрипт
Код
[ITEMDEF 0faf]
//anvil
DEFNAME=i_anvil
TYPE=T_ANVIL
SKILLMAKE=TINKERING 56.0, BLACKSMITHING 30.0 ,t_tinker_tools
RESOURCES=100 i_ingot_iron, 50 i_LOG
VALUE=500
WEIGHT=300
CATEGORY=Items by Professions
SUBSECTION=Blacksmiths
DESCRIPTION=Anvil (N)
ON=@dclick
IF (<DISTANCE> > 2)
SRC.SYSMESSAGE You're too far away!
RETURN 1
ELIf (<src.findlayer(layer_hand1).baseid>!=i_hammer_smith)
SRC.SYSMESSAGE You must have a Smith's Hammer in your hand!
elif <src.flags>&statf_war
src.sysmessage At first leave from war a mode!
return 1
else
Dialog d_craft_bs
endif
return 1
[DIALOG d_craft_bs]
0 33
PAGE 0
nomove
resizepic 0 0 2620 400 450
PAGE 0
text 167 25 1122 0
text 150 50 1182 1
gumppic 105 20 52
src.tag.fizl = 0
src.tag.pos1 = 0
if (<src.restest 6 i_ingot_iron>) && (<eval <src.blacksmithing>> > 50.0)
src.tag.pos2 = 2
src.tag.bsneed=50.0
src.tag.ingtype=i_ingot_iron
f_position2
endif
[DIALOG d_craft_bs Text]
Craftmenu
Blacksmithing
Iron Ingots
[DIALOG d_craft_bs button]
onbutton=1
src.tag.pos1 = 0
Dialog d_craft_bs_iron
[DIALOG d_craft_bs_iron]
0 33
PAGE 0
nomove
resizepic 0 0 2620 400 450
PAGE 0
text 167 25 1122 0
text 150 50 1182 1
gumppic 105 20 52
if <src.restest 18 i_ingot_iron>
src.tag.pos2 = 2
f_position2
endif
if <src.restest 20 i_ingot_iron>
src.tag.pos2 = 3
f_position2
endif
if <src.restest 15 i_ingot_iron>
src.tag.pos2 = 4
f_position2
endif
if <src.restest 10 i_ingot_iron>
src.tag.pos2 = 5
f_position2
endif
if <src.restest 12 i_ingot_iron>
src.tag.pos2 = 6
f_position2
endif
if <src.restest 25 i_ingot_iron>
src.tag.pos2 = 7
f_position2
endif
if <src.restest 18 i_ingot_iron>
src.tag.pos2 = 8
f_position2
endif
if <src.restest 8 i_ingot_iron> || <src.restest 2 i_log>
src.tag.pos2 = 9
f_position2
endif
if <src.restest 8 i_ingot_iron>
src.tag.pos2 = 10
f_position2
endif
if <src.restest 14 i_ingot_iron>
src.tag.pos2 = 11
f_position2
endif
if <src.restest 10 i_ingot_iron>
src.tag.pos2 = 12
f_position2
endif
if <src.restest 20 i_ingot_iron>
src.tag.pos2 = 13
f_position2
endif
if <src.restest 6 i_ingot_iron>
src.tag.pos2 = 14
f_position2
endif
if <src.restest 14 i_ingot_iron>
src.tag.pos2 = 15
f_position2
endif
if <src.restest 8 i_ingot_iron>
src.tag.pos2 = 16
f_position2
endif
if <src.restest 14 i_ingot_iron>
src.tag.pos2 = 17
f_position2
endif
if <src.restest 14 i_ingot_iron>
src.tag.pos2 = 18
f_position2
endif
[DIALOG d_craft_bs_iron Text]
Craftmenu
Blacksmithing
Iron Arms
Iron Leggings
Iron Helm
Iron Gorget
Iron Gloves
Iron Chest
Iron Heater
Iron Kite
Iron Katana
Iron Viking Sword
Iron Scimitar
Iron Halberd
Iron Mace
Iron War Mace
Iron Kryss
Iron Short Spear
Iron War Fork
[DIALOG d_craft_bs_iron button]
onbutton=1
src.tag.ingammount = 18
f_craft_fizl_bs
f_craft_item i_platemail_arms
onbutton=2
src.tag.ingammount = 20
f_craft_fizl_bs
f_craft_item i_platemail_leggings
onbutton=3
src.tag.ingammount = 15
f_craft_fizl_bs
f_craft_item i_platemail_helm
onbutton=4
src.tag.ingammount = 10
f_craft_fizl_bs
f_craft_item i_platemail_gorget
onbutton=5
src.tag.ingammount = 12
f_craft_fizl_bs
f_craft_item i_platemail_gloves
onbutton=6
src.tag.ingammount = 25
f_craft_fizl_bs
f_craft_item i_platemail_chest
onbutton=7
src.tag.ingammount = 18
f_craft_fizl_bs
f_craft_item i_shield_heater
onbutton=8
src.tag.ingammount = 8
src.consume 2 i_log
f_craft_fizl_bs
f_craft_item i_shield_kite_wood
onbutton=9
src.tag.ingammount = 8
f_craft_fizl_bs
f_craft_item i_Katana
onbutton=10
src.tag.ingammount = 14
f_craft_fizl_bs
f_craft_item i_sword_viking
onbutton=11
src.tag.ingammount = 10
f_craft_fizl_bs
f_craft_item i_scimitar
onbutton=12
src.tag.ingammount = 20
f_craft_fizl_bs
f_craft_item i_halberd
onbutton=13
src.tag.ingammount = 6
f_craft_fizl_bs
f_craft_item i_mace
onbutton=14
src.tag.ingammount = 14
f_craft_fizl_bs
f_craft_item i_mace_war
onbutton=15
src.tag.ingammount = 8
f_craft_fizl_bs
f_craft_item i_kryss
onbutton=16
src.tag.ingammount = 14
f_craft_fizl_bs
f_craft_item i_spear_short
onbutton=17
src.tag.ingammount = 14
f_craft_fizl_bs
f_craft_item i_war_fork
[function f_craft_item]
SERV.NEWITEM i_mem_create
src.tag.2 = 4
NEW.CONT=<src.UID>
NEW.LINK=<src.UID>
NEW.EQUIP
NEW.tag.create_id=<args>
new.timerd = 1
[itemdef i_mem_create]
id=i_memory
type=t_eq_script
name=[Create item]
ON=@Create
attr=094
ON=@Timer
if <cont>
if <cont.restest <eval <cont.tag.ingammount>> <cont.tag.ingtype>>
if <cont.tag.2> >= 1
cont.sound 002a // Р—РІСѓРє
cont.anim 9
if <cont.tag.2> == 2
if <cont.tag.fizl> == 1
cont.consume {1 <eval <cont.tag.ingammount>>} <cont.tag.ingtype>
cont.sysmessage You fail to make anything.
unequip
return 1
endif
endif
cont.tag.2 = <eval <cont.tag.2> - 1>
timer = 2
return 1
else
cont.newitem <tag.create_id>
cont.sysmessage You put <new.name> into your backpack.
new.cont=<cont.findlayer.layer_pack.uid>
cont.consume <eval <cont.tag.ingammount>> <cont.tag.ingtype>
f_craft_skillgain_bs
return 1
endif
else
cont.sysmessage You mast have more resourses in your pack.
return 1
endif
endif
[function f_craft_fizl_bs]
if (<src.blacksmithing> >= <eval <src.tag.bsneed>>) && (<src.blacksmithing> < (<eval <src.tag.bsneed>> + 2.0))
if rand(100) < 60
src.tag.fizl = 1
endif
elif (<src.blacksmithing> >= (<eval <src.tag.bsneed>> + 2.0)) && (<src.blacksmithing> < (<eval <src.tag.bsneed>> + 4.0))
if rand(100) < 50
src.tag.fizl = 1
endif
elif (<src.blacksmithing> >= (<eval <src.tag.bsneed>> + 4.0)) && (<src.blacksmithing> < (<eval <src.tag.bsneed>> + 6.0))
if rand(100) < 40
src.tag.fizl = 1
endif
elif (<src.blacksmithing> >= (<eval <src.tag.bsneed>> + 6.0)) && (<src.blacksmithing> < (<eval <src.tag.bsneed>> + 8.0))
if rand(100) < 30
src.tag.fizl = 1
endif
elif (<src.blacksmithing> >= (<eval <src.tag.bsneed>> + 8.0)) && (<src.blacksmithing> < (<eval <src.tag.bsneed>> + 10.0))
if rand(100) < 20
src.tag.fizl = 1
endif
elif (<src.blacksmithing> >= (<eval <src.tag.bsneed>> + 10.0)) && (<src.blacksmithing> < (<eval <src.tag.bsneed>> + 20.0))
if rand(100) < 10
src.tag.fizl = 1
endif
else
src.tag.fizl = 0
endif
[function f_craft_skillgain_bs]
if (<eval <cont.blacksmithing>> >= 0.0) && (<eval <cont.blacksmithing>> < 30.0)
if <new.dispid> == i_platemail_chest
if rand(100) < 50
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_arms
if rand(100) < 41
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_leggings
if rand(100) < 45
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gorget
if rand(100) < 36
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gloves
if rand(100) < 39
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_helm
if rand(100) < 41
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_kite_wood
if rand(100) < 45
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_heater
if rand(100) < 49
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_Katana
if rand(100) < 40
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_sword_viking
if rand(100) < 45
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_scimitar
if rand(100) < 45
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_halberd
if rand(100) < 49
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace
if rand(100) < 40
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace_war
if rand(100) < 45
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_kryss
if rand(100) < 40
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_spear_short
if rand(100) < 45
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_war_fork
if rand(100) < 45
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
endif
elif (<eval <cont.blacksmithing>> >= 30.0) && (<eval <cont.blacksmithing>> < 50.0)
if <new.dispid> == i_platemail_chest
if rand(100) < 40
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_arms
if rand(100) < 31
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_leggings
if rand(100) < 35
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gorget
if rand(100) < 26
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gloves
if rand(100) < 29
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_helm
if rand(100) < 31
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_kite_wood
if rand(100) < 35
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_heater
if rand(100) < 39
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_Katana
if rand(100) < 30
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_sword_viking
if rand(100) < 35
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_scimitar
if rand(100) < 35
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_halberd
if rand(100) < 39
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace
if rand(100) < 30
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace_war
if rand(100) < 35
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_kryss
if rand(100) < 30
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_spear_short
if rand(100) < 35
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_war_fork
if rand(100) < 35
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
endif
elif (<eval <cont.blacksmithing>> >= 50.0) && (<eval <cont.blacksmithing>> < 80.0)
if <new.dispid> == i_platemail_chest
if rand(100) < 30
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_arms
if rand(100) < 21
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_leggings
if rand(100) < 25
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gorget
if rand(100) < 16
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gloves
if rand(100) < 19
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_helm
if rand(100) < 21
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_kite_wood
if rand(100) < 25
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_heater
if rand(100) < 29
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_Katana
if rand(100) < 20
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_sword_viking
if rand(100) < 25
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_scimitar
if rand(100) < 25
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_halberd
if rand(100) < 29
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace
if rand(100) < 20
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace_war
if rand(100) < 25
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_kryss
if rand(100) < 20
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_spear_short
if rand(100) < 25
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_war_fork
if rand(100) < 25
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
endif
elif (<eval <cont.blacksmithing>> >= 80.0) && (<eval <cont.blacksmithing>> < 100.0)
if <new.dispid> == i_platemail_chest
if rand(100) < 20
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_arms
if rand(100) < 11
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_leggings
if rand(100) < 15
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gorget
if rand(100) < 6
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_gloves
if rand(100) < 9
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_platemail_helm
if rand(100) < 11
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_kite_wood
if rand(100) < 15
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_shield_heater
if rand(100) < 19
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_Katana
if rand(100) < 10
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_sword_viking
if rand(100) < 15
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_scimitar
if rand(100) < 15
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_halberd
if rand(100) < 19
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace
if rand(100) < 10
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_mace_war
if rand(100) < 15
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_kryss
if rand(100) < 10
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_spear_short
if rand(100) < 15
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
elif <new.dispid> == i_war_fork
if rand(100) < 15
cont.blacksmithing = <cont.blacksmithing> + 0.1
endif
endif
endif
[FUNCTION f_position2]
IF <eval <src.tag.pos1>> == 0
Text 55 175 1152 <eval <src.tag.pos2>>
button 20 175 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 1
Text 55 195 1152 <eval <src.tag.pos2>>
button 20 195 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 2
Text 55 215 1152 <eval <src.tag.pos2>>
button 20 215 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 3
Text 55 235 1152 <eval <src.tag.pos2>>
button 20 235 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 4
Text 55 255 1152 <eval <src.tag.pos2>>
button 20 255 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 5
Text 55 275 1152 <eval <src.tag.pos2>>
button 20 275 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 6
Text 55 295 1152 <eval <src.tag.pos2>>
button 20 295 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 7
Text 55 315 1152 <eval <src.tag.pos2>>
button 20 315 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 8
Text 55 335 1152 <eval <src.tag.pos2>>
button 20 335 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 9
Text 55 355 1152 <eval <src.tag.pos2>>
button 20 355 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 10
Text 255 175 1152 <eval <src.tag.pos2>>
button 220 175 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 11
Text 255 195 1152 <eval <src.tag.pos2>>
button 220 195 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 12
Text 255 215 1152 <eval <src.tag.pos2>>
button 220 215 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 13
Text 255 235 1152 <eval <src.tag.pos2>>
button 220 235 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 14
Text 255 255 1152 <eval <src.tag.pos2>>
button 220 255 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 15
Text 255 275 1152 <eval <src.tag.pos2>>
button 220 275 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 16
Text 255 295 1152 <eval <src.tag.pos2>>
button 220 295 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 17
Text 255 315 1152 <eval <src.tag.pos2>>
button 220 315 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 18
Text 255 335 1152 <eval <src.tag.pos2>>
button 220 335 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 19
Text 255 355 1152 <eval <src.tag.pos2>>
button 220 355 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 20
Text 255 375 1152 <eval <src.tag.pos2>>
button 220 375 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
ELif <eval <src.tag.pos1>> == 21
Text 255 395 1152 <eval <src.tag.pos2>>
button 220 395 0fa8 0faa 1 0 <eval <src.tag.pos2> + (- 1)>
src.tag.pos1=<eval <src.tag.pos1>> + 1
endif
Я намеренно не выкладываю другие руды, чтобы не было тупого Ctrl+c и Ctrl+v.
Руды добавляются элементарно, главное не забыть что в [DIALOG d_craft_bs] нужно src.tag.pos2 постепенно наращивать, а в [DIALOG d_craft_bs button] требуется src.tag.pos1 обнулять описании каждой кнопки.
Вообщем кидайте камни, пишите отзывы, предлагайте новые идеи.