Dice: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Category Project: Junk) |
(Automated update of distribution header) |
||
Line 18: | Line 18: | ||
The only use of the dice is in using [[multiplayer]] commands. If the player has a dice in their inventory, they can use the command <code>/roll #</code>, where <code>#</code> is a number up to 100. This can be used as a random number generator by hardcore role-players to, for example, decide who will perform a particular task. Otherwise it can be used in conjunction with a [[pencil]] and [[notepad]] to play games such as [[wikipedia:Yahtzee|Yahtzee]], although it should be noted that this will ''not'' award the player with any [[Moodles|mood]] benefits. | The only use of the dice is in using [[multiplayer]] commands. If the player has a dice in their inventory, they can use the command <code>/roll #</code>, where <code>#</code> is a number up to 100. This can be used as a random number generator by hardcore role-players to, for example, decide who will perform a particular task. Otherwise it can be used in conjunction with a [[pencil]] and [[notepad]] to play games such as [[wikipedia:Yahtzee|Yahtzee]], although it should be noted that this will ''not'' award the player with any [[Moodles|mood]] benefits. | ||
{{clear}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
!Building/Room | |||
!Container | |||
! style="width: 3.2em;" |Rolls | |||
! style="width: 3.2em;" |Chance | |||
|- | |||
| rowspan="3"|closet | |||
| [[crate]] | |||
| 4 | |||
| 8 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|8 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|8 | |||
|- | |||
| rowspan="1"|generalstore | |||
| [[shelves]] | |||
| 4 | |||
| 8 | |||
|} | |||
==Code== | ==Code== |
Revision as of 10:28, 11 February 2024
Dice are a miscellaneous item with very little use.
Usage
The only use of the dice is in using multiplayer commands. If the player has a dice in their inventory, they can use the command /roll #
, where #
is a number up to 100. This can be used as a random number generator by hardcore role-players to, for example, decide who will perform a particular task. Otherwise it can be used in conjunction with a pencil and notepad to play games such as Yahtzee, although it should be noted that this will not award the player with any mood benefits.
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
closet | crate | 4 | 8 |
crate | 4 | 8 | |
crate | 4 | 8 | |
generalstore | shelves | 4 | 8 |
Code
Source: ProjectZomboid\media\scripts\newitems.txt
item Dice
{
DisplayCategory = Junk,
Weight = 0.2,
Type = Normal,
DisplayName = Dice,
Icon = Dice,
WorldStaticModel = Dice,
}