Yoyo: Difference between revisions

From PZwiki
(Updated to version 40.43)
Tag: categories removed
m (Automated Formatting)
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{languages|Yoyo}}
{{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 = Yoyo
{{Infobox item
| name_colour =  
|name=Yoyo
| name_text_colour =
|model=Yoyo_Model.png
| image = Yoyo.png
|icon=Yoyo.png
| image_width = 120px
|category=Junk
| weight = 0.2
|weight=0.2
| function = ''None''
|function=''None''
| class_name = Base.Yoyo}}A '''yoyo''' is currently a useless {{T|item}}, and often considered as ''junk''.
|item_id=Base.Yoyo
}}
A '''yoyo''' is currently a useless item, and often considered as ''junk''.


==Usage==
==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 {{T|player}} when looting.  
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==
==Distribution==
A yoyo can be found in [[Containers#Bedroom Storage|bedroom cupboards]], [[Containers#Desks|desks]], [[Containers#Lockers|school lockers]], gloveboxes of [[vehicles]] and very rarely as loot on [[zombie]] [[corpse]]s.  
The loot distributions can be found in the table(s) below.


== Code ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
! colspan="4" | Containers
{{Retrieved|version=40|incver=43}}
|-
<pre> item Yoyo
! Building/Room
Weight = 0.1,
! Container
Type = Normal,
! style="width: 3.2em;" | Rolls
DisplayName = Yoyo,
! style="width: 3.2em;" | Chance
Icon = Yoyo,
|-
</pre>
|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==
{{CodeBox
| {{CodeSnip
  | 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,
DisplayName = Yoyo,
Icon = Yoyo,
WorldStaticModel = Yoyo,
}
}}
}}


==See also==
==See also==
* [[Cube]]
*[[Cube]]
* [[Toy Car]]
*[[Toy Car]]
{{Navbox items|junk}}

Revision as of 13:32, 14 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]
Yoyo
Yoyo Model.png
General
Category
Junk
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Function
None
Technical
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.

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 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 Yoyo
	{
	    DisplayCategory = Junk,
		Weight	=	0.2,
		Type	=	Normal,
		DisplayName	=	Yoyo,
		Icon	=	Yoyo,
		WorldStaticModel = Yoyo,
	}

See also