查看: 1248|回复: 3

[Other] Gather Place for garbage script./雜乱腳本區

[复制链接]

梦石
0
星屑
407
在线时间
1291 小时
注册时间
2013-1-12
回帖
3349

贵宾

发表于 2013-9-30 08:05:24 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
本帖最后由 76213585 于 2013-9-29 17:07 编辑

I'll dump all my garbage script here...../全部的為了解決的問題寫的小插件將被丟到這裡

梦石
0
星屑
407
在线时间
1291 小时
注册时间
2013-1-12
回帖
3349

贵宾

 楼主| 发表于 2013-9-30 08:06:14 | 显示全部楼层
Garbage Number: 1 / 雜物編号: 1
  1. #====================
  2. #  显示文章确定音效 BY:Panda King
  3. #====================
  4. class Window_Message < Window_Base
  5.   def update
  6.     super
  7.     process_handling
  8.     update_all_windows
  9.     update_back_sprite
  10.     update_fiber
  11.   end
  12.   def process_handling
  13.     return unless open? && active
  14.     return process_ok   if Input.trigger?(:C)
  15.   end
  16.   def process_ok
  17.       Sound.play_ok
  18.   end
  19. end
复制代码

回复

使用道具 举报

梦石
0
星屑
407
在线时间
1291 小时
注册时间
2013-1-12
回帖
3349

贵宾

 楼主| 发表于 2013-10-13 13:41:12 | 显示全部楼层
Garbage Number: 2 / 雜物編号: 2
  1. #====================
  2. #  间隔战斗才可使用道具 BY:Panda King
  3. #====================
  4. module Battle_after
  5.   Renew_swith = 20
  6. end
  7. class Scene_Battle < Scene_Base
  8.   include Battle_after
  9.   def pre_terminate
  10.     super
  11.     $game_switches[Renew_swith] = false
  12.     Graphics.fadeout(30) if SceneManager.scene_is?(Scene_Map)
  13.     Graphics.fadeout(60) if SceneManager.scene_is?(Scene_Title)
  14.   end
  15. end
复制代码
Usage:
Chose a item that you want to apply the effect to.(Can be use once between every battle)
Link it to a common event, set a Condition Branch between ether switch you set is on.
If on, no effect, if off, have effect.
This is a dummy script... I think anyone with the ability to type can make this script....

回复

使用道具 举报

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本发帖返回顶部