Yoyo: Difference between revisions
AshtoneGrey (talk | contribs) (added "languages") |
m (Automated Formatting) |
||
(34 intermediate revisions by 7 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=Yoyo | ||
}} | |model=Yoyo_Model.png | ||
|icon=Yoyo.png | |||
|category=Junk | |||
|weight=0.2 | |||
|function=''None'' | |||
|item_id=Base.Yoyo | |||
}} | |||
A '''yoyo''' is currently a useless item, and often considered as ''junk''. | |||
==Usage== | |||
Pink with a yellow star in the center, a yoyo has no use and has been added purely for the purpose of clutter, creating more realism for the player when looting. | |||
{| class="wikitable" | ==Distribution== | ||
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 | |||
|- | |- | ||
| | |bedroom | ||
|[[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 | |||
|} | |} | ||
== Code == | ==Code== | ||
{{CodeBox | |||
{ | | {{CodeSnip | ||
Weight = 0.2, | | lang = java | ||
| line = true | |||
| start = 1943 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Yoyo | |||
{ | |||
DisplayCategory = Junk, | |||
Weight = 0.2, | |||
Type = Normal, | Type = Normal, | ||
DisplayName = Yoyo, | DisplayName = Yoyo, | ||
Icon = Yoyo, | Icon = Yoyo, | ||
} | WorldStaticModel = Yoyo, | ||
[[ | } | ||
}} | |||
}} | |||
==See also== | |||
*[[Cube]] | |||
*[[Toy Car]] | |||
{{Navbox items|junk}} |
Revision as of 13:32, 14 April 2024
A yoyo is currently a useless item, and often considered as junk.
Usage
Pink with a yellow star in the center, a yoyo has no use and has been added purely for the purpose of clutter, creating more realism for the player when looting.
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
bedroom | 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 |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\newitems.txt
item Yoyo
{
DisplayCategory = Junk,
Weight = 0.2,
Type = Normal,
DisplayName = Yoyo,
Icon = Yoyo,
WorldStaticModel = Yoyo,
}