[十七]如何编写菜单和对话框脚本
还记得我在前面教程里面说的那些关于对话框及菜单脚本的话么?
为了能让玩家或程序使用者所接触到的画面更为人性化和舒适一些,程序设计者们常常在对话框、菜单的界面和功能编写上煞费苦心,比如我们在游戏中输入”ALT+K”,可以打开技能菜单(MENU),”ALT+O”可以打开系统的带有属性页标签的配置对话框等等。今天我们举一个旅行系统菜单的例子,来详细讲解一下如何编写定制的菜单和对话框。
首先,sphere认为下面几种常见的语句开始的地方为菜单和对话框的定义:
1、[DIALOG D_xxxx]
D_xxxx是你自己定义的对话框的名字,调用的时候用语句DIALOG D_xxxx就可以了,游戏里面也可以使用命令“.DIALOG D_xxxx”来打开菜单。
一个完整的对话框定义应该包含以下几个部分:
[DIALOG D_xxxx]
//菜单&对话框界面定义主体
[DIALOG D_xxxx TEXT]
//菜单&对话框显示的文字部分
[DIALOG D_xxxx BUTTON]
//菜单&对话框按钮功能实现部分
2、[MENU MENU_xxxx]
MENU_xxxx是你自己定义的菜单名字,此类的定义和DIALOG不同的是,系统内定的一类界面,每个语句直接可以实现该语句的功能,不象对话框需要上面所讲的三个部分,MENU一个部分就可以了。
[MENU MENU_xxxx] //菜单头部定义
MENU 名字 //第一行是本菜单显示在最上面的名字
ON=0 menu 1 //第一个菜单选项显示的名字
GO Britain //选中第一个选项的功能处理
ON=0 menu 2 //第二个菜单选项显示的名字
GO Jail //选中第二个选项的功能处理
工会石的菜单属于这类菜单里面。
OK,下面让我们看看在菜单中常用到的一些语句和格式(下面语句包含了当前最新版本的sphere99Z版本的命令函数):
1、语句:AddControlTip (i)
说明:AddControlTip是语句名字,i为参数,sphere99l里面的格式是AddControlTip i
而在sphere99z版本里面则是AddControlTip (i),该语句我没有用过,应该是sphere保留的
原英文说明:”(Sphere Only) add control tip to controls”
2、语句:Area (ix,iy,sizex,sizey,ButtonId)
说明:ix,iy,sizex,sizey是一个举行的边界的定义,buttonid是按钮的id序号,目前保留
原英文说明:”(Sphere Only) non image pressable area”
3、语句:Button (ix,iy,GumpIdDown,GumpIdUp,iPressable,iPage,iButtonId)
说明:一个图形按钮定义ix,iy按钮显示在对话框内的位置;
GumpIdDown,GumpIdUp按钮按下去和弹起来时候显示的图形;
iPressable是否可用0不可用,1可用
iPage显示在page i,i是数字id
iButtonId按钮的数字id,用以在[DIALOG D_xxxx BUTTON]里面用ON=id来应用并实现功能
4、语句:CheckBox (ix,iy,GumpIdcheck,Gumpiduncheck,iStartingState,icheckid)
说明:复选按钮,ix,iy同上为坐标,GumpIdcheck为没有选中图形;
Gumpiduncheck选中后的图形,iStartingState开始状态,icheckid选中的checkid序号
5、语句:CheckerTrans([ix,iy,sx,sy])
说明:透明的一个矩形行框,四个参数是矩形的起始坐标和长宽,可以和resizepic配合使用
6、语句:CroppedText (ix,iy,isx,isy,icolor,iTextId)
说明:显示一些指定颜色的文字信息在指定位置,这些数字是UO的内定的一些内容
7、语句:CroppedTextA(ix,iy,isx,isy,icolor,sTextId)
说明:同语句6
8、语句:Group(0)
说明:非常有用的一个语句,可以减少很多重复代码可以理解成网页导航栏中的类别名
9、语句:GumpPic(ix,iy,iGumpId)
说明:显示指定ID的图片在指定位置,Igumpid可以通过Insideuo这个工具软件查出来
10、语句:GumpPicTiled (ix,iy,isx,isy,iGumpId)
说明:在指定位置显示指定大小的图形
11、语句:HTMLGump (ix,iy,isx,isy,iTextId,ibBoundBox,ibScrollable)
说明:放置一些html文本在对话框中
12、语句:HTMLGumpA (ix,iy,isx,isy,sTextId,ibBoundBox,ibScrollable)
说明:同语句11
13、语句:NoClose
说明:不能通过鼠标关闭
14、语句:NoDispose
说明:没有用过这个语句
英文原文注释:”not really used (modal?)”
15、语句:NoMove
说明:不能用鼠标拖动对话框,移动
16、语句:Page (page)
说明:多页对话框里面的页数标识ID
17、语句:Radio(ix,iy,iGumpId1,iGumpid2,iStartingState,iButtonId)
说明:单选按钮
18、语句:ResizePic (ix,iy,iGumpIdBack,isx,isy)
说明:放置背景图片的语句
英文原文注释:”put up some background gump (can come first if multi page)”
19、语句:SetLocation (ix,iy)
说明:系统保留,没有用过
英文原文注释:(Sphere Only) location of the dialog on screen”)
20、语句:SetText (iTextId,sText)
说明:系统保留
英文原文注释:”(Sphere Only) set text for TextID”
21、语句:Text (ix,iy,icolor,iTextId)
说明:指定位置显示指定颜色的文本信息,文本在 [DIALOG D_xxxx TEXT]一部分定义,iTextId从0开始,必须要一一和这个部分定义相互对应,否则会引起client非法关闭。
22、语句:TextA (ix,iy,icolor,sText)
说明:没有用过
英文原文注释:”put some text here (appends string in table).”
23、语句:TextEntry (ix,iy,iwidthpix,iwidthchars,ihue,iReturnId,iTextIdStart)
说明:文本输入框,注意:ReturnId必须大于100
24、语句:TextEntryA(ix,iy,iwidthpix,iwidthchars,ihue,iReturnId,sTextIdStart)
说明:同语句23
25、语句:TileButton (ix,iy,iTileId,iButtonId)
说明:系统保留
英文原文注释:”(Sphere Only) (this will be the floating spell icon)”
26、语句:TilePic (ix,iy,iTileId)
说明:添加一个物品的外形到对话框中
27、语句:TilePicHue (ix,iy,iTileId,icolor)
说明:添加一个物品外形,可以加颜色?99L里面不可以用
28、语句:XMFHTMLGump (ix,iy,isx,isy,iTextId,ibBoundBox,ibScrollable)
说明:显示一些指定的html文本可以使用client端的text资源,可以显示不同语言的就是这个了
29、语句:XMFHTMLGumpA (ix,iy,isx,isy,sTextId,ibBoundBox,ibScrollable)
说明:同语句28
30、语句:XMFHTMLGumpColor(ix,iy,isx,isy,iTextId,ibBoundBox,ibScrollable,iColor)
说明:同语句28,只是多了可以加颜色
31、语句:XMFHTMLGumpColorA (ix,iy,isx,isy,sTextId,ibBoundBox,ibScrollable,iColor)
说明:同语句30
晕死过去,今天一直在发烧ing,好不容易的说,下面我们看个例子吧:
这是一个完整的旅行系统的例子,我没有用group这个语句,看看你可不可以把他改成group会更加好些。
我就不一一加注释了,基本上对照上面的语句说明很简单就可以看明白的。
我们可以先定义一个命令函数来引用这个对话框:
[function f_Test_dialog]
dialog d_custom_travel
我们可以在游戏画面里面输入:
.f_tests_dialog
这个命令来打开对话框
[DIALOG d_custom_travel] //对话框名字定义
60, 50 //对话框显示的位置
resizepic 0 0 5054 495 405
checkertrans 10 10 475 385
gumppic 10 10 5528
gumppic 15 15 5021 //上面的这四个语句是画一个对话框的界面
PAGE 0 //第一个页面
text 410 310 1153 4 //显示第3行文本文本
page 1
text 410 15 1153 0
button 400 45 2361 2362 0 1 0// Towns,定义按钮,点击后显示page 1的内容
text 415 40 72 1
button 400 65 2362 2361 0 2 0// Dungeons,定义按钮,点击后显示page 2的内容
text 415 60 80 2
button 400 85 2362 2361 0 3 0// GraveYards
text 415 80 80 3
button 400 335 2360 2360 0 1 0// Trammel
text 420 330 33 5
button 400 355 2362 2360 0 4 0// Lost Lands
text 420 350 80 6
button 400 375 2362 2360 0 5 0// Ilshenar
text 420 370 80 7
button 128 160 2360 2361 1 0 1 // Britain
text 138 155 90 8
button 210 205 2360 2361 1 0 2 // Buccaneer’s Den
text 170 210 90 9
button 180 115 2360 2361 1 0 3 // Cove
text 190 110 90 10
button 112 350 2360 2361 1 0 4 // Jhelom
text 122 345 90 11
button 285 200 2360 2361 1 0 5// Magincia
text 295 195 90 12
button 195 50 2360 2361 1 0 6// Minoc
text 205 45 90 13
button 350 115 2360 2361 1 0 7// Moonglow
text 320 125 90 14
button 285 130 2360 2361 1 0 8// Nujel’m
text 270 110 90 15
button 275 245 2360 2361 1 0 9// Occlo
text 285 240 90 16
button 315 60 2360 2361 1 0 22// Ice
text 330 55 80 29
button 235 320 2360 2361 1 0 10 // Serpents Hold
text 245 315 90 17
button 50 210 2360 2361 1 0 11 // Skara Brae
text 60 205 90 18
button 150 265 2360 2361 1 0 12 // Trinsic
text 160 260 90 19
button 230 75 2360 2361 1 0 13// Vesper
text 240 70 90 20
button 115 100 2360 2361 1 0 14// Wind
text 125 95 90 21
button 50 100 2360 2361 1 0 15// Yew
text 60 95 90 22
page 2
text 410 15 1153 0
button 400 45 2362 2361 0 1 0// Towns
text 415 40 80 1
button 400 65 2361 2362 0 2 0// Dungeons
text 415 60 72 2
button 400 85 2362 2361 0 3 0// GraveYards
text 415 80 80 3
button 400 335 2360 2360 0 1 0// Trammel
text 420 330 33 5
button 400 355 2362 2360 0 4 0// Lost Lands
text 420 350 80 6
button 400 375 2362 2360 0 5 0// Ilshenar
text 420 370 80 7
button 200 95 2360 2361 1 0 16// Covetous
text 210 90 80 23
button 317 50 2360 2361 1 0 17// Deceit
text 327 45 80 24
button 110 110 2360 2361 1 0 18// Despise
text 120 105 80 25
button 100 255 2360 2361 1 0 19 // Destard
text 110 250 80 26
button 220 330 2360 2361 1 0 20 // Fire
text 230 325 80 27
button 355 360 2360 2361 1 0 21// Hythloth
text 325 340 80 28
button 165 15 2360 2361 1 0 22 // Ice
text 175 10 80 29
button 45 150 2360 2361 1 0 23// Shame
text 60 145 80 30
button 165 30 2360 2361 1 0 24// Wrong
text 155 40 80 31
page 3
text 410 15 1153 0
button 400 45 2362 2362 0 1 0// Towns
text 415 40 80 1
button 400 65 2362 2361 0 2 0// Dungeons
text 415 60 80 2
button 400 85 2361 2361 0 3 0// GraveYards
text 415 80 72 3
button 400 335 2360 2360 0 1 0// Trammel
text 420 330 33 5
button 400 355 2362 2360 0 4 0// Lost Lands
text 420 350 80 6
button 400 375 2362 2360 0 5 0// Ilshenar
text 420 370 80 7
button 110 140 2360 2361 1 0 25// Britain GY
text 120 135 80 32
button 190 110 2360 2361 1 0 26// Cove GY
text 200 105 80 33
button 110 350 2360 2361 1 0 27// Jhelom GY
text 120 345 80 34
button 350 135 2360 2361 1 0 28// Moonglow GY
text 310 143 80 35
button 275 110 2360 2361 1 0 29// Nujel’m GY
text 285 105 80 36
button 215 95 2360 2361 1 0 30// Vesper GY
text 200 75 80 37
button 80 110 2360 2361 1 0 31// Yew GY
text 95 105 80 38
page 4
button 400 335 2362 2360 0 1 0// Trammel
text 420 330 80 5
button 400 355 2360 2360 0 4 0// Lost Lands
text 420 350 33 6
button 400 375 2362 2360 0 5 0// Ilshenar
text 420 370 80 7
text 405 30 1153 1
button 395 65 2360 2361 1 0 32// Delucia
text 415 60 80 39
button 395 85 2360 2361 1 0 33// Papua
text 415 80 80 40
text 405 115 1153 2
button 395 155 2360 2361 1 0 34// Fire Dungeon
text 415 150 80 41
button 395 175 2360 2361 1 0 35// Ice Dungeon
text 415 170 80 42
page 5
button 400 335 2362 2360 0 1 0// Trammel
text 420 330 80 5
button 400 355 2362 2360 0 4 0// Lost Lands
text 420 350 80 6
button 400 375 2360 2360 0 5 0// Ilshenar
text 420 370 33 7
text 410 17 1153 1
button 395 40 2360 2361 1 0 36// Ancient Citadel
text 408 35 80 43
button 395 60 2360 2361 1 0 37// Bat-Lem Reg
text 408 55 80 44
button 395 80 2360 2361 1 0 38// Gargoyle City
text 408 75 80 45
button 395 100 2360 2361 1 0 39// Lake Shire
text 408 95 80 46
button 395 120 2360 2361 1 0 40// Mistas
text 408 115 80 47
text 410 135 1153 2
button 395 160 2360 2361 1 0 41// Ankh Dungeon
text 408 155 80 48
button 395 180 2360 2361 1 0 42// Blood Dungeon
text 408 175 80 49
button 395 200 2360 2361 1 0 43// Fire Dungeon
text 408 195 80 50
button 395 220 2360 2361 1 0 44// Exodus Dungeon
text 408 215 80 51
button 395 240 2360 2361 1 0 45// Sorcerer’s Dungeon
text 408 235 80 52
button 395 260 2360 2361 1 0 46// Spectre Dungeon
text 408 255 80 53
button 395 280 2360 2361 1 0 47// Wisp Dungeon
text 408 275 80 54
[DIALOG d_custom_travel BUTTON] //按钮功能实现部分
ON=0
RETURN 1
ON=1 //Britain
IF (<SRC.KILLS>>=4) //如果杀人数大于等于4将不能使用这个系统
SRC.SYSMESSAGE Murderers can not use this system //系统消息提示
RETURN 1 //结束返回1
ELSEIF (<SRC.RESTEST 200 i_GOLD>) //如果身上有200golds
SRC.CONSUME=200 i_GOLD //收钱
SRC.GO 1432,1686,20 //传送到britain城
ELSE //否则
MESSAGE “You need 200 golds on your back pack to use this system” //提示没有钱或钱不够
RETURN 1 //结束返回1
ENDIF //结束判断
RETURN 1 //结束返回1
ON=2 // Buccaneer’s Den
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 2706,2163,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=3 //Cove
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 2275,1210,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=4 //Jhelom
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 1383,3815,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=5 // Magincia
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.GO 3714,2218,20
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=6 // Minoc
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 2466,544,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=7// Moonglow
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 4442,1172,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=8// Nujel’m
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 3732,1279,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=9// Occlo
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 3650,2519,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=10// Serpents Hold
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 3010,3371,15
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=11// Skara Brae
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 632,2233,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=12// Trinsic
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 1867,2780,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=13// Vesper
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 2899,676,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=14// Wind
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 1465,989,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=15// Yew
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 200 i_GOLD>)
SRC.CONSUME=200 i_GOLD
SRC.go 546,992,0
ELSE
MESSAGE “You need 200 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=16// Covetous
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 2499,918,0
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=17// Deceit
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 4111,432,5
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=18// Despise
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 1297,1081,0
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=19// Destard
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 1176,2636,0
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=20// Fire
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 2923,3406,8
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=21// Hythloth
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 4722,3815,0
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=22// Ice
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 4207,352,0
//1999,81,5
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=23// Shame
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 513,1561,0
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=24// Wrong
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 500 i_GOLD>)
SRC.CONSUME=500 i_GOLD
SRC.go 2044,236,13
ELSE
MESSAGE “You need 500 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=25// Britain GY
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 300 i_GOLD>)
SRC.CONSUME=300 i_GOLD
SRC.go 1384,1492,10
ELSE
MESSAGE “You need 300 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=26// Cove GY
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 300 i_GOLD>)
SRC.CONSUME=300 i_GOLD
SRC.go 2442,1117,8
ELSE
MESSAGE “You need 300 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=27// Jhelom GY
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 300 i_GOLD>)
SRC.CONSUME=300 i_GOLD
SRC.go 1291,3719,0
ELSE
MESSAGE “You need 300 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=28// Moonglow GY
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 300 i_GOLD>)
SRC.CONSUME=300 i_GOLD
SRC.go 4546,1333,8
ELSE
MESSAGE “You need 300 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=29// Nujel’m GY
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 300 i_GOLD>)
SRC.CONSUME=300 i_GOLD
SRC.go 3536,1151,20
ELSE
MESSAGE “You need 300 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=30// Vesper GY
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 300 i_GOLD>)
SRC.CONSUME=300 i_GOLD
SRC.go 2781,867,0
ELSE
MESSAGE “You need 300 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=31// Yew GY
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 300 i_GOLD>)
SRC.CONSUME=300 i_GOLD
SRC.go 724,1134,0
ELSE
MESSAGE “You need 300 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=32// Delucia
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 400 i_GOLD>)
SRC.CONSUME=400 i_GOLD
SRC.go 5271,3994,37
ELSE
MESSAGE “You need 400 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=33// Papua
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 400 i_GOLD>)
SRC.CONSUME=400 i_GOLD
SRC.go 5729,3209,-1
ELSE
MESSAGE “You need 400 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=34// Fire Dungeon
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 600 i_GOLD>)
SRC.CONSUME=600 i_GOLD
SRC.go 5758,2908,16
ELSE
MESSAGE “You need 600 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=35// Ice Dungeon
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 600 i_GOLD>)
SRC.CONSUME=600 i_GOLD
SRC.go 5208,2322,32
ELSE
MESSAGE “You need 600 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1
ON=36// Ancient Citdel
IF (<SRC.KILLS>>=4)
SRC.SYSMESSAGE Murderers can not use this system
RETURN 1
ELSEIF (<SRC.RESTEST 800 i_GOLD>)
SRC.CONSUME=800 i_GOLD
SRC.go 1521,598,-15,2
ELSE
MESSAGE “You need 800 golds on your back pack to use this system”
RETURN 1
ENDIF
RETURN 1

留言
还没有留言,来坐个沙发吧。
留个言