Skip to content

Instantly share code, notes, and snippets.

View rutan's full-sized avatar

Rutan rutan

View GitHub Profile
@rutan
rutan / readNote2_quickSkill.rb
Last active August 23, 2020 14:31
[hzm]ターン消費無しスキルさん+ for RGSS3http://d.hatena.ne.jp/ru_shalm/20120103/battle
# coding: utf-8
#===============================================================================
# ■ [hzm]ターン消費無しスキルさん+ for RGSS3
# ※ このスクリプトには「[hzm]メモ欄拡張共通部分さん+ for RGSS3」が必要です
# 「[hzm]メモ欄拡張共通部分 for RGSS3」では動作しません
#-------------------------------------------------------------------------------
# 2020/08/23 Ruたん (ru_shalm)
# http://torigoya.hatenadiary.jp
#-------------------------------------------------------------------------------
# 【機能1:ターン消費無しスキル/アイテム】
# encoding: utf-8
#===============================================================================
# ■ 16x16アイコン2倍拡大表示さん
#-------------------------------------------------------------------------------
# 2020/08/01 Ruたん
#-------------------------------------------------------------------------------
# 16x16のアイコンを2倍拡大(32x32)で表示します。
# このスクリプトは、性質上再定義が多いためなるべく上の方に入れてください。
#
# ■ 画像(IconSet)について
# 音量変更スクリプトさんのアドオン形式: フルスクリーンメニュー
module HZM_VXA
module AudioVol
class Window_VolConfig < Window_Command
#-------------------------------------------------------------------------
# ● コマンド生成:アクション
#-------------------------------------------------------------------------
alias hzm_vxa_volume_addon_fullscreen_make_command_list_actions make_command_list_actions
def make_command_list_actions
hzm_vxa_volume_addon_fullscreen_make_command_list_actions
@rutan
rutan / reacolle.rb
Created February 7, 2017 15:25
Reacolle - Reaction Collection for Slack
# coding: utf-8
=begin
# Reacolle
"Reacolle" is the simple slack bot application written by Ruby.
When happen event `add_reaction` in any public channel, Reacolle post message to your channel.
# original: http://www.endressdreamer.wjg.jp/RGSS3_12.html
class Window_Quest_Menu < Window_Selectable
# 再定義: draw_text の3つ目の引数を修正
def draw_quest(str, x, y, enabled, index)
if str != ""
self.contents.font.color = normal_color
self.contents.font.color.alpha = enabled ? 255 : 128
self.contents.draw_text(x + 24, y, (self.width - 72), line_height, str)
unless enable?(index)
@rutan
rutan / masterVol_addon_switches.rb
Last active April 23, 2016 09:12
[音量変更スクリプトさんアドオン] スイッチ設定さん for RGSS3
# coding: utf-8
#===============================================================================
# ■ [音量変更スクリプトさんアドオン] スイッチ設定さん for RGSS3
#-------------------------------------------------------------------------------
# 2016/04/23 Ru/むっくRu
#-------------------------------------------------------------------------------
# このスクリプトは「音量変更スクリプトさん for RGSS3」に機能を追加するものです。
# 導入時は「音量変更スクリプトさん」より下に導入してください。
#-------------------------------------------------------------------------------
# 音量変更画面にスイッチON/OFFの設定を追加します。
@rutan
rutan / masterVol.rb
Last active April 23, 2016 06:38
音量変更スクリプトさん for RGSS3http://d.hatena.ne.jp/ru_shalm/20120612/volume
# coding: utf-8
#===============================================================================
# ■ 音量変更スクリプトさん for RGSS3
#-------------------------------------------------------------------------------
# 2016/04/23 Ru/むっくRu
#-------------------------------------------------------------------------------
# 全体の音量変更に関する機能を追加します
#
# ● タイトル画面,メニュー画面に音量調整の項目が追加されます
#
# coding: utf-8
#===============================================================================
# ■ MEをSEにすり替えさん for RGSS3
#-------------------------------------------------------------------------------
# 2016/04/16 Ru/むっくRu
#-------------------------------------------------------------------------------
# 指定のスイッチがONのとき、MEをSEとして再生します。
# MEをSEとして再生するため、BGMが途切れずに再生されます。
#
# 音量変更スクリプトさんと併用する場合は、
@rutan
rutan / readNote_exSkillSetting.rb
Last active January 17, 2016 12:08
【RGSS3】[hzm]拡張スキルデータベース設定さん for RGSS3
# coding: utf-8
#===============================================================================
# ■ [hzm]拡張スキルデータベース設定さん for RGSS3
# ※ このスクリプトには「[hzm]メモ欄拡張共通部分 for RGSS3」が必要です
#-------------------------------------------------------------------------------
# 2016/01/17 Ru/むっくRu
#-------------------------------------------------------------------------------
# ※ このスクリプトは以下のスクリプトの後継スクリプトです
# ・[hzm]通常攻撃コスト設定 for RGSS3
# ・[hzm]クリティカル率設定スキル for RGSS3
--- YEP_BattleEngineCore.js 2016-01-10 03:43:27.000000000 +0900
+++ YEP_BattleEngineCore_fix.js 2016-01-10 03:46:21.000000000 +0900
@@ -4185,7 +4185,7 @@
for (var i = 0; i < this._enemies.length; ++i) {
var enemy = this._enemies[i];
if (!enemy) continue;
- if (this.isClickedEnemy(enemy)) {
+ if (this.isMouseOverEnemy(enemy)) {
if (this._selectDead && !enemy.isDead()) continue;
var index = this._enemies.indexOf(enemy)