PDA

View Full Version : CoreRPG - Dice Jail and the Dice Jail - Smelter Upgrade Extension



AlaskanFalcon
January 21st, 2022, 17:38
Introducing Dice Jail and Dice Jail - Smelter Upgrade for CoreRPG Rulesets!

The premise for the Dice Jail extension is simple, players get frustrated when the dice on a "cold streak" and feeling like they are constantly rolling low, and they need a way to vent their frustration. While Dice Jail can't actually change the underlying RNG Seed for the dice roller in Fantasy Grounds, we can move forward in the chain by rolling a bunch of dice. That's where Dice Jail comes in, it rolls 60 dice and can optionally change the dice color for a player to help them feel like something has changed with their dice. How many times have you played physically and just swapped to a new set of dice? This aims to replicate that experience for those who have "rituals" about dice.

Dice Jail adds an icon to the FG desktop next to the Dice Tower and players can simply click on it to activate the Dice Jailer (or Smelter) and have options to "chuck" their dice and "get new ones".
The Smelter Upgrade is a simple extension that can be used in addition to the Dice Jail that simply changes the icons and some text strings to be a furnace rather than a dice in jail.

Available now for free on the Fantasy Grounds Forge!

Dice Jail
https://forge.fantasygrounds.com/shop/items/471/view

Dice Jail - Smelter Upgrade
https://forge.fantasygrounds.com/shop/items/472/view


Future plans include adding some fun random messages to the chat output and changing up the Dice Jail icon.

Screenshots:
https://www.fantasygrounds.com/forums/attachment.php?attachmentid=51101
https://www.fantasygrounds.com/forums/attachment.php?attachmentid=51097
https://www.fantasygrounds.com/forums/attachment.php?attachmentid=51098
https://www.fantasygrounds.com/forums/attachment.php?attachmentid=51099
https://www.fantasygrounds.com/forums/attachment.php?attachmentid=51100

anathemort
January 21st, 2022, 17:57
This is hilarious and fantastic, thanks so much!

AlaskanFalcon
January 24th, 2022, 20:10
I'll be posting an updated version of both of these extensions in the Forge soon that will handle the following:
- Support for moving the Desktop Panel while unlocked
- Fixing a text issue with the Smelter Upgrade's chat output erroneously mentioning "jail"
- Better support for themes/font color (specifically 5e)

After these fixes go out, I'll look at adding random chat output messages for some variety in your games and to help take focus away from the dice rolls that likely killed them. If you have suggestions for pithy one-liners, memes, or other fun "chucked the dice" messages, I'd love to hear them!

If you find other issues, please let me know so I can address them!

Edit: The build has been published to the FG Forge!

nephranka
January 24th, 2022, 21:02
I'll be posting an updated version of both of these extensions in the Forge soon that will handle the following:
- Support for moving the Desktop Panel while unlocked
- Fixing a text issue with the Smelter Upgrade's chat output erroneously mentioning "jail"
- Better support for themes/font color (specifically 5e)

After these fixes go out, I'll look at adding random chat output messages for some variety in your games and to help take focus away from the dice rolls that likely killed them. If you have suggestions for pithy one-liners, memes, or other fun "chucked the dice" messages, I'd love to here them!

If you find other issues, please let me know so I can address them!

Very cool. Thanks!

Stv
January 24th, 2022, 21:05
Nice :) I'll be sure to throw this one in my Gm's direction.

toastsniffer187
January 30th, 2022, 17:11
Now smelting dice into hockey pucks! Loading Please Wait!

toastsniffer187
January 30th, 2022, 17:12
Smelting one die at a time. Who knew recycling could feel so good?

Valyar
January 30th, 2022, 18:47
That's hilarious :)

nephranka
March 17th, 2022, 00:47
I found that when the manual dice option is on this throws an error. It may be something that can be fixed or maybe it should not work with that option. I was testing Insta-dice and ran into the error thinking it was that ext. Insta-dice coded around the jail but the manual option is still an issue.
https://www.fantasygrounds.com/forums/showthread.php?69902-Insta-Dice-Extension-Support/page3

rigerco
January 18th, 2023, 21:29
So I loaded this extension and passed it on to all my players last night. Each of the players used it right off the bat - I didn't.
We are playing Savage Worlds - Pathfinder.
What we noticed is that for the players, when the Wild Die exploded it nearly ALWAYS rolled a 1. Like 90% of the time. We have not seen this type of behavior before.
Whereas I did not have any statistical anomalies at all with my exploding dice - but then I didn't have any wild dice to roll for my extras.

Not saying its the extension, but it was weird enough to where the players were openly laughing about getting a 1 every time by the end of the night.

charmov
February 28th, 2023, 03:27
Hi there! Your extension is great but it seems to have stopped changing the dice color for me, they remain black. It stopped working around the time they added fancy dice, if that helps.

Thanks for this extension!

Lou Ciphor
May 7th, 2023, 19:41
My players love this, and it's become a joke at the table.
Statistically, I've seen no change in overall averages.
I have a couple questions, and a bug to report.

1. What is the mathematical low and high possible? I've seen results in the 100's, and as high as 670 (by one of my players this last weekend). I had come up with a 600 max at one point, but I might have added the dice up incorrectly.
2. Is there anything happening programmatically that is supposed to actually change the dice (such as changing the random seed or something along those lines)? If so, where is this saved?

I'd like to do some automated experiments with this just for S&G, if it actually makes changes to the game.

As for the bug:
OPTIONS | REQUESTED ROLLS | VIEW: SUPPRESS DICE ANIMATIONS = ON
Script execution error: [string "Requested Rolls:..ipts/rr_manager_action_lua"]:189: bad argument #1 to 'ipairs' (table expected, got string)

(Also posting that to the Requested Rolls thread, but I suspect this is a RETURN oversight, as it only seems to happen with this extension, as far as I've been able to find so far.)

badbrownbeaver
August 3rd, 2023, 17:46
Hi there,
it seems like, as if it's not working anymore. I just downloaded it from the forge and the dice won't change color.
:dead:

nephranka
October 31st, 2023, 15:06
Hello! I am getting the error:
[10/31/2023 10:04:39 AM] [ERROR] Script execution error: [string "CoreRPG:scripts/manager_dice.lua"]:306: bad argument #1 to 'ipairs' (table expected, got string)

When the manual entry for dice is set to on in the options.

rigerco
January 12th, 2024, 17:42
The buttons for this need to be updated, as they are now unreadable.
Per Moon Wizard, this is what needs to be done:


The button_text template requires that the onInit be preserved; so any extension with that issue will need to make sure that any onInit overrides check and call super.onInit.
This allows the coloration to be set correctly to match the theme.

This still needs fixing!