Dice: Difference between revisions

From PZwiki
(Added deletion notice.)
mNo edit summary
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Notice|Future}}
{{languages|Dice}}
{{deletion|This page is a stub, the item in question is not exceptionally notable that it requires it's own page. If no issues are raised this page will be deleted and any useful info will be collapsed into the [[Items]] table. -Connall|speedy=0}}
{{header|The Game World|Items|type=Default|version=Version 40|incver=5}}{{Infobox normal
<!--this section is for the infobox which will be positioned on the right of the page. Image.png is the default question mark image-->
|display_name = Dice
{{Items
|image = Dice_120px.png
|image = Dice.png  
|weight = 0.2
|weight = 0.2
}} <!--/infobox-->
|primary_use = Roll a random number
|class_name = Base.Dice
}}'''Dice''' are a miscellaneous [[items|item]] with very little use.


A pair of dice. Not currently useable (2.9.10)
==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 <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.


<!--
==Distribution==
== Crafting ==
Dice can only be found in a [[vehicles|vehicle's]] [[Glove Box|glove box]].
 
ITEM NAME can be used in the following recipes:
 
{| class="wikitable" width="550" style="text-align:center;"
|-
! Ingredients || Other Items || Output || Description
|-
| Ingredient + [[Ingredient]] || None || [[What the recipe makes]] || Brief description of what it makes.
|}
-->


== Code ==
== Code ==
<nowiki>item Dice
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{
{{Retrieved|version=40|incver=5}}
Weight = 0.2,
<pre> item Dice
Type = Normal,
Weight = 0.2,
DisplayName = Dice,
Type = Normal,
Icon = Dice,
DisplayName = Dice,
}</nowiki>
Icon = Dice,</pre>


[[Category:items]]
==See also==
*[[Playing Cards]]

Revision as of 12:13, 8 August 2018

Dice
Dice
General
Category Item
Encumbrance
Heavy Load
0.2
Function Roll a random number
Technical details
Base ID Base.Dice

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

Dice can only be found in a vehicle's glove box.

Code

From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.5

	item Dice
		Weight		= 0.2,
		Type		= Normal,
		DisplayName	= Dice,
		Icon		= Dice,

See also