Cube: Difference between revisions

From PZwiki
(Updated to version 40.43)
(Update distribution file)
 
(31 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 = Item_Cube.png
|model_width=200px
| image_width = 120px
|icon=Cube.png
| weight = 0.1
|icon_name=Cube
| function = ''None''
|category=Junk
| class_name = Base.Cube
|weight=0.2
}}A '''cube''' is currently a useless {{T|item}}, and often considered as ''junk''.
|function=''None''
|item_id=Base.Cube
}}
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.
 
<!--BOT FLAG|Cube|41.78.16-->
{{Clear}}
<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">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | bedroom
    | {{ll|crate}}
    | 1.01%
    |-
    | bedroom
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | classroom
    | {{ll|desk}}
    | 10.78%
    |-
    | closet
    | {{ll|crate}}
    | 1.01%
    |-
    | closet
    | {{ll|crate}}
    | 23.28%
    |-
    | daycare
    | {{ll|wardrobe}}
    | 6.29%
    |-
    | garagestorage
    | {{ll|crate}}
    | 1.01%
    |-
    | garagestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | generalstorestorage
    | {{ll|shelves}}
    | 41.14%
    |-
    | giftstorage
    | {{ll|crate}}
    | 23.28%
    |-
    | giftstorage
    | {{ll|crate}}
    | 41.14%
    |-
    | giftstore
    | {{ll|counter}}
    | 23.28%
    |-
    | giftstore
    | {{ll|counter}}
    | 41.14%
    |-
    | giftstore
    | {{ll|shelves}}
    | 23.28%
    |-
    | giftstore
    | {{ll|shelves}}
    | 41.14%
    |-
    | gigamart
    | {{ll|shelves}}
    | 23.28%
    |-
    | gigamart
    | {{ll|shelves}}
    | 41.14%
    |-
    | livingroom
    | {{ll|wardrobe}}
    | 23.28%
    |-
    | storageunit
    | {{ll|crate}}
    | 1.01%
    |-
    | storageunit
    | {{ll|crate}}
    | 23.28%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 1.01%
    |-
    | storageunit
    | {{ll|metal_shelves}}
    | 23.28%
    |-
    | toystore
    | {{ll|counter}}
    | 23.28%
    |-
    | toystore
    | {{ll|counter}}
    | 41.14%
    |-
    | toystore
    | {{ll|shelves}}
    | 23.28%
    |-
    | toystore
    | {{ll|shelves}}
    | 41.14%
    |-
    | toystorestorage
    | {{ll|crate}}
    | 23.28%
    |-
    | toystorestorage
    | {{ll|crate}}
    | 41.14%
    |-
    | toystorestorage
    | {{ll|shelves}}
    | 23.28%
    |-
    | toystorestorage
    | {{ll|shelves}}
    | 41.14%
    |}
</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==
==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,
}
}}
}}
 
==See also==
*[[Bricktoys]]
*[[Dice]]


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

Latest revision as of 12:31, 30 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
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
bedroom crate 1.01%
bedroom wardrobe 6.29%
classroom desk 10.78%
closet crate 1.01%
closet crate 23.28%
daycare wardrobe 6.29%
garagestorage crate 1.01%
garagestorage crate 23.28%
generalstore shelves 23.28%
generalstore shelves 41.14%
generalstorestorage shelves 23.28%
generalstorestorage shelves 41.14%
giftstorage crate 23.28%
giftstorage crate 41.14%
giftstore counter 23.28%
giftstore counter 41.14%
giftstore shelves 23.28%
giftstore shelves 41.14%
gigamart shelves 23.28%
gigamart shelves 41.14%
livingroom wardrobe 23.28%
storageunit crate 1.01%
storageunit crate 23.28%
storageunit metal_shelves 1.01%
storageunit metal_shelves 23.28%
toystore counter 23.28%
toystore counter 41.14%
toystore shelves 23.28%
toystore shelves 41.14%
toystorestorage crate 23.28%
toystorestorage crate 41.14%
toystorestorage shelves 23.28%
toystorestorage shelves 41.14%

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