在传奇私服版本里添加在线购买物品开区功能脚本
有些GM想方便玩家能在线通过NPC买游戏装备那么就在以下设置添加脚本在线购买物品存放在Envir\UserData\BuyItemList.txt中
通过以下脚本可以直接显示购买列表中的物品及价格.
(@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
太好了这版本我找了好久了:funk::funk: 流口水的兔子感谢ing 哈哈瞧你说的 八卦神探加油啊顶哦 魔力月光来看看是个好贴 顶叹为观止 战长沙支持你一下下 极地大冒险2支持楼主用户楼主楼主英明呀 tuoxie厉害强没的说了
页:
[1]
2