MZ用プラグイン

ポーカー機能 - Poker.js

シェア用テキスト:
▼ポーカー機能(Basu様作) - Poker.js
https://plugin-mz.fungamemake.com/archives/7113
ポーカー機能を設定します。

ふりがな:ぽーかーきのう

機能概要: ポーカー機能を設定します。

利用規約(ライセンス): MITライセンス

作者:Basu

作者サイト:https://github.com/basuka

解説ページ:https://github.com/basuka/RPGMZ/tree/main/Poker

ファイル名:Poker.js

プラグインのヘルプ:

/*:ja
 * @target MZ
 * @plugindesc ポーカー機能を設定します。
 * @author Basu
 * @url https://raw.githubusercontent.com/basuka/RPGMZ/main/Poker/Poker.js
 *
 *
 * @help Poker.js
 *
 *-----------------------------------------------------------------------------
 * 設定方法
 *-----------------------------------------------------------------------------
 * 1.「プラグインマネージャー(プラグイン管理)」に、本プラグインを追加して
 *    ください。
 *
 * 2.「プラグインコマンド」イベントから「ポーカー開始」コマンド
 *   を設定してください。
 *
 * 3.必要に応じてパラメータ及びコマンドパラメータを設定してください。
 *
 *-----------------------------------------------------------------------------
 * README
 *-----------------------------------------------------------------------------
 * https://github.com/basuka/RPGMZ/blob/main/Poker/README.md
 *
 *-----------------------------------------------------------------------------
 * 利用規約
 *-----------------------------------------------------------------------------
 * このプラグインはMITライセンスで配布しています
 *
 *==============================================================================
 *
 * @param variableID
 * @text 保管ID
 * @type variable
 * @default 11
 * @desc 所持コインの数を保管する変数ID
 *
 * @param royalStraight
 * @text ロイヤルストレート
 * @type number
 * @min 1
 * @max 9999
 * @default 500
 * @desc ロイヤルストレートフラッシュの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param fiveCard
 * @text 5カード
 * @type number
 * @min 1
 * @max 9999
 * @default 100
 * @desc 5カードの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param straightFlush
 * @text ストレートフラッシュ
 * @type number
 * @min 1
 * @max 9999
 * @default 50
 * @desc ストレートフラッシュの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param fourCard
 * @text 4カード
 * @type number
 * @min 1
 * @max 9999
 * @default 20
 * @desc 4カードの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param fullHouse
 * @text フルハウス
 * @type number
 * @min 1
 * @max 9999
 * @default 10
 * @desc フルハウスの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param flush
 * @text フラッシュ
 * @type number
 * @min 1
 * @max 9999
 * @default 5
 * @desc フラッシュの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param straight
 * @text ストレート
 * @type number
 * @min 1
 * @max 9999
 * @default 4
 * @desc ストレートの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param threeCard
 * @text 3カード
 * @type number
 * @min 1
 * @max 9999
 * @default 2
 * @desc 3カードの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param twoPair
 * @text 2ペア
 * @type number
 * @min 1
 * @max 9999
 * @default 1
 * @desc 2ペアの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param joker
 * @text ジョーカー
 * @type number
 * @min 1
 * @max 9999
 * @default 1
 * @desc ジョーカーのみの獲得枚数
 *       枚数は掛け金で倍になっていきます
 *
 * @param cardInfo1
 * @text カード情報1
 * @type struct<cardInfo>
 * @default {”cardPictureFile”:”Actor1_1”,”colorType”:”0”,”colorNo”:”10”,”colorCode”:”#ffffff”,”rgbR”:”255”,”rgbG”:”255”,”rgbB”:”255”}
 * @desc カード情報1
 *
 * @param cardInfo2
 * @text カード情報2
 * @type struct<cardInfo>
 * @default {”cardPictureFile”:”Actor1_3”,”colorType”:”1”,”colorNo”:”0”,”colorCode”:”#0000ff”,”rgbR”:”255”,”rgbG”:”255”,”rgbB”:”255”}
 * @desc カード情報2
 *
 * @param cardInfo3
 * @text カード情報3
 * @type struct<cardInfo>
 * @default {”cardPictureFile”:”Actor1_6”,”colorType”:”2”,”colorNo”:”0”,”colorCode”:”#ffffff”,”rgbR”:”0”,”rgbG”:”255”,”rgbB”:”0”}
 * @desc カード情報3
 *
 * @param cardInfo4
 * @text カード情報4
 * @type struct<cardInfo>
 * @default {”cardPictureFile”:”Actor1_7”,”colorType”:”0”,”colorNo”:”14”,”colorCode”:”#ffffff”,”rgbR”:”255”,”rgbG”:”255”,”rgbB”:”255”}
 * @desc カード情報4
 *
 * @param jokerCardInfo
 * @text ジョーカーカード情報
 * @type struct<cardInfo>
 * @default {”cardPictureFile”:”Monster_7”,”colorType”:”0”,”colorNo”:”15”,”colorCode”:”#ffffff”,”rgbR”:”255”,”rgbG”:”255”,”rgbB”:”255”}
 * @desc ジョーカーカード情報
 *
 * @param backCardPictureFile
 * @text カード裏画像
 * @type file
 * @dir img/parallaxes
 * @default Mountains3
 * @desc カードの裏に描画する画像ファイル
 *
 * @param backCardPictureX
 * @text カード裏画像開始位置X
 * @type number
 * @default 0
 * @desc カードの裏に描画する画像の開始位置X
 *
 * @param backCardPictureY
 * @text カード裏画像開始位置Y
 * @type number
 * @default 0
 * @desc カードの裏に描画する画像の開始位置Y
 *
 * @param helpMsg1
 * @text ヘルプメッセージ1
 * @type text
 * @default カーソルキーの上:ベットn決定キー:スタート           キャンセルキー:終了
 * @desc ヘルプメッセージ1
 *
 * @param helpMsg2
 * @text ヘルプメッセージ2
 * @type text
 * @default 残すカードを選択してください。n選択をしたらくばるを押してください。
 * @desc ヘルプメッセージ2
 *
 * @param coinNumUnit
 * @text コインの単位
 * @type text
 * @default 枚
 * @desc コイン枚数の単位を設定
 *
 * @param winMsg
 * @text 勝利メッセージ
 * @type text
 * @default おめでとうございます!%1です!n%2%3のコインが当たりました!
 * @desc 勝利時のメッセージの設定
 *       ”%1”は役名、”%2”は獲得枚数、”%3”はコインの単位に置換されます
 *
 * @param doubleUpMsg
 * @text ダブルアップメッセージ
 * @type text
 * @default ダブルアップチャンスに挑戦しますか?n成功すると獲得枚数は%1%2になります。
 * @desc ダブルアップ確認メッセージの設定
 *       ”%1”は成功時の獲得枚数、”%2”はコインの単位に置換されます
 *
 * @param doubleUpSelectMsg
 * @text ダブルアップ選択メッセージ
 * @type text
 * @default このカードよりも大きいか小さいか選択してください。
 * @desc ダブルアップ選択メッセージの設定
 *
 * @param winDoubleUpMsg
 * @text ダブルアップ勝利メッセージ
 * @type text
 * @default おめでとうございます!n%1%2のコインが当たりました!
 * @desc 勝利時のメッセージの設定
 *       ”%1”は獲得枚数、”%2”はコインの単位に置換されます
 *
 * @param acquiredMsg
 * @text 獲得メッセージ
 * @type text
 * @default %1%2のコインを獲得しました。
 * @desc 獲得メッセージの設定
 *       ”%1”は獲得枚数、”%2”はコインの単位に置換されます
 *
 * @param lostMsg
 * @text 敗北メッセージ
 * @type text
 * @default 残念でした。
 * @desc 負けた時のメッセージ
 *
 * @param drawMsg
 * @text ドローメッセージ
 * @type text
 * @default ドローです。もう一度行います。
 * @desc ドロー時のメッセージ
 *
 * @param replayMsg
 * @text リプレイメッセージ
 * @type text
 * @default もう一度やりますか?
 * @desc リプレイ時の確認メッセージ
 *
 * @param notEnoughMsg
 * @text コイン不足メッセージ
 * @default コインが足りません。
 * @desc コインが足りない時のメッセージ
 *
 *
 * @command open
 * @text ポーカー開始
 * @desc ポーカーを開きます。
 *
 */

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

Copyright© #ツクプラMZ , 2026 All Rights Reserved.