[传奇脚本] 传奇版本在线购买物品脚本

[复制链接]
查看1764 | 回复0 | 2012-1-10 19:16:30 | 显示全部楼层 |阅读模式
传奇单机游戏在线购买物品脚本存放在Envir\UserData\BuyItemList.txt
格式:物品名称 物品价格(元宝) 物品说明 物品类型(1-6)
例如:传送戒指 50 可以在当前地图中随机移动 1
麻痹戒指 50 是对方处于暂时的麻痹状态 1
玩家在游戏中可使用 @购买 购买物品.例如:@购买 传送戒指
玩家在游戏中可使用 @价格查询 查询物品价格.例如:@价格查询 传送戒指
通过以下脚本可以直接显示购买列表中的物品及价格.
(@BuyShopItem )
[@main]
#SAY
欢迎来到〖<$SERVERNAME>〗在线购物系统。<您的帐户现有元宝>:<$GAMEGOLD>个\
请选择你要购买的物品类别:\
╔┄┄┄┄┄┄╗  ╔┄┄┄┄┄┄╗  ╔┄┄┄┄┄┄╗\
┆『<武    器/@BuyList1>』┆  ┆『<衣    服/@BuyList2>』┆  ┆『<首    饰/@BuyList3>』┆\
╚┄┄┄┄┄┄╝  ╚┄┄┄┄┄┄╝  ╚┄┄┄┄┄┄╝\
╔┄┄┄┄┄┄╗  ╔┄┄┄┄┄┄╗  ╔┄┄┄┄┄┄╗\
┆『<宝石专区/@BuyList4>』┆  ┆『<技能书籍/@BuyList5>』┆  ┆『<特殊物品/@BuyList6>』┆\
╚┄┄┄┄┄┄╝  ╚┄┄┄┄┄┄╝  ╚┄┄┄┄┄┄╝\
==========================================================\
<物品价格全部之能用元宝进行购买.本服务器1元人民币=10元宝>\
[@BuyList1]
#IF
#ACT
SetBuyType 1
#SAY
<$ShowBuyList1>
<首页/@BuyListHomePage>  <上页/@BuyListPreviousPage>  <下页/@BuyListNextPage>  <尾页/@BuyListLastPage>   <返
回/@main>\
[@BuyList2]
#IF
#ACT
SetBuyType 2
#SAY
<$ShowBuyList2>
<首页/@BuyListHomePage>  <上页/@BuyListPreviousPage>  <下页/@BuyListNextPage>  <尾页/@BuyListLastPage>   <返
回/@main>\
[@BuyList3]
#IF
#ACT
SetBuyType 3
#SAY
<$ShowBuyList3>
<首页/@BuyListHomePage>  <上页/@BuyListPreviousPage>  <下页/@BuyListNextPage>  <尾页/@BuyListLastPage>   <返
回/@main>\
[@BuyList4]
#IF
#ACT
SetBuyType 4
#SAY
<$ShowBuyList4>
<首页/@BuyListHomePage>  <上页/@BuyListPreviousPage>  <下页/@BuyListNextPage>  <尾页/@BuyListLastPage>   <返
回/@main>\
[@BuyList5]
#IF
#ACT
SetBuyType 5
#SAY
<$ShowBuyList5>
<首页/@BuyListHomePage>  <上页/@BuyListPreviousPage>  <下页/@BuyListNextPage>  <尾页/@BuyListLastPage>   <返
回/@main>\
[@BuyList6]
#IF
#ACT
SetBuyType 6
#SAY
<$ShowBuyList6>
<首页/@BuyListHomePage>  <上页/@BuyListPreviousPage>  <下页/@BuyListNextPage>  <尾页/@BuyListLastPage>   <返
回/@main>\
[@BuyShopItems_]
你确定要购买:<$BUYITEM>吗?\ \
<购买/@BuyItem>     <返回/@main>     <关闭/@Exit>\
[@BuyItem]
#IF
#ACT
BuyShopItem %BuyItem

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则