Cube: Difference between revisions

From PZwiki
(added model to infobox)
m (Automated Formatting)
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Bricktoys}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{header|The Game World|Items|version=Version 40|incver=43}}{{Infobox normal
{{Page version|41.78.16}}
| display_name = Cube
{{Infobox item
| name_colour =
|name=Cube
| name_text_colour =
|model=CubePuzzle_Model.png
| image = CubePuzzle_Model.png
|model_width=200px
| image_width = 300px
|icon=Cube.png
| alternate_image = Cube.png
|icon_name=Cube
| alternate_name = Cube
|category=Junk
| alternate_link =  
|weight=0.2
| weight = 0.1
|function=''None''
| function = ''None''
|item_id=Base.Cube
| class_name = Base.Cube
}}
}}A '''cube''' is currently a useless {{T|item}}, and often considered as ''junk''.
A '''cube''' is currently a useless {{ll|item}}, and often considered as ''junk''.


==Usage==
==Usage==
A cube has no use, being added purely for the purpose of clutter, creating more realism for the {{T|player}} when looting. In the future, they might be usable to entertain the player.
A cube has no use, being added purely for the purpose of clutter, creating more realism for the {{ll|player}} when looting. In the future, they might be usable to entertain the player.


==Distribution==
==Distribution==
Usually found in houses, children play areas and rooms, in book shelves and drawers of desks. They can also be found in the glove box of [[vehicles]].
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="2"|bedroom
|[[wardrobe]]
|4
|2
|-
|[[wardrobe]]
|4
|2
|-
|classroom
|[[desk]]
|4
|4
|-
|rowspan="3"|closet
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|[[crate]]
|4
|1
|-
|garagestorage
|[[crate]]
|4
|1
|-
|rowspan="2"|generalstore
|[[shelves]]
|4
|1
|-
|[[shelves]]
|4
|2
|}


==Trivia==
==Trivia==
The cube seen in game is loosely based on the real life Rubik's Cube.
The cube seen in game is based on the real life [[Wikipedia:Rubik's Cube|Rubik's Cube]].


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre> item Cube
  | lang = java
Weight = 0.2,
  | line = true
Type = Normal,
  | start = 1788
DisplayName = Cube,
  | source = newitems.txt
Icon = Cube,
  | retrieved = true
</pre>
  | version = 41.78.16
  | code =
item Cube
{
    DisplayCategory = Junk,
Weight = 0.2,
Type = Normal,
DisplayName = Cube,
Icon = Cube,
StaticModel = CubePuzzle,
WorldStaticModel = Cube_Ground,
}
}}
}}


==Also See==
==See also==
* [[Bricktoys]]
*[[Bricktoys]]
* [[Dice]]
*[[Dice]]
{{Navbox items|junk}}

Revision as of 07:54, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Cube
CubePuzzle Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
None
Technical
Item ID
Base.Cube

A cube is currently a useless item, and often considered as junk.

Usage

A cube has no use, being added purely for the purpose of clutter, creating more realism for the player when looting. In the future, they might be usable to entertain the player.

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
bedroom wardrobe 4 2
wardrobe 4 2
classroom desk 4 4
closet crate 4 1
crate 4 1
crate 4 1
garagestorage crate 4 1
generalstore shelves 4 1
shelves 4 2

Trivia

The cube seen in game is based on the real life Rubik's Cube.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Cube
	{
	    DisplayCategory = Junk,
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Cube,
		Icon	=	Cube,
		StaticModel = CubePuzzle,
		WorldStaticModel = Cube_Ground,
	}

See also