An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Taproom MZ adds four tavern board games drawn at run time - TaproomCore.js, TaproomDraw.js, Taproom.js

Plugin desc : Taproom MZ is a plugin that lets players play Nine Men's Morris, Fox and Geese, Oware, and Fanorona against NPCs for gold. Everything on screen is drawn at run time with no image files loaded. The plugin and its art are AI authored. https://csaf.itch.io/taproom csassetfactory

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Prohibited (This does not apply to works made using the material.)
・Details: See Download Page / In-plugin documentation

Author : Core Systems Asset Factory

Website : https://csaf.itch.io/taproom

Desc page : https://csaf.itch.io/taproom

Download Page : https://csaf.itch.io/taproom

File name : TaproomCore.js, TaproomDraw.js, Taproom.js

Help of plugin :

Taproom: four tavern board games played against NPCs for gold, for RPG Maker MZ

============================================================================
Taproom
============================================================================

Four old tavern board games your player can sit down and play against the
people of your world, for gold:

  Nine Men's Morris   rows of three take men; fly when you are down to three
  Fox and Geese       one fox against thirteen geese; pick your side
  Oware               sow seeds round twelve pits, take twos and threes
  Fanorona            take whole lines by approach or withdrawal

EVERY BOARD IS DRAWN. Slate, marble, a board knifed into the tabletop,
black lacquer with gilt lines, a linen mat, tooled leather, walnut with
brass, carved soapstone; borders worked at a steady pitch and the wear of
use. The men are drawn too: river stones, bone and horn, glass, silver and
copper coins, fired clay, boxwood and ebony. Which board and men an
opponent sets out is chosen from their name, so the old man in the corner
always plays on the same scratched slate. You can name a board and a set
instead.

THE OPPONENT THINKS. Five strengths: Novice, Regular, Sharp, Hustler,
Master. It searches ahead a little at a time across frames, so the game
never stalls, and the same position with the same seed gets the same move.

----------------------------------------------------------------------------
INSTALLING
----------------------------------------------------------------------------
Plugin Manager order, top to bottom:

    TaproomCore.js     (the rules and the opponent)
    TaproomDraw.js     (the drawing)
    Taproom.js         (this file: parameters, the command, the scene)

----------------------------------------------------------------------------
USING IT
----------------------------------------------------------------------------
Add the plugin command "Play a Game" to an event: choose the game, the
opponent's name and strength, which side the player takes, the stake, and
the variables and switch to set. The event waits while they play.

  Result variable   1 = won, 0 = lost (or conceded), 2 = drawn
  Margin variable   by how much, in the game's own count: men ahead
                    (Morris, Fanorona), seeds ahead (Oware), geese taken
                    (as the fox) or geese left (as the geese). Negative
                    when the player lost.
  Win switch        on only for a win
  Stake             won or lost in gold. If the party has less, the stake
                    is what they have. A draw returns it.

Script calls:
  Taproom.record("Old Brannoc", "morris")  -> {w, l, d} against them
  Taproom.lastResult                        -> the last game's result

----------------------------------------------------------------------------
CONTROLS
----------------------------------------------------------------------------
Mouse and touch: click a man, then where it goes. Rings show every point
you may click next; a red cross marks a man you may take.
Keyboard and gamepad: the arrows move between the ringed points, OK
chooses, Cancel puts a picked-up man back. Shift shows the rules of the
game. W (page down) stops a chain of captures early. The Concede plaque
gives the game up (click it twice).

----------------------------------------------------------------------------
COMPATIBILITY
----------------------------------------------------------------------------
Taproom adds its own scene and replaces nothing. It extends one engine
method (Game_System.initialize) to create its save record, calling the
original first.

============================================================================
TERMS OF USE
============================================================================
Commercial and non-commercial use permitted in RPG Maker projects, credit
appreciated but not required. Do not redistribute the source as an asset
pack. Every line of this plugin was written with AI assistance.

============================================================================

Parameters (Plugin Manager, Taproom.js):
  Sound: a man set down  (file, default Knock)
  Sound: a man taken  (file, default Coin)
  Sound: a seed sown  (file, default Cursor2)
  Sound: a man picked up  (file, default Cursor1)
  Sound: not allowed  (file, default Buzzer1)
  Sound: the player wins  (file, default Applause1)
  Sound: the player loses  (file, default Cancel1)
  Opponent search per frame (ms)  (number, default 1.0)
      How much of each frame the opponent may spend searching. Its move is the same whatever this is.

Plugin commands:
  Play a Game
      Sit the player down at a board. The event waits until the game ends.
      argument: Game (select, default morris), options: morris, foxgeese, oware, fanorona
      argument: Opponent's name (string, default blank)
          Shown on the card, and it chooses their board and men. Blank = "The Stranger".
      argument: Opponent's strength (select, default 3), options: 1: Novice, 2: Regular, 3: Sharp, 4: Hustler, 5: Master
      argument: The player's side (select, default first), options: first, second, random, fox, geese
          first / second / random. In Fox and Geese: fox or geese (the geese move first).
      argument: Stake (gold) (number, default 0)
      argument: Variable: result (1 won, 0 lost, 2 drawn) (variable, default 0)
      argument: Variable: margin (variable, default 0)
      argument: Switch: on for a win (switch, default 0)
      argument: Board (blank = the opponent's own) (select, default blank), options: slate, marble, knifed, lacquer, linen, leather, walnut, soapstone
      argument: Men (blank = the opponent's own) (select, default blank), options: stones, bone, glass, coins, clay, boxwood
      argument: Seed (optional) (string, default blank)
          Blank = keyed to this map, event and how many games have been played there.

Taproom MZ is a plugin that lets players play Nine Men's Morris, Fox and Geese, Oware, and Fanorona against NPCs for gold. Everything on screen is drawn at run time with no image files loaded.

The plugin and its art are AI authored.

https://csaf.itch.io/taproom

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.