Cube: Difference between revisions
m (Minor error fixed) |
(Update distribution file) |
||
(32 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Miscellaneous items|Junk}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{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''. | |||
== | ==Usage== | ||
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== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--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"> | |||
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== | |||
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 12:31, 30 April 2024
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.
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
Source: ProjectZomboid\media\scripts\newitems.txt
item Cube
{
DisplayCategory = Junk,
Weight = 0.2,
Type = Normal,
DisplayName = Cube,
Icon = Cube,
StaticModel = CubePuzzle,
WorldStaticModel = Cube_Ground,
}