Yoyo: Difference between revisions

From PZwiki
m (Minor)
(→‎Code: code box update)
Line 19: Line 19:


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


==See also==
==See also==
*[[Cube]]
*[[Cube]]
*[[Toy Car]]
*[[Toy Car]]

Revision as of 09:05, 8 January 2024

Yoyo
[[File:||200px|class=pixelart]]
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

A yoyo can be found in bedroom cupboards, desks, school lockers, glove boxes of vehicles and very rarely as loot on zombie corpses.

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