Tabletop Simulator

Tabletop Simulator

Not enough ratings
Zung Jung Mahjong
   
Award
Favorite
Favorited
Unfavorite
Type: Game
Complexity: Medium Complexity
Number of Players: 4
Language: English
File Size
Posted
Updated
227.725 KB
22 Jan, 2023 @ 9:35am
2 Apr @ 9:13am
4 Change Notes ( view )

Subscribe to download
Zung Jung Mahjong

Description
中文:https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2924098376
日本語(coin2028):https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3005183596

Update 2025-04-02:
-Tiles are now drawn from the wall face-down to prevent lag from showing drawn tiles.

Update 2023-08-13:
-Fixed issue where the script fails to score Thirteen Terminals and Seven Pairs when they stack with First Tile or Last Tile.

Update 2023-01-31:
-Last discard highlight changes color after 2 seconds. This delay can be set by the host with chat command !time [time in seconds].
-The host can use command !fix to respawn all tiles, in case the script breaks even after Collect Tiles.

Script mod for playing Zung Jung Mahjong v3.3 - http://www.zj-mahjong.info. Scripted features include:

-Deal starting hands
-Display number of tiles in each hand and left in the wall
-Sort hand
-Arrange discards
-Arrange exposures
-Highlight latest discard
-Scoring


Notes on usage:

-Right-click the table and press Draw Tile to draw a tile. You can right-click any tile from the wall to set it as the "start" of the wall for this feature. Of course, you can draw manually too.

-If the auto deal script fails to deal, Collect Tiles and try again.

-Concealed kongs should be placed in the exposure area (the shaded area between your hand and your wall), with at least one tile face-down.

-"Sort Calls" automatically tries to identify and separate exposed sets. On occasion, the grouping may be ambiguous (e.g. 2222345555 could be 2222, 345, 555 or 222, 234, 5555). In such cases, physically separate the correct groupings before pressing Sort Calls.

-To score a hand, place the winning tile in the shaded box in front of the Win button, leave all other concealed tiles in hand, choose any winning options that apply (Last Tile, Self Draw, etc), then press Win. Then, press the Pay Hand button of the player who discarded (or drew, in case of self-draw) the winning tile to track scores.

-After each hand is over, please have players put all tiles on the table, then press Collect Tiles, Rotate Winds, and Deal, in that order, to begin a new hand.
8 Comments
kood99 27 Apr, 2024 @ 11:12pm 
This finally gave me a chance to try this one. I'll definitely have to keep this one around to teach people with! Way less daunting than variants like riichi.
coin2028 17 Jul, 2023 @ 4:27am 
Buckwheat  [author] 16 Jun, 2023 @ 8:29pm 
The mod is already open source. All code is included in the workshop download. The only closed-source part of the mod is the source files for the physical mahjong tiles.

You have my permission to do modify and distribute this mod as you wish. I would appreciate receiving credit, but I don't require it.

Take care when modding that the script identifies tiles by the name of the tile's first rotation value.
coin2028 13 Jun, 2023 @ 8:24am 
One question: are you planning to open source this mod somewhere on GitHub? I could help translating it to Japanese for instance.
coin2028 16 Apr, 2023 @ 9:14am 
Awesome mod. By far the smoothest experience among all mahjong mods.
Miss Take 3 Apr, 2023 @ 2:54pm 
またね
Miss Take 3 Apr, 2023 @ 2:50pm 
Cool, must be good, Mister White made it . I will check it

greetings
ArchBishop 23 Jan, 2023 @ 12:02am 
Great Game that is wonderfully scripted........explanations/hands legend in the notes is useful..

Thank You!!