Home
For Builders
Adding a Dice Bag Item
Adding a Dice Bag Item
Intended Audience: 
By Rob Bartel
Whether it's relaxing over a friendly game of dice in a local tavern or
rolling custom skill checks in your DM's campaign, a handy dice bag can be a
roleplayer's best friend.
These dice bags, hand-stiched by trained monkeys
in the far-off jungles of Chult, contain 10 of each of the classic dice
varieties: d4, d6, d8, d10, d12, d20, and d100. In addition, they provide a
secure, uncheatable system that allows you to broadcast your rolls
privately, locally, or even across the entire server. To order, dial the
number on your screen now!
Description
This Dice Bag is designed for use
by both DMs and players.
To activate it,
either place it in one of your quickslots
or use the right-click menu when it's in
your inventory. Activating it will launch
a conversation allowing you to choose
broadcast options, die type, and the
number of dice you want to roll.
|
|
The
results will appear in the chat window:
Adding the Dice Bag to a Module
|
1. Download the Dice Bag files (.zip, 39 KB), and save it to a location where you can find it.
2. Unzip the 3 *.erf files to a
temporary location (using a tool like WinZip).
3. Under your module's File menu,
select "Import" and browse to the
location of your unzipped *.erfs. Select one of the dicebag erfs to import, click 'Open'. You can read the comments if you wish, and then click 'OK'. Repeat
the process until all three files have
been imported.
4. Place as many of the Dice Bag
items in your module as you wish. The
blueprint is filed under 'Items \Custom\
Miscellaneous \Other'. Simply select 'Dice Bag' and click the spot in your module where you wish to add the item.
|
|
|
5. Place the 'dicebag_activate' script
on your module's OnActivateItem event.
You can find this event under 'Edit \Module
Properties \Events \OnActivateItem'.
6. Do not place the Dicebag
placeable. It just needs to be available
as a blueprint in your resource tree.
Limitations
This Dice Bag is module dependent.
It will only work in modules that have
the DiceBag_Activate script in their
OnActivateItem event and the Dice Bag
placeable available as a custom blueprint.
|
|