赞 | 0 |
VIP | 0 |
好人卡 | 4 |
积分 | 1 |
经验 | 5960 |
最后登录 | 2016-9-2 |
在线时间 | 115 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 115 小时
- 注册时间
- 2012-11-15
- 帖子
- 119
|
这样啊,你可以试试这个脚本- #==============================================================================#
- # ** Select Key Item Expanded #
- # * Author: Shadwo Momo【mca_change(符号)】,【符号】
- # 可以是【:weapon :armor :item】三者之一,分别表示武器、防具和普通用品 #
- #------------------------------------------------------------------------------#
- # * Introduction #
- # This script allows you to select normal items, weapons or armors when you #
- # call the Event Command [Select Key Item]. #
- #------------------------------------------------------------------------------#
- # * Instruction #
- # Insert the script below other materials but above Main. #
- # Use script call[mca_change(symbol)], and the next [Select Key Item] will #
- # show the corresponding items. #
- # The argument [symbol] should be [:item], [:armor] or [:weapon]. You can use #
- # [:key_item] as well but there is no need to do this. #
- # Change reverts once it functioned. For example: #
- # [Script: mca_change(:armor)] #
- # [Select Key Item...] #=> Select Armor #
- # [Select Key Item...] #=> Select Key Item #
- #------------------------------------------------------------------------------#
- # * License #
- # Free to use in any games. I will appreciate it if you keep my name. #
- #==============================================================================#
- (MoVar[:skie] = key_item) rescue MoVar = Struct.new(:skie).new(:key_item)
- class Game_Interpreter
- def mca_change(symbol)
- MoVar[:skie] = symbol
- end
- end
- class Window_KeyItem
- def enable?(*); true end
- def category=(category)
- @category = MoVar[:skie]
- MoVar[:skie] = category
- refresh
- self.oy = 0
- end
- end
- #==============================================================================#
- #=========================== ===========================#
- # End of #
- #=========================== ===========================#
- #==============================================================================#
复制代码 事件的话这样设置
|
评分
-
查看全部评分
|