Cube: Difference between revisions

From PZwiki
m (Minor error fixed)
m (Insert empty line above each {{Navbox}})
 
(30 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Bricktoys}}
{{Header|Project Zomboid|Items|Miscellaneous items|Junk}}
{{Items
{{Page version|41.78.16}}
|image = Item_Cube.png
{{Infobox item
|weight = 0.2
|name=Cube
}}  
|model=CubePuzzle_Model.png
|model_width=200px
|icon=Cube.png
|icon_name=Cube
|category=Junk
|weight=0.2
|function=''None''
|item_id=Base.Cube
}}
A '''cube''' is currently a useless {{ll|item}}, and often considered as ''junk''.


==Description==
==Usage==
Loosely based on the real life Rubics Cube, Cubes are a seemingly useless item in the game as of the current version. Though in any near future, Cubes may get an entertainment type such as a [[Magazine]].
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.


==Location==
==Distribution==
Usually found in houses, children play areas and rooms in book shelves and drawers of desks.
The loot distributions can be found in the table(s) below.


==Also See==
<!--BOT FLAG|Cube|41.78.16-->
* [[Bricktoys]]
{{clear}}
* [[Dice]]
<div class="togglebox theme-red">
    <div>Cube distribution
        <span class="mw-customtoggle-togglebox-Cube" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Cube">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 4
    | 2.0
    |-
    | classroom
    | {{ll|desk}}
    | 4
    | 4.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | garagestorage
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 20.0
    |-
    | generalstore
    | {{ll|shelves}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Cube" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Cube|41.78.16-->
 
==Trivia==
The cube seen in game is based on the real life [[Wikipedia:Rubik's Cube|Rubik's Cube]].
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1788
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Cube
{
    DisplayCategory = Junk,
Weight = 0.2,
Type = Normal,
DisplayName = Cube,
Icon = Cube,
StaticModel = CubePuzzle,
WorldStaticModel = Cube_Ground,
}
}}
}}
 
==See also==
*[[Bricktoys]]
*[[Dice]]
 
{{Navbox items|junk}}

Latest revision as of 14:50, 25 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.

Cube distribution Show / Hide
Containers
Building / Room Container Rolls Chance
bedroom crate 1 1.0
bedroom wardrobe 4 2.0
classroom desk 4 4.0
closet crate 4 10.0
garagestorage crate 4 10.0
generalstore shelves 4 20.0
generalstore shelves 4 10.0

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