Cube: Difference between revisions

From PZwiki
m (→‎top: Replace "Infobox_normal" with "Infobox_item")
(→‎Code: code box update)
Line 23: Line 23:


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


==See also==
==See also==
*[[Bricktoys]]
*[[Bricktoys]]
*[[Dice]]
*[[Dice]]

Revision as of 08:36, 8 January 2024

Cube
CubePuzzle Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.1
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

Usually found in houses, children play areas and rooms, in bookshelves and drawers of desks. They can also be found in the glove box of vehicles.

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 40.43
item Cube
{
    Weight = 0.2,
    Type = Normal,
    DisplayName = Cube,
    Icon = Cube,
}

See also